I have solved the problem.
You must add the option "addedToClasspath" to the components par and ejb3 in the file
"maven-artifact/src/main/resources/META-INF/plexus/components.xml":

   <component>
     <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
     <role-hint>par</role-hint>
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
     <configuration>
       <type>par</type>
       <addedToClasspath>true</addedToClasspath>
     </configuration>
   </component>

   <component>
     <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
     <role-hint>ejb3</role-hint>
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
     <configuration>
       <type>ejb3</type>
       <addedToClasspath>true</addedToClasspath>
     </configuration>
   </component>

Arik Kfir schrieb:

I'm not familiar with the ejb3 plugin - but perhaps because the
dependency is of type par and not 'jar' - maven doesn't add it to the
classpath?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to