+1

Works for my assemblies.

On 21-Feb-08, at 11:01 AM, John Casey wrote:

Hi all,

I'd like to propose that we release both the assembly plugin and one of its shared-component dependencies: maven-repository-builder. See below for more information on what's included in these releases. I have two staging repositories for these projects:

maven-assembly-plugin:

http://people.apache.org/~jdcasey/stage/maven-assembly-plugin/2.2-beta-2/

maven-repository-builder:

http://people.apache.org/~jdcasey/stage/maven-repository-builder/1.0-alpha-2/


You can try them out using the following settings.xml snippet:

  <profiles>
    <profile>
      <id>maven-assembly-plugin.stage</id>
      <repositories>
        <repository>
          <id>mrb.stage</id>
<url>http://people.apache.org/~jdcasey/stage/maven-repository-builder/1.0-alpha-2 </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>map.stage</id>
<url>http://people.apache.org/~jdcasey/stage/maven-assembly-plugin/2.2-beta-2 </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>map.stage</id>
<url>http://people.apache.org/~jdcasey/stage/maven-assembly-plugin/2.2-beta-2 </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>maven-assembly-plugin.stage</activeProfile>
  </activeProfiles>


Let the voting begin! +1/+0/-1, 72 hrs.

Thanks,

John



------

The main improvement in the repository builder is inclusion of parent POMs, and some improvements to snapshot handling (though this may not be complete yet). I'm attaching the SVN log for more information about these changes.

As for the assembly plugin, there have been quite a few changes in the last nine months or so:

http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11126&styleName=Html&version=14027


Release Notes - Maven 2.x Assembly Plugin - Version 2.2-beta-2


** Bug
    * [MASSEMBLY-121] - Custom manifest attributres are ignored.
* [MASSEMBLY-129] - BaseDirectory Ignored When Including a Repository
    * [MASSEMBLY-156] - appendAssemblyId cannot be false
* [MASSEMBLY-162] - In a multiproject environment, assembly takes wrong dependencies * [MASSEMBLY-163] - In a multiproject environment Assembly causes many unneded rebuilds
    * [MASSEMBLY-178] - filtering doesn't read filter files
    * [MASSEMBLY-179] - Assembled jar includes artifact names in path
* [MASSEMBLY-180] - A bug in artifact filtering ( maven-common- artifact-filters ) * [MASSEMBLY-183] - assembly:attached does not work with filter- ERROR: Cannot override read-only parameter * [MASSEMBLY-184] - components are not interpolated - i.e., $ {params} are not substituted
    * [MASSEMBLY-188] - manifestEntries are not set in resulting jar
* [MASSEMBLY-189] - plugin not correctly interpolating POM variables like project.build.directory
    * [MASSEMBLY-194] - unnecessary dependency expansion regression
    * [MASSEMBLY-195] - unpackOptions ignored
* [MASSEMBLY-197] - 2.2-beta-1 regression, project artifact no longer included in * [MASSEMBLY-208] - Assembly plugin does not resolve version ranges correctly
    * [MASSEMBLY-210] - repository does not include the parent pom
* [MASSEMBLY-212] - Assembly Descriptor Schemas (XSD) have wrong targetNamespace * [MASSEMBLY-214] - java.lang.NullPointerException: version was null for junit:junit * [MASSEMBLY-221] - Filtering doesn't work when a file matches both a <fileSet> and a <file> * [MASSEMBLY-222] - 2.2-beta-1 regression in assembly descriptor interpolation * [MASSEMBLY-223] - 2-nd <exclude> element of <dependencySets>:<excludes> doesn't work
    * [MASSEMBLY-225] - Not a v4.0.0 POM
* [MASSEMBLY-226] - Filters as read-only parameter can break the assembly build of a multi-module project
    * [MASSEMBLY-232] - NPE - MASSEMBLY-222 fix broken?
* [MASSEMBLY-233] - Custom ContainerDescriptorHandler integration tests don't work in Maven 2.0.7
    * [MASSEMBLY-234] - Artifacts not deployed
    * [MASSEMBLY-235] - dependencySet ignores dependency management
* [MASSEMBLY-250] - Trunk of assembly plugin broken and not in synch with deployed 2.2-beta2-SNAPSHOT ?
    * [MASSEMBLY-254] - Not a v4.0.0 POM Still an Issue
* [MASSEMBLY-256] - Regression: pom properties are no longer expanded in descriptor. * [MASSEMBLY-257] - OutOfMemoryError when assembling large binary file * [MASSEMBLY-262] - unit fail in trunk on windows (need upgrade of plexus-utils) * [MASSEMBLY-266] - Property expansion does not work for $ {project.build.finalName} in descriptor file
    * [MASSEMBLY-277] - NullPointerException
* [MASSEMBLY-282] - Fix failing IT no-appendAssemblyId-no- classifier

** Improvement
    * [MASSEMBLY-136] - outputDirectory to support absolute paths
* [MASSEMBLY-142] - Should be able to use artifact version as variable in <outputDirectory>
    * [MASSEMBLY-152] - Support Ant token
    * [MASSEMBLY-154] - FileSet does not support filtering
* [MASSEMBLY-182] - document behavior when two sources selected for single archived file * [MASSEMBLY-258] - Sync usage guide with Maven standard directory layout
    * [MASSEMBLY-261] - Use plexus-archiver 1.0-alpha-10
* [MASSEMBLY-267] - Configure surefire to redirect test output to file * [MASSEMBLY-274] - descriptorSourceDirectory should only scan for xml files.
    * [MASSEMBLY-275] - Use properties to select IT pom includes
    * [MASSEMBLY-278] - Do not fail on missing descriptors
    * [MASSEMBLY-279] - Small improvement to error messages

** New Feature
* [MASSEMBLY-73] - Sharing a default assembly descriptor across sub modules
    * [MASSEMBLY-243] - Support for patching

** Task
    * [MASSEMBLY-283] - Fix IT dependencySet-unpackedExcludingMetaInf




---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
rss: http://feeds.feedburner.com/ejlife/john

<maven-repository-builder-changelog.txt>

Reply via email to