yes, please file a Jira issue http://jira.codehaus.org/browse/MASSEMBLY
and if you can attach a patch, don't hesitate :) source repository location is documented in corresponding report Regards, Hervé Le lundi 14 mai 2012 00:02:00 Alexander Tumin a écrit : > Hello, I've found a bug on the page > http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/m > odule-binary-inclusion-simple.html ; at third code snippet (one that goes to > pom.xml if "distribution" module) there is missing <plugins> tag between > <build> and <plugin> tags, which leads to xml validation error. > > Also, whole "multimodule" section of examples might be wrong, because it > says: > > > """ > This example demonstrates how to include the artifact and dependencies > of a module, under the directory modules/<module-name>. > """ > > > and > > > """ > Furthermore, it states that we wish to include the artifact files for > the module with a groupId of org.test and an artifactId of child1, > along with its dependency artifacts. These artifacts should be > contained within the directory structure modules/child1 for this > module, since the outputDirectory expression will be interpolated on a > module-by-module basis. > """ > > > Which is not happening in real life. Instead of "modules/child1" > directory, the "modules/distribution" directory is being created and > this "distribution" directory is used for _all_ modules in project > instead of creating directories with names of corresponding with > ${artifactId} of each module, so resulting content of > target/distribution/distribution-1.0-bin/modules directory with all > child modules included in descriptor would not be > > child1/child1-1.0.jar > child2/child2-1.0.jar > child3/child3-1.0.jar > > as expected, but instead would be flattened to > > distribution/child1-1.0.jar > distribution/child2-1.0.jar > distribution/child3-1.0.jar > > . > > This applies to version 2.3 of both maven-assembly-plugin and > documentation page. > > Should i file this report to some ticket management/bug tracker system here? > > Related StackOverflow question: > http://stackoverflow.com/questions/10571575/maven-assembly-plugin-how-to-ena > ble-module-by-module-basis-of-processing-proje > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
