Re: maven-wolifecycle-plugin version 2.2.1 vs. 2.0.17
Re: maven-wolifecycle-plugin version 2.2.1 vs. 2.0.17
- Subject: Re: maven-wolifecycle-plugin version 2.2.1 vs. 2.0.17
- From: Lars Sonchocky-Helldorf <email@hidden>
- Date: Mon, 04 Jul 2011 22:34:11 +0200
Hi Henrique,
I did run into this again today, although in another project at another company. This time it's a little worse since 2.0.17 causes trouble too. The fix using version 2.1 is still valid though.
Historically, the project was using version 2.0.17 of the plug in. With this version in place I run into trouble with nonexistent wobuild.properties:
BUILD FAILED
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first.
at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(WOApplication.java:578)
Then again Chuck said here: http://www.mail-archive.com/email@hidden/msg33664.html that wobuild.properties are no longer in use.
So I thought this might be an artifact of the ancient version of this plugin and tried updating to the latest version (2.2.1) of this plugin. Now I run into another problem:
[INFO] [install:install {execution: default-install}]
[INFO] Installing /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication to /Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.woapplication
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact: File /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication does not exist
in fact there is only a JvMScheduler-1.0.1-SNAPSHOT.woa not a JvMScheduler-1.0.1-SNAPSHOT.woapplication in this directory:
lars:JvMAll lars.sonchocky-helldorf$ cd /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target
lars:target lars.sonchocky-helldorf$ ls -al
total 57584
drwxrwxr-x 10 lars.sonchocky-helldorf staff 340 4 Jul 13:48 .
drwxrwxr-x 22 lars.sonchocky-helldorf staff 748 4 Jul 13:48 ..
drwxrwxr-x 5 lars.sonchocky-helldorf staff 170 4 Jul 13:48 JvMScheduler-1.0.1-SNAPSHOT.woa
-rw-rw-r-- 1 lars.sonchocky-helldorf staff 29152747 4 Jul 13:48 JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
-rw-rw-r-- 1 lars.sonchocky-helldorf staff 312714 4 Jul 13:48 JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
drwxrwxr-x 7 lars.sonchocky-helldorf staff 238 4 Jul 13:48 classes
-rw-rw-r-- 1 lars.sonchocky-helldorf staff 121 4 Jul 13:48 classpath.properties
-rw-rw-r-- 1 lars.sonchocky-helldorf staff 1751 4 Jul 13:48 classpath.txt
drwxrwxr-x 18 lars.sonchocky-helldorf staff 612 4 Jul 13:48 lib
-rw-rw-r-- 1 lars.sonchocky-helldorf staff 124 4 Jul 13:48 wobuild.properties
lars:target lars.sonchocky-helldorf$
Attached are the maven outputs for the project in question for both versions of the plug in:
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - jvm.intranet:JvMScheduler:woapplication:1.0.1-SNAPSHOT
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target
[INFO] [wolifecycle:define-woapplication-resources {execution: default-define-woapplication-resources}]
[INFO] Creating output folders
[INFO] Defining WO resources
[INFO] Defining WO properties
[INFO] Defining WO classpath
[INFO] Coping WebServerResources
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/src/main/resources
[INFO] Copying 4 resources to ../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] Copying 32 resources to ../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/classes
[INFO] [wolifecycle:woapplication {execution: default-woapplication}]
initTaskDefs:
test-pom:
[echo] Artifact ID: JvMScheduler
[echo] Artifact Version: 1.0.1-SNAPSHOT
[echo] Artifact Final Name: JvMScheduler-1.0.1-SNAPSHOT
woapplicationproperties:
build-woapplication:
[woapplication] Installing JvMScheduler-1.0.1-SNAPSHOT in target
BUILD FAILED
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first.
at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(WOApplication.java:578)
at org.objectstyle.woproject.ant.AppFormat.buildFrameworkPaths(AppFormat.java:214)
at org.objectstyle.woproject.ant.AppFormat.preparePaths(AppFormat.java:133)
at org.objectstyle.woproject.ant.AppFormat.prepare(AppFormat.java:107)
at org.objectstyle.woproject.ant.AppFormat.<init>(AppFormat.java:98)
at org.objectstyle.woproject.ant.WOApplication.execute(WOApplication.java:177)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:222)
at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Total time: 0 seconds
[tar] Building tar: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar
[gzip] Building: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
[delete] Deleting: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar
[mkdir] Created dir: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/WebServerResources
[tar] Building tar: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar
[gzip] Building: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
[delete] Deleting: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [wolifecycle:package-woapplication {execution: default-package-woapplication}]
[INFO] Starting to package WebObject project...
[INFO] Attaching artifact: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
[INFO] Attaching artifact: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
[INFO] [install:install {execution: default-install}]
[INFO] Installing /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication to /Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.woapplication
[INFO] Installing /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz to /Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
[INFO] Installing /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz to /Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - jvm.intranet:JvMScheduler:woapplication:1.0.1-SNAPSHOT
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target
[INFO] [wolifecycle:define-woapplication-resources {execution: default-define-woapplication-resources}]
[INFO] Creating output folders
[INFO] Defining WO resources
[INFO] Defining WO properties
[INFO] Defining WO classpath
[INFO] Coping WebServerResources
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/src/main/resources
[INFO] Copying 4 resources to ../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] Copying 32 resources to ../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/classes
[INFO] [wolifecycle:woapplication {execution: default-woapplication}]
initTaskDefs:
test-pom:
[echo] Artifact ID: JvMScheduler
[echo] Artifact Version: 1.0.1-SNAPSHOT
[echo] Artifact Final Name: JvMScheduler-1.0.1-SNAPSHOT
woapplicationproperties:
build-woapplication:
[woapplication] Installing JvMScheduler-1.0.1-SNAPSHOT in target
[tar] Building tar: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar
[gzip] Building: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
[delete] Deleting: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar
[mkdir] Created dir: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/WebServerResources
[tar] Building tar: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar
[gzip] Building: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
[delete] Deleting: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [wolifecycle:package-woapplication {execution: default-package-woapplication}]
[INFO] Packaging WebObjects project
[INFO] Attaching artifact: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
[INFO] Attaching artifact: /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
[INFO] [install:install {execution: default-install}]
[INFO] Installing /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication to /Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.woapplication
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact: File /Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication does not exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 1 second
[INFO] Finished at: Mon Jul 04 13:48:21 CEST 2011
[INFO] Final Memory: 27M/81M
[INFO] ------------------------------------------------------------------------
Any chance there will be an fixed version of the maven-wolifecycle-plugin plugin sometime now?
b.t.w. my Maven is (installed using MacPorts):
lars:JvMAll lars.sonchocky-helldorf$ mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_24
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: de_DE, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.8" arch: "x86_64" Family: "mac"
lars:JvMAll lars.sonchocky-helldorf$
I am using still Maven 2.2.1 since 3.0.2 (SnowLeo default) and 3.0.3 (MacPorts) cause a compilation failure where imported classes are not seen somehow.
regards,
Lars
Am 22.01.2011 um 19:32 schrieb Henrique Prange:
> Hi Lars,
>
> The maven-wolifecycle-plugin 2.2.1 is broken. Use the maven-wolifecycle-plugin 2.1 instead.
>
> I still haven't found time to fix the problem. The maven-wolifecycle-plugin 2.2.1 was an attempt to fix some incompatibilities with Maven 3, but I have introduced a new critical bug and it is not useable yet.
>
> Cheers,
>
> Henrique
>
> On 22/01/2011, at 15:24, Lars Sonchocky-Helldorf wrote:
>
>> The maven-wolifecycle-plugin version 2.2.1 seems to be broken in a subtle way. Comparing the output of 'mvn clean install' for both version 2.2.1 and version 2.0.17
>>
>> What can I do about this (other than to stay with 2.0.17)?
>>
>>
>> thanks,
>>
>> Lars
>>
>> version 2.2.1:
>>
>> local-admins-macbook-pro:IntercomIntranet lars$ mvn clean install
>> [INFO] Scanning for projects...
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building intercomIntranet
>> [INFO] task-segment: [clean, install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from assense.repository.snapshot
>> [WARNING] repository metadata for: 'snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT' could not be retrieved from repository: assense.repository.snapshot due to an error: Error transferring file: Connection refused
>> [INFO] Repository 'assense.repository.snapshot' will be blacklisted
>> [INFO] [wolifecycle:define-woapplication-resources {execution: default-define-woapplication-resources}]
>> [INFO] Creating output folders
>> [INFO] Defining WO resources
>> [INFO] Defining WO properties
>> [INFO] Defining WO classpath
>> [INFO] Coping WebServerResources
>> [INFO] [resources:resources {execution: default-resources}]
>> [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/src/main/resources
>> [INFO] Copying 204 resources to ../IntercomIntranet-1.2.53-SNAPSHOT.woa/Contents/Resources
>> [INFO] Copying 67 resources to ../IntercomIntranet-1.2.53-SNAPSHOT.woa/Contents/WebServerResources
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 158 source files to /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/classes
>> [INFO] [wolifecycle:woapplication {execution: default-woapplication}]
>>
>> initTaskDefs:
>>
>> test-pom:
>> [echo] Artifact ID: IntercomIntranet
>> [echo] Artifact Version: 1.2.53-SNAPSHOT
>> [echo] Artifact Final Name: IntercomIntranet-1.2.53-SNAPSHOT
>>
>> woapplicationproperties:
>>
>> build-woapplication:
>> [woapplication] Installing IntercomIntranet-1.2.53-SNAPSHOT in target
>> [copy bootstrap] Copying 1 file to /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woa
>> [tar] Building tar: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar
>> [gzip] Building: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz
>> [delete] Deleting: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar
>> [tar] Building tar: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar
>> [gzip] Building: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz
>> [delete] Deleting: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar
>> [INFO] [resources:testResources {execution: default-testResources}]
>> [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/src/test/resources
>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>> [INFO] No sources to compile
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] No tests to run.
>> [INFO] [wolifecycle:package-woapplication {execution: default-package-woapplication}]
>> [INFO] Packaging WebObjects project
>> [INFO] Attaching artifact: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz
>> [INFO] Attaching artifact: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication to /Users/lars/.m2/repository/intercom/IntercomIntranet/1.2.53-SNAPSHOT/IntercomIntranet-1.2.53-SNAPSHOT.woapplication
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Error installing artifact: File /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication does not exist
>>
>> [INFO] ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 21 seconds
>> [INFO] Finished at: Tue Sep 07 21:43:42 CEST 2010
>> [INFO] Final Memory: 18M/47M
>> [INFO] ------------------------------------------------------------------------
>>
>>
>> version 2.0.17:
>>
>> local-admins-macbook-pro:IntercomIntranet lars$ mvn clean install
>> [INFO] Scanning for projects...
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building intercomIntranet
>> [INFO] task-segment: [clean, install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from pvtool.repository
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from assense.repository.snapshot
>> [WARNING] repository metadata for: 'snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT' could not be retrieved from repository: assense.repository.snapshot due to an error: Error transferring file: Connection refused
>> [INFO] Repository 'assense.repository.snapshot' will be blacklisted
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from codehaus.repository
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots.mirror
>> [INFO] snapshot assense.shared:LuceneWOIntegration:1.5.7-SNAPSHOT: checking for updates from webobjects.mdimension.com/snapshots
>> [INFO] snapshot assense.shared:Frameworks:1.5.7-SNAPSHOT: checking for updates from pvtool.repository
>> [INFO] snapshot assense.shared:Frameworks:1.5.7-SNAPSHOT: checking for updates from codehaus.repository
>> [INFO] snapshot assense.shared:Frameworks:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots
>> [INFO] snapshot assense.shared:Frameworks:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots.mirror
>> [INFO] snapshot assense.shared:Frameworks:1.5.7-SNAPSHOT: checking for updates from webobjects.mdimension.com/snapshots
>> [INFO] snapshot assense.shared:assense-all-parent:1.5.7-SNAPSHOT: checking for updates from pvtool.repository
>> [INFO] snapshot assense.shared:assense-all-parent:1.5.7-SNAPSHOT: checking for updates from codehaus.repository
>> [INFO] snapshot assense.shared:assense-all-parent:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots
>> [INFO] snapshot assense.shared:assense-all-parent:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots.mirror
>> [INFO] snapshot assense.shared:assense-all-parent:1.5.7-SNAPSHOT: checking for updates from webobjects.mdimension.com/snapshots
>> [INFO] snapshot assense.shared:PostgreSQLPlugIn:1.5.7-SNAPSHOT: checking for updates from pvtool.repository
>> [INFO] snapshot assense.shared:PostgreSQLPlugIn:1.5.7-SNAPSHOT: checking for updates from codehaus.repository
>> [INFO] snapshot assense.shared:PostgreSQLPlugIn:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots
>> [INFO] snapshot assense.shared:PostgreSQLPlugIn:1.5.7-SNAPSHOT: checking for updates from wocommunity.snapshots.mirror
>> [INFO] snapshot assense.shared:PostgreSQLPlugIn:1.5.7-SNAPSHOT: checking for updates from webobjects.mdimension.com/snapshots
>> [INFO] [wolifecycle:define-woapplication-resources {execution: default-define-woapplication-resources}]
>> [INFO] Creating output folders
>> [INFO] Defining WO resources
>> [INFO] Defining WO properties
>> [INFO] Defining WO classpath
>> [INFO] Coping WebServerResources
>> [INFO] [resources:resources {execution: default-resources}]
>> [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/src/main/resources
>> [INFO] Copying 204 resources to ../IntercomIntranet-1.2.53-SNAPSHOT.woa/Contents/Resources
>> [INFO] Copying 67 resources to ../IntercomIntranet-1.2.53-SNAPSHOT.woa/Contents/WebServerResources
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 176 source files to /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/classes
>> [INFO] [wolifecycle:woapplication {execution: default-woapplication}]
>>
>> initTaskDefs:
>>
>> test-pom:
>> [echo] Artifact ID: IntercomIntranet
>> [echo] Artifact Version: 1.2.53-SNAPSHOT
>> [echo] Artifact Final Name: IntercomIntranet-1.2.53-SNAPSHOT
>>
>> woapplicationproperties:
>>
>> build-woapplication:
>> [woapplication] Installing IntercomIntranet-1.2.53-SNAPSHOT in target
>> [copy bootstrap] Copying 1 file to /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woa
>> [tar] Building tar: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar
>> [gzip] Building: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz
>> [delete] Deleting: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar
>> [tar] Building tar: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar
>> [gzip] Building: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz
>> [delete] Deleting: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar
>> [INFO] [resources:testResources {execution: default-testResources}]
>> [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/src/test/resources
>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>> [INFO] No sources to compile
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] No tests to run.
>> [INFO] [wolifecycle:package-woapplication {execution: default-package-woapplication}]
>> [INFO] Starting to package WebObject project...
>> [INFO] Attaching artifact: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz
>> [INFO] Attaching artifact: /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication to /Users/lars/.m2/repository/intercom/IntercomIntranet/1.2.53-SNAPSHOT/IntercomIntranet-1.2.53-SNAPSHOT.woapplication
>> [INFO] Installing /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz to /Users/lars/.m2/repository/intercom/IntercomIntranet/1.2.53-SNAPSHOT/IntercomIntranet-1.2.53-SNAPSHOT.woapplication.tar.gz
>> [INFO] Installing /Users/lars/Documents/Assense/workspace/IntercomAll/Applications/IntercomIntranet/target/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz to /Users/lars/.m2/repository/intercom/IntercomIntranet/1.2.53-SNAPSHOT/IntercomIntranet-1.2.53-SNAPSHOT.wowebserverresources.tar.gz
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 44 seconds
>> [INFO] Finished at: Wed Sep 08 16:17:19 CEST 2010
>> [INFO] Final Memory: 14M/36M
>> [INFO] ------------------------------------------------------------------------
>> local-admins-macbook-pro:IntercomIntranet lars$
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden