You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2009/06/19 16:18:15 UTC
[jira] Updated: (MASSEMBLY-426) Inconsistant inheritance
[ http://jira.codehaus.org/browse/MASSEMBLY-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MASSEMBLY-426:
---------------------------------
Fix Version/s: 2.2-beta-5
set to review this for the next release.
> Inconsistant inheritance
> ------------------------
>
> Key: MASSEMBLY-426
> URL: http://jira.codehaus.org/browse/MASSEMBLY-426
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-4
> Environment: mvn 2.0.9 jdk1.5
> Reporter: fabrice
> Fix For: 2.2-beta-5
>
>
> Hi
> A concret example is easy to understand :
> My superPom contains :
> <pluginManagement>
> <plugins>
> ...
> <plugin>
> <artifactId>maven-assembly-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>com.almerys.assemblies</groupId>
> <artifactId>
> My-jar-assembly-descriptor
> </artifactId>
> <version>1.0.0.0.3</version>
> </dependency>
> </dependencies>
> <executions>
> <execution>
> <id>make-assembly</id>
> <phase>package</phase>
> <goals>
> <goal>single</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> ....
> </pluginManagement>
> And a child project overwritte the plugin conf to specify the assembly.xml that is placed in My-jar-assembly-descriptor. But In this way I can specify another assembly.xml that the default (in My-jar-assembly-descriptor)
> <plugin>
> <artifactId>maven-assembly-plugin</artifactId>
> <configuration>
> <descriptors>
> <descriptor>
> assembly.xml
> </descriptor>
> </descriptors>
> </configuration>
> </plugin>
> I have the error bellow :
> Reason: Error reading assemblies: Error locating assembly descriptor file: D:\workspace7.5\BatchAGLBPS\assembly.xml
> Ok but if in my child I add for exemple the version (anyone it does not matter) it works ! assembly plugin find the assembly.xml in my-jar-descriptor !
> <version>2.2-beta-2</version> for instance
> I do not understand is a bug ?
> Fabrice
> When I do a help:effective-pom I have my maven that say it uses 2.2-beta-1 in the pluginManagment section and 2.2-beta-2 in the child...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira