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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]