You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2006/05/15 13:43:04 UTC

RE : [ANN] Maven Assembly Plugin 2.1

Hi,
The following configuration doesn't work anymore whereas it was ok in
the previous version :
  <dependencySets>
    <dependencySet>
      <outputDirectory>lib</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>

What is the new way to do this (including with artifacts) ?
A simple update on this page should be very nice :
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html ?
Thanks in advance,

- Olivier

-----Message d'origine-----
De : Brett Porter [mailto:brett@apache.org] 
Envoyé : dimanche 14 mai 2006 07:24
À : announce@maven.apache.org
Cc : users@maven.apache.org
Objet : [ANN] Maven Assembly Plugin 2.1


The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.1

http://maven.apache.org/plugins/maven-assembly-plugin/

You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.1</version>
</plugin>

Changes:
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12219&styleName
=Text&projectId=11126&Create=Create

* [MASSEMBLY-2] - TAR produces warning messages for over 100 cahrs in 
path name
* [MASSEMBLY-5] - mvn assembly:assembly fails if there is no target 
directory already present
* [MASSEMBLY-8] - Assembly plugin fails to resolve dependency when it 
tries to package the application
* [MASSEMBLY-9] - assembly plugin with jar-with-dependency fails if 
there is no classes
* [MASSEMBLY-11] - In a multi-module build, assembly descriptor paths 
are not project-relative, but erraneously relative to the parent project

directory
* [MASSEMBLY-13] - assembly should automatically include generated 
artifacts for bin.xml (including all in a reactor)
* [MASSEMBLY-20] - Assembly doesn't work with provided scope
* [MASSEMBLY-29] - Possibility to aggrates sources from other modules
* [MASSEMBLY-33] - document assembly descriptoir in more detail
* [MASSEMBLY-37] - Assembly plugin should have the option not to repeat 
the build process every <execution>
* [MASSEMBLY-40] - Evaluate project variables within assembly
descriptors
* [MASSEMBLY-43] - AbstractUnpackMojo#getDependencies() returns too much
* [MASSEMBLY-46] - artifact   classifier  not used in
outputFileNameMapping
* [MASSEMBLY-49] - InvalidArtifactRTException is thrown when 
appendAssemblyId=false
* [MASSEMBLY-51] - assembly:attached fails
* [MASSEMBLY-52] - dependencySet is incorrect during multi-module builds
* [MASSEMBLY-55] - Lost ability to attach artifact without classifier
* [MASSEMBLY-64] - jar-with-dependencies has a last-one-copies-wins 
policy which can fail signed jars
* [MASSEMBLY-65] - source repository on web site incorrect
* [MASSEMBLY-70] - assembly:directory does not honor <fileMode>
* [MASSEMBLY-74] - MANIFEST.MF is not used when specified in
configuration.
* [MASSEMBLY-82] - When creating a repository for assembly include 
transitive requirements
* [MASSEMBLY-85] - Parent POMs are not pulled down into the assembled 
repository
* [MASSEMBLY-89] - outputFileNameMapping broken
* [MASSEMBLY-92] - Assembly plugin fails with fatal error if a 
particular fileset directory does not exist
* [MASSEMBLY-98] - Assembly groupVersionAlignment excludes affects all 
other groupVersionAlignment
* [MASSEMBLY-54] - Unable to filter files while creating assembly
* [MASSEMBLY-56] - Refactor DirectoryMojo so it can be run either 
stand-alone or attached
* [MASSEMBLY-57] - Add xsd to the set of modello outputs
* [MASSEMBLY-59] - Patch to the assembly plug-in introduction APT
document
* [MASSEMBLY-60] - use DirectoryArchiver component instead of the 
internal DirectoryArchiver class in the plugin
* [MASSEMBLY-61] - Should remove/deprecate AbstractUnpackAssembly's 
classifier field
* [MASSEMBLY-68] - Need method to exclude all child dependencies when 
creating a jar
* [MASSEMBLY-80] - Provide an option to write the artifact metadata to a

repository
* [MASSEMBLY-81] - Provide an option to use all dependencies in the 
creation of a repository
* [MASSEMBLY-86] - Allow an easy way to exclude an artifact from groupId

version alignment
* [MASSEMBLY-62] - Ability to share DependencySets, FileSets, FileItems
* [MASSEMBLY-71] - Allow an archive base directory that accepts
variables
* [MASSEMBLY-95] - Support unpacking of tar.gz, tgz, tar.bz2, and tbz2 
archivers





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : [ANN] Maven Assembly Plugin 2.1

Posted by Syvalta <sy...@yahoo.com>.
Also  MASSEMBLY-97  still occurs, even there seemed to be many bugfixes
related to dependency handling in the 2.1 release.
--
View this message in context: http://www.nabble.com/-ANN-Maven-Assembly-Plugin-2.1-t1615275.html#a4405988
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : RE : [ANN] Maven Assembly Plugin 2.1

Posted by Olivier Lamy <ol...@accor.com>.
Hi,
Is it possible to having some update concerning this ? (I have recorded
an issue [1]).
It's strange about breaking backward compatibility as this.
I wanted to upgrade version but as this [2] is not marked closed, I
don't have problem to stay with my old one.
But a simple documentation upgrade or comment on the issue will be
fantastic ;-)
 

- Olivier

