Maven 1.x Release Plugin

does not handle non-jar dependencies

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 1.0.2, maven-release-plugin 1.4.1
  • Number of attachments :
    1

Description

The attached patch makes the release plugin handle dependencies which are not of type jar.

Cheers,
Fredrik

Activity

Hide
Brett Porter added a comment -

the release plugin will not have any further releases in its current form. it will be replaced by the scm plugin's release functionality.
IF these do not cover the required functionality, please elaborate on what you are using it for.

Show
Brett Porter added a comment - the release plugin will not have any further releases in its current form. it will be replaced by the scm plugin's release functionality. IF these do not cover the required functionality, please elaborate on what you are using it for.
Hide
Fredrik Vraalsen added a comment -

I'm using the release:setup-distribution-bin goal to copy dependencies into my target directory before generating an IzPack installer using the izpack plugin. However, the release plugin does not work for copying in non-jar dependencies, e.g. EJB and EAR artifacts. Do you have any suggestions as to which other plugin/goal to use instead in order to copy in the dependencies before packaging? I cannot find anything similar in the scm plugin.

Here is the relevant part of my project.properties:

maven.release.distribution.categories=\
common-endorsed:common-pack/lib/endorsed,\
client:client-pack/client,\
server-deploy:server-pack/server/default/deploy,\
server-lib:server-pack/server/default/lib

and my project.xml contains dependencies such as

<dependency>
<groupId>jboss</groupId>
<artifactId>jbossall-client</artifactId>
<version>4.0.2</version>
<properties>
<category>client</category>
</properties>
</dependency>

Cheers,

Fredrik

Show
Fredrik Vraalsen added a comment - I'm using the release:setup-distribution-bin goal to copy dependencies into my target directory before generating an IzPack installer using the izpack plugin. However, the release plugin does not work for copying in non-jar dependencies, e.g. EJB and EAR artifacts. Do you have any suggestions as to which other plugin/goal to use instead in order to copy in the dependencies before packaging? I cannot find anything similar in the scm plugin. Here is the relevant part of my project.properties: maven.release.distribution.categories=\ common-endorsed:common-pack/lib/endorsed,\ client:client-pack/client,\ server-deploy:server-pack/server/default/deploy,\ server-lib:server-pack/server/default/lib and my project.xml contains dependencies such as <dependency> <groupId>jboss</groupId> <artifactId>jbossall-client</artifactId> <version>4.0.2</version> <properties> <category>client</category> </properties> </dependency> Cheers, Fredrik

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: