maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject Problems of EJB plugin and Dependencies download
Date Wed, 18 Jun 2003 16:01:04 GMT

The EJB plugin ejb:install goal installs its artifacts in
<groupId>/ejbs/<artifactId>-<version>.jar (note the "jar" extension").

However, the maven dependency resolver looks for a file named:
<groupId>/ejbs/<artifactId>-<version>.ejb (not the "ejb" extension)

Thus it fails to find the artifact...

Several solutions:

1/ All jar files (.ear, .jar, .war are considered of the "jar" type)

2/ The dependency resolver supports .jar extensions when using the "ejb"
type. In other words there is mapping between "artifact type" and
"artifact extension" instead of assuming extension = <artifact type>.

Currently the EJB, WAR and EAR plugins put their artifacts in
**/ejbs/**, **/wars/** and **/ears/**.

What do we do?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message