Issue Details (XML | Word | Printable)

Key: MPRELEASE-11
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Brett Porter
Reporter: Fredrik Vraalsen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Release Plugin

does not handle non-jar dependencies

Created: 15/Aug/05 01:37 AM   Updated: 31/Oct/05 11:24 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File maven-release-plugin_non-jar-dependencies.patch (0.8 kB)

Environment: Maven 1.0.2, maven-release-plugin 1.4.1


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

Cheers,
Fredrik



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 19/Aug/05 08:27 AM
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.

Fredrik Vraalsen added a comment - 23/Aug/05 06:54 AM
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