generated client jars violate maven artifact naming convention
--------------------------------------------------------------
Key: MPEJB-21
URL: http://jira.codehaus.org/browse/MPEJB-21
Project: maven-ejb-plugin
Type: Bug
Versions: 1.7.1
Reporter: Rafal Krzewski
Priority: Minor
the names of the generated client jars are built using the following formula:
path.append(project.getArtifactId());
path.append("-");
path.append(version);
if ( type.equals( "ejb-client" ) ) {
path.append( "-client.jar" );
}
else if ( type.equals( "ejb" ) ) {
path.append(".jar");
}
( copied from
org.apache.maven.ejb.EJBArtifactTypeHandler.constructRepositoryFullPath(String
type, Project project, String version) )
resulting in names like: mymodule-1.0-client.jar and dependency specs like
<artifactId>myModule</artifactId>
<version>1.0-client</version>
which is silly IMO. The following makes more sense:
<artifactId>myModule-client</artifactId>
<version>1.0</version>
The change is trivial but will break compatibility, so it probaly requires a
vote
--
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]