You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Vysny (JIRA)" <ji...@codehaus.org> on 2007/12/04 10:25:58 UTC
[jira] Commented: (MASSEMBLY-196) use of repository assembly is no
longer working
[ http://jira.codehaus.org/browse/MASSEMBLY-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115772 ]
Martin Vysny commented on MASSEMBLY-196:
----------------------------------------
Hi guys, when do you plan to resolve this issue? Having this simple config file (taken from the assembly site repository example):
{noformat}
<assembly>
<id>sdk</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<repositories>
<repository>
<includeMetadata>true</includeMetadata>
<outputDirectory>maven2</outputDirectory>
</repository>
</repositories>
</assembly>
{noformat}
only the {{maven2}} directory is created, but it is empty, no dependencies are stored.
> use of repository assembly is no longer working
> -----------------------------------------------
>
> Key: MASSEMBLY-196
> URL: http://jira.codehaus.org/browse/MASSEMBLY-196
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-1
> Reporter: Brett Porter
> Fix For: 2.2-beta-2
>
>
> I have the following that works in 2.1:
> <repositories>
> <repository>
> <outputDirectory>repository/releases</outputDirectory>
> <includeMetadata>true</includeMetadata>
> <groupVersionAlignments>
> <groupVersionAlignment>
> <id>org.apache.maven</id>
> <version>2.0.5</version>
> <excludes>
> <exclude>maven-plugin-surrogate-parent</exclude>
> <exclude>maven-archetype</exclude>
> <exclude>maven-archetype-core</exclude>
> <exclude>maven-archiver</exclude>
> <exclude>maven-parent</exclude>
> <exclude>maven-jxr</exclude>
> <exclude>maven-plugin-tools-java</exclude>
> <exclude>maven-plugin-tools-beanshell</exclude>
> <exclude>maven-plugin-tools-api</exclude>
> <exclude>maven-plugin-tools</exclude>
> </excludes>
> </groupVersionAlignment>
> </groupVersionAlignments>
> </repository>
> </repositories>
> However, in 2.2-beta-1 it results in an empty directory being created in the assembly instead of copying the repository contents.
--
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