to the classpath when
invoking java in the bat scripts.
Is there any way to have maven add the appropriate dependencies entries for
the bat script based on the current runtime classpath?
Carlos
--
View this message in context:
http://www.nabble.com/assembly---grabbing-runtime-classpath-for-bat
project so we have
come up with a custom assembly that generates a zip/tar of:
- our projects jar
- a lib dir with all of our projects dependencies
- bat scripts to execute the jar
However I still need to add all of the jars in the lib to the classpath
when
invoking java in the bat scripts
What about simply adding the jars to the classpath without any path, then when
you run the jar have your script cd into the directory where the jars are? The
jar with main will be in the same directory as its dependencies.
For example, my pom has
!-- don't add classpath prefix; that way
PM, Rusty Wright [EMAIL PROTECTED]wrote:
What about simply adding the jars to the classpath without any path, then
when you run the jar have your script cd into the directory where the jars
are? The jar with main will be in the same directory as its dependencies.
For example, my pom has
() + (
pathelem.isDirectory() ? / : ) );
jpaRealm.addConstituent( url );
}
catch ( MalformedURLException e )
{
throw new MojoExecutionException( error in adding the
classpath + pathelem, e );
}
}
// set
hi all
I want to add all the jars from the bootstrap jars directory to the classpath.
How can i do it in pom.
can anyone specify me.
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download
Now! http://messenger.yahoo.com/download.php
17, 2008 at 8:24 AM, rohan chauhan [EMAIL PROTECTED] wrote:
hi all
I want to add all the jars from the bootstrap jars directory to the classpath.
How can i do it in pom.
can anyone specify me.
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download
Now! http
to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
Date: Fri, 17 Oct 2008 20:54:53 +0530
From: [EMAIL PROTECTED]
Subject: how to add jars from bootstrap to classpath in pom.xml
To: users@maven.apache.org
hi all
I want
How do you need to use it? It can be quite simple to create a
classloader for this, but it depends on how it'll be used.
Cheers,
Brett
On 13/10/2008, at 9:40 PM, Mark Derricutt wrote:
Hi all,
I have a maven plugin I'm working on and I want to include the
classpath
(main, test, others
Hi all,
I have a maven plugin I'm working on and I want to include the classpath
(main, test, others...) of the artifact calling the plugin - am I going to
have to spawn/fork a new java process and include them on the classpath
somehow, or is their some mojo-magic that takes care of this?
Mark
classpath from a mojo?
An: Maven Users List users@maven.apache.org
Datum: Montag, 13. Oktober 2008, 12:45
How do you need to use it? It can be quite simple to create
a
classloader for this, but it depends on how it'll be
used.
Cheers,
Brett
On 13/10/2008, at 9:40 PM, Mark Derricutt wrote
and LieGrue,
strub
--- Brett Porter [EMAIL PROTECTED] schrieb am Mo, 13.10.2008:
Von: Brett Porter [EMAIL PROTECTED]
Betreff: Re: Accessing an artifacts classpath from a mojo?
An: Maven Users List users@maven.apache.org
Datum: Montag, 13. Oktober 2008, 12:45
How do you need to use it? It can
Are there any examples of using the dependency:build-classpath [1] to create a
launcher script or something similar? Or should I be looking to another MOJO?
Say I have a windows bat file, I'd like to insert into it a line, something
like the following.
set CLASSPATH=%~dp0MyApp-1.0.jar
Cheers - I'll take a look. Basically, in my instance, I have my library for
migrating databases [1] which I'm wrapping with a maven plugin, the plugin
walks the classpath finding classes with the @DataMigration annotation
(opening JarFile instances and walking File[] lists to determine available
You might consider the appassembler plugin over at mojo.codehaus.org.
- Brett
2008/10/14 Beyer,Nathan [EMAIL PROTECTED]:
Are there any examples of using the dependency:build-classpath [1] to create
a launcher script or something similar? Or should I be looking to another
MOJO?
Say I have
On Tue, Oct 14, 2008 at 3:18 AM, Beyer,Nathan [EMAIL PROTECTED] wrote:
Are there any examples of using the dependency:build-classpath [1] to create
a launcher script or something similar? Or should I be looking to another
MOJO?
Say I have a windows bat file, I'd like to insert
Hello!
I recently found some really weird issue when doing the debug of the libraries
with attached sources in Eclipse. I used projects, which are being built by
Maven2. The problem is if any new dependency was added after the debug
configuration is created, then the source for the dependency is
and
.classpath files
An: Maven Users List users@maven.apache.org, [EMAIL PROTECTED]
Datum: Mittwoch, 8. Oktober 2008, 21:15
Use the dependency plugin: mvn dependency:sources
http://maven.apache.org/plugins/maven-dependency-plugin/
On Wed, Oct 8, 2008 at 5:00 AM, Andreas Riedel
[EMAIL
Hi!
Is it possible to add a directory to the classpath with maven? To make
the directory as a jar artifact is not an option.
The background is that I'm managing a seam project using maven, and in
the test phase, a bootstrap directory must be on the classpath ,
otherwise the jboss embedded
In the Maven way of life, the classpath is managed through the dependencies
mecanism. So I would say no.
Regarding you case, I think this is a problem regarding the way you run
JBoss with Maven. So you should look at the cargo maven plugin or, but I
don't know if such a plugin exists, the JBoss
Hello List.
I've a question by using the Eclipse Plugin.
We will dispose the Q4E Eclipse Plugin.
So call the Plugin with:
mvn eclipse:eclipse -DdownloadSources=true
works fine.
But the writen .project and .classpath files are shared by SVN. So the other
developer aren't beholden to run write
the Plugin with:
mvn eclipse:eclipse -DdownloadSources=true
works fine.
But the writen .project and .classpath files are shared by SVN. So the
other developer aren't beholden to run write the .project and .classpath
files new.
So, is it possible to download the sources by the plugin but don't
And normally I exclude the .classpath and .project files from SVN.
Each developers machine is different, so those files are also a little
machine dependent. (plugins, filepaths, anything)
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Wed
if you use m2eclipse then the .project files and .classpath files should be
pretty much the same... i always put them in and thats been true of the last
3 large commercial projects i've worked on. In all cases the environments
were mixed windows and linux... never had a problem
On Thu, 09 Oct
nicolas de loof-3 wrote:
Add dependencies element to your plugin configuration to extend/override
the plugin classpath. Please note this works fine only on maven 2.0.9
Sorry that I have to come back to this topic. I just added
dependency
Hi,
I am committer for the Castor (http://www.castor.org) project, and I am
experiencing 'behaviour' I somehow find hard to understand.
We at castor have a multi-module setup, where some of the modules have
the maven plugin for Castor configured to generate java code from XML
schema. So far, so
classpath. Please note this works fine only on maven 2.0.9
Sorry that I have to come back to this topic. I just added
dependency
groupIdorg.codehaus.castor/groupId
As far as I understand,
currently in Maven there is not isolation between plugins in different
projects.
If you have a multi-module build, the first use of a plugin in that
multi-module build will determine both the version and the dependencies that
are loaded into it's classloader for all
Thanks, Stephen, for confirming what we have already been assuming,
based upon our builds. And no, I would have very much liked to see a
different answer.
Let me just ask a few follow-ups:
a) Is this by design, or ...
b) Is this a current limitation of the reactor ?
c) Could this be overcome (in
my understanding is b and it's being worked on
2008/10/2 Werner Guttmann [EMAIL PROTECTED]:
Thanks, Stephen, for confirming what we have already been assuming,
based upon our builds. And no, I would have very much liked to see a
different answer.
Let me just ask a few follow-ups:
a) Is
it inside an executions block. (this
is a maven issue, there is talk about it in the plugin faq)
-Original Message-
From: Norbert Lazzeri [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 9:29 AM
To: Maven Users List
Subject: Re: copy libraries to classpath
yeah i red that too
the command line, don't put it inside an executions block. (this
is a maven issue, there is talk about it in the plugin faq)
-Original Message-
From: Norbert Lazzeri [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 9:29 AM
To: Maven Users List
Subject: Re: copy libraries to classpath
Hi,
is it possible to let maven copy all dependencies to my classpath?
my jar-configuration looks like:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
archive
like suggested on the plugin-homepage all dependencies are copied to
targed/dependencies. why is the outputDirectory ignored?
cheers,
Norbert
Norbert Lazzeri schrieb:
Hi,
is it possible to let maven copy all dependencies to my classpath?
my jar-configuration looks like:
plugin
/dependencies. why is the outputDirectory ignored?
cheers,
Norbert
Norbert Lazzeri schrieb:
Hi,
is it possible to let maven copy all dependencies to my classpath?
my jar-configuration looks like:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven
/executions
/plugin
like suggested on the plugin-homepage all dependencies are copied to
targed/dependencies. why is the outputDirectory ignored?
cheers,
Norbert
Norbert Lazzeri schrieb:
Hi,
is it possible to let maven copy all dependencies to my classpath?
my jar
/configuration
/plugin
With this configuration I get .classpath file like this:
classpath
classpathentry kind=src path=src/main/java/
classpathentry kind=src path=src/main/resources excluding=**/*.java/
classpathentry kind=output path=target/classes/
classpathentry kind=con path
Toolkit 2.5.2 for CLDC/DefaultColorPhone/classpathContainer
/classpathContainers
/configuration
/plugin
With this configuration I get .classpath file like this:
classpath
classpathentry kind=src path=src/main/java/
classpathentry kind=src path=src/main
I want to include some local jar files (located in lib/) in my Maven
build classpath. How do I do that?
MG
Michael McGrady
Senior Engineer
Topia Technology, Inc.
[EMAIL PROTECTED]
1 (253) 720-3365
-
To unsubscribe, e
-plugin/usage.htmllink
on Maven install plugin usage.
Regards,
Stevo.
On Fri, Sep 19, 2008 at 10:55 PM, Michael McGrady
[EMAIL PROTECTED] wrote:
I want to include some local jar files (located in lib/) in my Maven build
classpath. How do I do that?
MG
Michael McGrady
Senior Engineer
Topia
content contained within this transmission.
From: [EMAIL PROTECTED]
To: users@maven.apache.org
Subject: Including Local Jar Files in Build Classpath
Date: Fri, 19 Sep 2008 13:55:35 -0700
I want to include some local jar files (located in lib/) in my Maven
build classpath. How do I do
Hi,
I'm trying to configure maven-javadoc-plugin to load javadoc stylesheet from
classpath without any success. Rational behind this is to be able to share
in a parent project this stylesheet definition.
I tried to rely on maven stylesheet type hoping it would load my own
stylesheet.css stored
Sorry to repost but I did not get a nibble on this. Thanks for any
assistance.
Mike
On Aug 24, 2008, at 10:47 AM, Michael McGrady wrote:
Below is my POM and the error log. How do I get maven to seem my
junit jar?
Mike
Here is the POM
project
,
strub
--- Michael McGrady [EMAIL PROTECTED] schrieb am Di, 26.8.2008:
Von: Michael McGrady [EMAIL PROTECTED]
Betreff: Second Try on JUnit Classpath Etc
An: Maven Users List users@maven.apache.org
Datum: Dienstag, 26. August 2008, 15:47
Sorry to repost but I did not get a nibble on this. Thanks
Below is my POM and the error log. How do I get maven to seem my
junit jar?
Mike
Here is the POM
project
xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
junit is scoped to test, and the file that references junit is in src/main,
which wouldn't have access to test-scope deps.
On Sun, Aug 24, 2008 at 1:47 PM, Michael McGrady
[EMAIL PROTECTED] wrote:
Below is my POM and the error log. How do I get maven to seem my junit
jar?
Mike
--
project name is not a
valid id, and the classpath it generates is not what I want or in my case
valid. The file also contains blank lines which result in errors in the
eclipse environment.)
In fact I would prefer to be able to disable the manifest generation and use
my manually produced one
into the classpath
when invoking the javadoc plugin? I want to avoid having to write a plugin
for this if it is not necessary. Nevertheless, this would be my workaround
if I cannot find a solution to this problem.
TIA kind regards,
Gernot
[1]: http://pdfdoclet.sourceforge.net/
--
View
As you can see in the Maven Model [1] the plugin element has the option to
include a dependencies tag. This will put dependencies on the classpath of
the plugin.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
[1] http://maven.apache.org/ref
to
include a dependencies tag. This will put dependencies on the classpath of
the plugin.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
[1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html
On Mon, Aug 11, 2008 at 2:54 PM
to
include a dependencies tag. This will put dependencies on the classpath
of
the plugin.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
[1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html
On Mon, Aug 11, 2008
Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
--
View this message in context:
http://www.nabble.com/Classpath-problems-with-Javadoc-plugin-%28mvn-site%3Asite%29-tp18925313p18926390.html
Sent from the Maven - Users mailing list archive at Nabble.com
the pluginManagement section. There you can configure the
plugins you use in the reporting section.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
--
View this message in context:
http://www.nabble.com/Classpath-problems
runtime classpath
elements
* to the
*
* @author mailto:[EMAIL PROTECTED] Brian Jackson
* @since Aug 1, 2008 3:04:17 PM
*
* @plexus.component
role=org.codehaus.plexus.component.configurator.ComponentConfigurator
* role-hint=include-project-dependencies
Hello,
I just ran into a problem where I used the castor maven plugin as
described here:
http://www.castor.org/srcgen-maven-plugin.html
I assumed that a plugin would use the same classpath as the project
itself where I included castor 1.2. But I seems as if a maven plugin
operates in its
Add dependencies element to your plugin configuration to extend/override
the plugin classpath. Please note this works fine only on maven 2.0.9
2008/7/31 Christian Schuhegger [EMAIL PROTECTED]
Hello,
I just ran into a problem where I used the castor maven plugin as described
here:
http
:
I'm writing a plugin to precompile templates for a language similar to
JSP. The plugin needs the dependencies and compiled classes of the
project its running in. Does anyone have an example of how to add the
containing project's dependencies and target/classes directory to the
classpath
I'm writing a plugin to precompile templates for a language similar to JSP.
The plugin needs the dependencies and compiled classes of the project its
running in. Does anyone have an example of how to add the containing
project's dependencies and target/classes directory to the classpath
Hi,
if I´m running JUnit Tests with Surefire-2.4 I got the following
classpath:
[DEBUG] Adding managed dependencies for unknown:surefire-junit4
[DEBUG] org.apache.maven.surefire:surefire-api:jar:2.4
[DEBUG] org.apache.maven.surefire:surefire-booter:jar:2.4
[DEBUG
SurefirePlugin#constructSurefireBooter changes the classpath by doing:
...
getLog().debug( Test Classpath : );
// Check if we need to add configured classes/test classes
directories here.
// If they are configured, we should remove the default to avoid
conflicts
[EMAIL PROTECTED] wrote:
Hi,
if I´m running JUnit Tests with Surefire-2.4 I got the following
Use latest surefire plugin.
- Jörg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of test classpath running
surefire-2.4
[EMAIL PROTECTED] wrote:
Hi,
if I´m running JUnit Tests with Surefire-2.4 I got the following
Use latest surefire plugin.
- Jörg
-
To unsubscribe, e-mail: [EMAIL PROTECTED
]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/classpath-in-jar-manifest-tp4295266p18368538.html
Sent from the Maven - Users mailing list archive at Nabble.com
-Path entries).
But if we set addClasspath to false and put all the known classpath
there,
we can generate one Class-Path entry - not a pretty solution through.
Anybody over there has other workaround for this issue(I believe it is
a
bug)?
This appears to be fixed in the trunk of maven-jar
PROTECTED] wrote:
We saw the same issue here (two Class-Path entries).
But if we set addClasspath to false and put all the known classpath
there,
we can generate one Class-Path entry - not a pretty solution through.
Anybody over there has other workaround for this issue(I believe it is
a
bug
I suspect your problem is due to improper capitalization:
manifestEntries
Class-pathresources//Class-path
/manifestEntries
I believe this should be Class-Path.
Wayne
-
To
On Wed, Jul 9, 2008 at 7:44 AM, Wayne Fay [EMAIL PROTECTED] wrote:
I suspect your problem is due to improper capitalization:
manifestEntries
Class-pathresources//Class-path
/manifestEntries
I believe this should be Class-Path.
This is what I
/11/06, George Zhao [EMAIL PROTECTED] wrote:
We saw the same issue here (two Class-Path entries).
But if we set addClasspath to false and put all the known classpath
there,
we can generate one Class-Path entry - not a pretty solution through.
Anybody over there has other workaround
Hi all -
Is there any easy way to have maven generate a cmd or bat file with the java
command line populated with the classpath from the maven dependencies?
Ken
, Barrie Treloar [EMAIL PROTECTED] wrote:
On 5/11/06, George Zhao [EMAIL PROTECTED] wrote:
We saw the same issue here (two Class-Path entries).
But if we set addClasspath to false and put all the known classpath
there,
we can generate one Class-Path entry - not a pretty solution through.
Anybody
On Jul 7, 2008, at 5:34 PM, Ken Liu wrote:
Is there any easy way to have maven generate a cmd or bat file with
the java
command line populated with the classpath from the maven dependencies?
You could check out the codehaus mojo appassembler at
http://mojo.codehaus.org/appassembler
There is also the exec-maven-plugin
--Brian
On Jul 7, 2008, at 7:13 PM, Kathryn Huxtable [EMAIL PROTECTED]
wrote:
On Jul 7, 2008, at 5:34 PM, Ken Liu wrote:
Is there any easy way to have maven generate a cmd or bat file with
the java
command line populated with the classpath from
Hi all,
I'm trying to add a classPath entry to the manifest of a jar built with
maven. the entry I'm trying to add is a folder that will be on the same
directory of the jar in the final installation.
I've search the documentation but didn't find anything useful. Can someone
give me a hint
-uses-wrong-resources-to18219384.html
Cheers
Markus
--
View this message in context:
http://www.nabble.com/Surefire-2.4.1-classpath-order-tp15498825p18235397.html
Sent from the Maven - Users mailing list archive at Nabble.com
Hi,
I would like to define a dependency which is necessary for the project at
runtime and:
* gets imported from the repository -- scope != system
* should be assembled for runtime distributions -- scope != provided
* should not be added to the compile and runtime classpath -- scope != runtime
Related to my previous post
http://www.nabble.com/mvn-release-plugin-and-platform-specific-executable-jars-td18145554.html,
I am wondering if it is possible to manually append a jar to the
classpath of the manifest in the archive. If this is possible, I could
manually add an swt jar
this is
a misunderstanding on your side. The constructor you are using is
intended to load images out of files on the filesystem and not to load
an image from a classpath resource. The correct way to load images from
resources would be to get a stream of the resource from a classloader
and then pass this to the image
--- Tim Kettler [EMAIL PROTECTED] schrieb am Do, 5.6.2008:
it seems this is
a misunderstanding on your side. The constructor you are
using is intended to load images out of files on the
filesystem and not to load an image from a classpath
resource. The correct way to load images from
/
when the test is run.
Any pointers appreciated.
Thanks,
D.
--
View this message in context:
http://www.nabble.com/Resource-file-needed-on-classpath-for-unit-test-tp17644825p17644825.html
Sent from the Maven - Users mailing list archive at Nabble.com
Hi!
On Wednesday 04 June 2008 Derek Alexander wrote:
I have a file config.xml that should be alongside its corresponding
(TestCase) class file when the tests are run.
Source is like this:
src/test/java/com/example/db/config.xml
src/test/java/com/example/db/MyTest.java (expects to
Derek Alexander schrieb:
Hi,
I have a file config.xml that should be alongside its corresponding
(TestCase) class file when the tests are run.
Source is like this:
src/test/java/com/example/db/config.xml
src/test/java/com/example/db/MyTest.java (expects to find config.xml
in same
/unit/...
src/test/integration/...
src/test/functional/...
and then be able to easily run just one set of tests (or all).
Cheers,
D.
--
View this message in context:
http://www.nabble.com/Resource-file-needed-on-classpath-for-unit-test-tp17644825p17645810.html
Sent from the Maven - Users mailing
On Wednesday 04 June 2008 Derek Alexander wrote:
I have a related question. This isn't really a unit test but rather an
integration test - hence the need for a config file.
Is there a maven way to organise different types of tests. Currently I
have src/test/... what I'd really like is:
, /img/nice.png);
This will look up for a file nice.png in a subfolder
img packed in the jar along with the classes:
JAR
--com/mycompany/swtapp/MyClass.class
|-img/nice.png
But ONLY if the manifest File contains an extra
entry
ClassPath: img
If this is not explicitely written
Hi, I am writting my own plug-in and try to pass in the compile and/or
runtime classpath of the build. A previous version was using a build in
Ant-task using something like
property name=compile_classpath refid=maven.compile.classpath/
and it works. But where do I get the same information
Hi ,
I have some junit testcase but i guess maven is considering the wrong class
path for file and is trying to load
classes with name
*test.java.x.y.z
*However* *my classes are in package *x.y.z
**hence I am getting
java.lang.ClassNotFoundException*java.lang.ClassNotFoundException:
*
*
Can
Please provide more details about how your project is laid out etc.
By default, Maven expects that your Java files go in src/main/java and
the Java test files are in src/test/java. If you have configured
things differently in the pom.xml, then this may not be accurate.
What classes exactly are
Is there any way to tell eclipse:eclipse to add excluding tags to
the .classpath to get it to ignore the .svn (**/.svn/)?
I have a workspace with hundreds of small projects, and when I rebuild
the eclipse classpaths, I have to set them all individually within
eclipse.
Conversely
Message -
From: Terry Bell [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Thursday, May 29, 2008 11:47 AM
Subject: eclipse plugin classpath and .svn directories
Is there any way to tell eclipse:eclipse to add excluding tags to the
.classpath to get it to ignore the .svn (**/.svn/)?
I
On Thu, 2008-05-29 at 08:47 -0700, Terry Bell wrote:
Is there any way to tell eclipse:eclipse to add excluding tags to
the .classpath to get it to ignore the .svn (**/.svn/)?
I have a workspace with hundreds of small projects, and when I rebuild
the eclipse classpaths, I have to set
Hello,
I'm building a Java project using Maven 2.0.9 and JVM 1.5.0_14 on
Windows XP.
My project depends on runtime from some jar files that are resides in
the same directory with my jar so I put this configuration to my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/classpath-fileseparator-problem-in-generated-manifest-file-under-winxp-tp17312374p17313594.html
Sent from the Maven
Using the classpathPrefix.\/classpathPrefix tag I want to get .\ (backslash) as
prefix but the manifest file contains ./ (slash) prefixes. Unfortunatelly running the jar under
WinXP doesn't recognizes paths with slashes :(
I wrote to the list because I didn't found any information in doc pages
This is not a Maven problem.
The classpath entry in the manifest file is platform independent, and all
paths are relative to the containing jar - you shouldn't even need the ./
prefix.
see http://mindprod.com/jgloss/jar.html#CLASSPATH
Regards,
PC
Thalmeiner Zsolt wrote:
Using
Can you send me a simple working example?
Thank you in advance.
th
Paolo Compieta írta:
This is not a Maven problem.
The classpath entry in the manifest file is platform independent, and all
paths are relative to the containing jar - you shouldn't even need the ./
prefix.
see http
Thalmeiner Zsolt schrieb:
Can you send me a simple working example?
Thank you in advance.
th
Paolo Compieta írta:
This is not a Maven problem.
The classpath entry in the manifest file is platform independent, and all
paths are relative to the containing jar - you shouldn't even need the
./
prefix
Hi Lukas,
Thanks very much for this information. I did run with -X and saw the
classpath but expected that the plugin jar would be on the classpath
within a goal defined by that plugin.
I'll extract my stuff into a separate jar.
Chris.
2008/5/16 Lukas Theussl [EMAIL PROTECTED]:
IIRC artifacts
IIRC artifacts of type plugin are not added to the runtime classpath (if
you run with -X you should see a corresponding message). You have to
deploy/install the plugin as a jar and declare a dependency of a jar type.
HTH,
-Lukas
christo wrote:
Hi All,
I've read the docs, googled, read
in context:
http://www.nabble.com/Test-classpath-issue-with-v2.0.8-and-v2.0.9-tp17276386p17276386.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
.
I'm going to guess you're encountering the bug described here:
http://docs.codehaus.org/display/MAVENUSER/Classpath+Ordering+Bugs+in+Maven+Surefire
Upgrading Surefire will probably restore you to the correct behavior.
-Dan
501 - 600 of 1706 matches
Mail list logo