Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 3.1
-
Fix Version/s: None
-
Labels:None
-
Environment:Hide$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Java version: 1.6.0_15
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
Show$ mvn -v Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100) Java version: 1.6.0_15 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
-
Number of attachments :
Description
When running goals if I execute a mvn install it works correctly, however if I execute a mvn compile it fails with the following error.
$ mvn clean compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] cmc - Platform Application
[INFO] cmc - sample NetBeans Module
[INFO] cmc - Platform application branding resources
[INFO] cmc - NetBeans Platform based application
[INFO] ------------------------------------------------------------------------
[INFO] Building cmc - Platform Application
[INFO] task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean
]
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[INFO] Building cmc - sample NetBeans Module
[INFO] task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean
]
[INFO] Deleting directory /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/module1/target
[INFO] [resources:resources
]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [compiler:compile
]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Building cmc - Platform application branding resources
[INFO] task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean
]
[INFO] Deleting directory /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/branding/target
[INFO] [resources:resources
]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [nbm:branding
]
[INFO] Building jar: /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/branding/target/nbm/netbeans/foobar/core/locale/core_foo.jar
[INFO] Building jar: /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/branding/target/nbm/netbeans/foobar/modules/locale/org-netbeans-core-windows_foo.jar
[INFO] Building jar: /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/branding/target/nbm/netbeans/foobar/modules/locale/org-netbeans-core_foo.jar
[INFO] Created branded jars for branding 'foo'.
[INFO] [compiler:compile
]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Building cmc - NetBeans Platform based application
[INFO] task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean
]
[INFO] Deleting directory /Users/damianoneill/Documents/workspace-genesis/maven.1253546914431/trunk/src/genesis/cmc/application/target
[INFO] [nbm:cluster-app
]
[INFO] Processing cluster 'platform10'
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Sep 23 11:12:17 BST 2009
[INFO] Final Memory: 20M/79M
[INFO] ------------------------------------------------------------------------
Attached sample maven project, to reproduce problem