Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-16 Thread Arik Kfir
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? On 11/16/05, Thomas Marek [EMAIL PROTECTED] wrote: Arik Kfir schrieb: Does your ejb3 project has a dependency on the par module? like this:

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-16 Thread Thomas Marek
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 roleorg.apache.maven.artifact.handler.ArtifactHandler/role role-hintpar/role-hint

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-16 Thread Stephane Nicoll
Hey Thomas, Could you please fill in a bug in Jira for this with waht you discovered? Thanks, Stéphane On 11/16/05, Thomas Marek [EMAIL PROTECTED] wrote: I have solved the problem. You must add the option addedToClasspath to the components par and ejb3 in the file

[m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Thomas Marek
Hi, I want to include the classes of a par package in a ejb3 package. I tried to use a dependency, but it doesn't work. Here are the pom's: project groupIdbla-group/groupId artifactIdbla-par/artifactId version1.0.0/version packagingpar/packaging parent groupIdbla-group/groupId

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Stephane Nicoll
It's not supported. I am not sure to fully understand what you are trying to achieve based on the POMs below You want to geneerate an .ejb3 file with the content of a .par file? s/ On 11/15/05, Thomas Marek [EMAIL PROTECTED] wrote: Hi, I want to include the classes of a par package in a ejb3

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Thomas Marek
I use some classes of the par package in the ejb3 package. So the classes of the par package should be in the classpath. How can i do that? Thanks, Thomas Stephane Nicoll schrieb: It's not supported. I am not sure to fully understand what you are trying to achieve based on the POMs below You

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Arik Kfir
Use a Class-Path entry in the MANIFEST.MF file of the .ejb3 file (this is standard in j2ee, not a hack :) On 11/15/05, Thomas Marek [EMAIL PROTECTED] wrote: I use some classes of the par package in the ejb3 package. So the classes of the par package should be in the classpath. How can i do

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Thomas Marek
Isn't it possible to add a path to the classpath of a module at compile time? Thanks, Thomas Arik Kfir schrieb: Use a Class-Path entry in the MANIFEST.MF file of the .ejb3 file (this is standard in j2ee, not a hack :) -

RE: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Janecek Jan
Hi, You can generate Class-Path entry to your manifest by adding this to your pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifest

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Thomas Marek
Hi, That's for ejb, but not for ejb3. I want that maven add the classes of the par package to the classpath of the ejb3 module (At compilation time). When i run run the command mvn package: I get the error message: [INFO]

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Arik Kfir
Does your ejb3 project has a dependency on the par module? like this: dependency groupIdmyprojecT/... artifactIdmyPAR/... version... /dependencty On 11/15/05, Thomas Marek [EMAIL PROTECTED] wrote: Hi, That's for ejb, but not for ejb3. I want that maven add the classes of the par

Re: [m2] EJB3 and PAR - Including the classes of the par package...

2005-11-15 Thread Thomas Marek
Arik Kfir schrieb: Does your ejb3 project has a dependency on the par module? like this: dependency groupIdmyprojecT/... artifactIdmyPAR/... version... /dependencty Yes, Here are the pom's: project groupIdbla-group/groupId artifactIdbla-par/artifactId version1.0.0/version