Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 2.2-beta-2
-
Fix Version/s: 2.2-beta-3
-
Component/s: None
-
Labels:None
-
Environment:Maven 2.0.9, JDK6, WinXP SP2 AND debian 4.0, Maven 2.0.8, JDK6 AND Maven Embedder m2eclipse 0.9.1
-
Number of attachments :
Description
I have created a bin assembly descriptor containing:
<moduleSets> <moduleSet> <includes> <include>*:jar</include> </includes> <binaries> <includeDependencies>false</includeDependencies> <outputFileNameMapping> fckeditor-${module.artifactId}-${module.version}.${module.extension} </outputFileNameMapping> <unpack>false</unpack> </binaries> </moduleSet> <moduleSet> <includes> <include>*:jar</include> </includes> <binaries> <attachmentClassifier>javadoc</attachmentClassifier> <includeDependencies>false</includeDependencies> <outputFileNameMapping> fckeditor-${module.artifactId}-${module.version}-${module.classifier}.${module.extension} </outputFileNameMapping> <unpack>false</unpack> </binaries> </moduleSet> </moduleSets>
The expected zip distro should look like the expected attachment but sometimes (80 %) the outcome is the broken example.
It seems like it does not resolves the module but the my parent. Browser my source here if you like.
Interesting to say if the bin distro is fine, maven reports (note the parent warning):
[INFO] [assembly:assembly] [INFO] Reading assembly descriptor: src/main/assembly/src.xml [INFO] Reading assembly descriptor: src/main/assembly/bin.xml [INFO] Adding site directory to assembly : D:\workspace_\fckeditor-java\target\s ite [INFO] Processing sources for module project: net.fckeditor:java-demo:war:2.4-SN APSHOT [INFO] Processing sources for module project: net.fckeditor:java-core:jar:2.4-SN APSHOT [INFO] Building zip: D:\workspace_\fckeditor-java\target\fckeditor-java-2.4-SNAP SHOT-src.zip [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredic table results if a version conflict occurs. [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredic table results if a version conflict occurs. [INFO] Processing DependencySet (output=lib) [WARNING] Cannot include project artifact: net.fckeditor:fckeditor-java:pom:2.4- SNAPSHOT; it doesn't have an associated file or directory. [INFO] Building zip: D:\workspace_\fckeditor-java\target\fckeditor-java-2.4-SNAP SHOT-bin.zip [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] FCKeditor.Java Integration ............................ SUCCESS [32.797s] [INFO] FCKeditor.Java Integration Core ....................... SUCCESS [15.203s] [INFO] FCKeditor.Java Integration Demo Webapp ................ SUCCESS [4.609s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 2 seconds [INFO] Finished at: Mon Apr 14 12:14:40 CEST 2008 [INFO] Final Memory: 18M/33M [INFO] ------------------------------------------------------------------------ D:\workspace_\fckeditor-java>
This is the test project structure I tried, but I cannot reproduce the issue. Can you try and/or modify this test project so it will fail, and re-attach it? Otherwise, I'm going to have to close this one as CANNOT REPRODUCE.