[1] http://jira.codehaus.org/browse/MASSEMBLY-99
[2] http://jira.codehaus.org/browse/MASSEMBLY-87

-----Message d'origine-----
De : Olivier Lamy [mailto:olivier.lamy@accor.com] 
Envoyé : lundi 15 mai 2006 13:43
À : 'Maven Users List'
Objet : RE : [ANN] Maven Assembly Plugin 2.1


Hi,
The following configuration doesn't work anymore whereas it was ok in
the previous version :
  <dependencySets>
    <dependencySet>
      <outputDirectory>lib</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>

What is the new way to do this (including with artifacts) ?
A simple update on this page should be very nice :
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html ?
Thanks in advance,

- Olivier

-----Message d'origine-----
De : Brett Porter [mailto:brett@apache.org] 
Envoyé : dimanche 14 mai 2006 07:24
À : announce@maven.apache.org
Cc : users@maven.apache.org
Objet : [ANN] Maven Assembly Plugin 2.1


The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.1

http://maven.apache.org/plugins/maven-assembly-plugin/

You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.1</version>
</plugin>

Changes:
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12219&styleName
=Text&projectId=11126&Create=Create

* [MASSEMBLY-2] - TAR produces warning messages for over 100 cahrs in 
path name
* [MASSEMBLY-5] - mvn assembly:assembly fails if there is no target 
directory already present
* [MASSEMBLY-8] - Assembly plugin fails to resolve dependency when it 
tries to package the application
* [MASSEMBLY-9] - assembly plugin with jar-with-dependency fails if 
there is no classes
* [MASSEMBLY-11] - In a multi-module build, assembly descriptor paths 
are not project-relative, but erraneously relative to the parent project

directory
* [MASSEMBLY-13] - assembly should automatically include generated 
artifacts for bin.xml (including all in a reactor)
* [MASSEMBLY-20] - Assembly doesn't work with provided scope
* [MASSEMBLY-29] - Possibility to aggrates sources from other modules
* [MASSEMBLY-33] - document assembly descriptoir in more detail
* [MASSEMBLY-37] - Assembly plugin should have the option not to repeat 
the build process every <execution>
* [MASSEMBLY-40] - Evaluate project variables within assembly
descriptors
* [MASSEMBLY-43] - AbstractUnpackMojo#getDependencies() returns too much
* [MASSEMBLY-46] - artifact   classifier  not used in
outputFileNameMapping
* [MASSEMBLY-49] - InvalidArtifactRTException is thrown when 
appendAssemblyId=false
* [MASSEMBLY-51] - assembly:attached fails
* [MASSEMBLY-52] - dependencySet is incorrect during multi-module builds
* [MASSEMBLY-55] - Lost ability to attach artifact without classifier
* [MASSEMBLY-64] - jar-with-dependencies has a last-one-copies-wins 
policy which can fail signed jars
* [MASSEMBLY-65] - source repository on web site incorrect
* [MASSEMBLY-70] - assembly:directory does not honor <fileMode>
* [MASSEMBLY-74] - MANIFEST.MF is not used when specified in
configuration.
* [MASSEMBLY-82] - When creating a repository for assembly include 
transitive requirements
* [MASSEMBLY-85] - Parent POMs are not pulled down into the assembled 
repository
* [MASSEMBLY-89] - outputFileNameMapping broken
* [MASSEMBLY-92] - Assembly plugin fails with fatal error if a 
particular fileset directory does not exist
* [MASSEMBLY-98] - Assembly groupVersionAlignment excludes affects all 
other groupVersionAlignment
* [MASSEMBLY-54] - Unable to filter files while creating assembly
* [MASSEMBLY-56] - Refactor DirectoryMojo so it can be run either 
stand-alone or attached
* [MASSEMBLY-57] - Add xsd to the set of modello outputs
* [MASSEMBLY-59] - Patch to the assembly plug-in introduction APT
document
* [MASSEMBLY-60] - use DirectoryArchiver component instead of the 
internal DirectoryArchiver class in the plugin
* [MASSEMBLY-61] - Should remove/deprecate AbstractUnpackAssembly's 
classifier field
* [MASSEMBLY-68] - Need method to exclude all child dependencies when 
creating a jar
* [MASSEMBLY-80] - Provide an option to write the artifact metadata to a

repository
* [MASSEMBLY-81] - Provide an option to use all dependencies in the 
creation of a repository
* [MASSEMBLY-86] - Allow an easy way to exclude an artifact from groupId

version alignment
* [MASSEMBLY-62] - Ability to share DependencySets, FileSets, FileItems
* [MASSEMBLY-71] - Allow an archive base directory that accepts
variables
* [MASSEMBLY-95] - Support unpacking of tar.gz, tgz, tar.bz2, and tbz2 
archivers





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein
("this message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it
back to the sender and delete it. Unauthorized publication, use,
dissemination or disclosure of this message, either in whole or in part
is strictly prohibited.
------------------------------------------------------------------------
--------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message ( ci après "le message" ), sont
confidentiels et destinés exclusivement à l'usage de la  personne à
laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci  de le renvoyer à son émetteur et de le détruire. Toutes
diffusion, publication, totale ou partielle ou divulgation sous quelque
forme que se soit non expressément autorisées de ce message, sont
interdites.
------------------------------------------------------------------------
-------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org