[ http://jira.codehaus.org/browse/MPEJB-19?page=comments#action_44482 ]
Fredrik Vraalsen commented on MPEJB-19:
---------------------------------------
Ok, so I got the following to work in Maven 1.1 beta 1 (the EAR now includes
both jar files):
<dependencies>
<dependency>
<groupId>sintef</groupId>
<artifactId>asset-repository-ejb</artifactId>
<version>1.0-SNAPSHOT</version>
<type>ejb</type>
<properties>
<ear.bundle>true</ear.bundle>
</properties>
</dependency>
<dependency>
<groupId>sintef</groupId>
<artifactId>asset-repository-ejb</artifactId>
<version>1.0-SNAPSHOT-client</version>
<type>ejb</type>
<properties>
<ear.bundle>true</ear.bundle>
</properties>
</dependency>
</dependencies>
However, if I understood you correctly, for the latter dependency it _should_
have worked to use a version 1.0-SNAPSHOT (withouth the '-client') and a type
'ejb-client'? Maybe I need to upgrade some of the other plugins as well? (I
had to upgrade the artifact plugin to v1.6 to fix some other bugs).
> EJBArtifactTypeHandler should append "-client" to artifactId, not version
> string?
> ---------------------------------------------------------------------------------
>
> Key: MPEJB-19
> URL: http://jira.codehaus.org/browse/MPEJB-19
> Project: maven-ejb-plugin
> Type: Bug
> Versions: 1.7
> Environment: Maven 1.0.2, maven-ejb-plugin 1.7-SNAPSHOT
> Reporter: Fredrik Vraalsen
> Assignee: Brett Porter
> Attachments: ejb-client-name-testcase.patch, ejb-client-name.patch
>
>
> I just checked out the latest version of the maven-ejb-plugin which installs
> ejb-client jars with a different name. Thanks for the good work!
> However, I'm wondering why the ejb-client jar appends "-client" to the
> version string rather than the artifactId, which seems more appropriate to me
> at least? The attached patch changes this.
> Cheers,
> Fredrik
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]