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:
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
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
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
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
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
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
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 :)
-
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
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]
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
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
12 matches
Mail list logo