Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Manos Batsis
Johan Eltes wrote: I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassPath entries in the war manifest file.

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread franz see
Good day, If you have a war project and you want some of its dependencies not to be included in your WEB-INF/lib, add ... ... ... provided Cheers, Franz Johan Eltes-3 wrote: > > Thanks. > Now that Maven is generating my manifest ClassPath entr

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Johan Eltes
Thanks. Now that Maven is generating my manifest ClassPath entry for all my dependencies - how do I avoid having the dependent jars copied into the WEB-INF/lib directory of my war? Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED] http

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Jerome Lacoste
On 4/12/07, Johan Eltes <[EMAIL PROTECTED]> wrote: I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassP

How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Johan Eltes
I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassPath entries in the war manifest file. I've fou

RE: Manipulating the surefire booter classpath

2007-04-05 Thread David Jackman
Unfortunately, it appears that adding dependencies to the surefire plugin does not affect the booter classpath in any way. Any other ideas? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 3:10 PM To: Maven Users List Subject: Re

Re: Manipulating the surefire booter classpath

2007-04-05 Thread Marcel Schutte
Recently I used -Xbootclasspath/a: to add dependencies to the forked VM's classpath. I did this because there was some legacy code involved that insists on reading stuff with a getSystemResource(). Regards, Marcel - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To:

Re: Manipulating the surefire booter classpath

2007-04-04 Thread Wayne Fay
mandline argument. I added this using the argLine property of the surefire configuration. However, the instrumentation jar has its own dependencies that aren't present in the surefire booter classpath. Adding them to my list of project dependencies isn't enough--they need to be in the cl

Manipulating the surefire booter classpath

2007-04-04 Thread David Jackman
To run my tests, I have to put in place an instrumentation jar using the -javaagent commandline argument. I added this using the argLine property of the surefire configuration. However, the instrumentation jar has its own dependencies that aren't present in the surefire booter classpath. A

Re: Using containing project's classpath within mojo...

2007-04-04 Thread James Carman
dependencies show up too? > > James > > On 4/4/07, James Carman <[EMAIL PROTECTED]> wrote: >> >> Johan, >> >> I think I see what you mean. I'll give it a whirl when I get to work >> today. Thanks for your help! >> >> James >> &g

Re: Using containing project's classpath within mojo...

2007-04-04 Thread Johan Lindquist
for your help! >> >> James >> >> On 4/4/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: >> > > Hi James & James, > > The classpath element list is simply a list of strings (to locations > within the repository). Please see attached Mojo for a

Re: Using containing project's classpath within mojo...

2007-04-04 Thread James Carman
mean. I'll give it a whirl when I get to work today. Thanks for your help! James On 4/4/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi James & James, > > The classpath element list is simply a l

Re: Using containing project's classpath within mojo...

2007-04-04 Thread James Carman
Johan, I think I see what you mean. I'll give it a whirl when I get to work today. Thanks for your help! James On 4/4/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James & James, The classpath element list is simply a list

Re: Using containing project's classpath within mojo...

2007-04-04 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James & James, The classpath element list is simply a list of strings (to locations within the repository). Please see attached Mojo for a simple example. One issue with this is that some classes (in your case, most likely the spring cla

Re: Using containing project's classpath within mojo...

2007-04-03 Thread James CE Johnson
an wrote: >> Johan, >> >> What kind of objects should I expect in that list? >> >> James >> >> p.s. Are you on every mailing list? :-) >> >> >> On 4/3/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: >>> >>>

Re: Using containing project's classpath within mojo...

2007-04-03 Thread Johan Lindquist
that list? > > James > > p.s. Are you on every mailing list? :-) > > > On 4/3/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: >> >> Hi James, >> >> Try using the following property in you Mojo. >> >> /** >> * Th

Re: Using containing project's classpath within mojo...

2007-04-03 Thread James Carman
Johan, What kind of objects should I expect in that list? James p.s. Are you on every mailing list? :-) On 4/3/07, Johan Lindquist <[EMAIL PROTECTED]> wrote: Hi James, Try using the following property in you Mojo. /** * The classpath elements of the p

Re: Using containing project's classpath within mojo...

2007-04-03 Thread Johan Lindquist
Hi James, Try using the following property in you Mojo. /** * The classpath elements of the project. * * @parameter expression="${project.runtimeClasspathElements}" * @required * @readonly */ private List classpathElements; I think in this case,

Re: Using containing project's classpath within mojo...

2007-04-03 Thread James Carman
an}" * @required */ private String loaderBean; public void execute() throws MojoExecutionException { // Load all META-INF/beans.xml files on classpath! ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:META-INF/beans.xml&qu

Re: Using containing project's classpath within mojo...

2007-04-03 Thread franz see
I try to instantiate that class, it's not > available. Is there something special I need to do to tell Maven to > include > the current project's classpath in my mojo's environment? > > James > > -- View this message in context: http://www.nabble.com/Using-c

Using containing project's classpath within mojo...

2007-04-03 Thread James Carman
er class to use. Anyway, I now want to use that mojo within another project to run a loader defined within that project. When I try to instantiate that class, it's not available. Is there something special I need to do to tell Maven to include the current project's classpath in my mojo's environment? James

Accessing maven compile classpath in plugin

2007-03-29 Thread Rahul Khot
I am writing a plugin for generating JAXB 1.6 sources . The plugin is written in ant. How do I access the compile classpath in the plugin. My plugin code: XSD File Name ${xsdFileName

How to get custom artifact's dependencies on dependent's classpath?

2007-03-22 Thread Tommy Knowlton
uot;Don't Repeat Yourself" comes into play: now, if Oracle ships a new ojdbc15.jar, I only have to update my jdbc-installer, and all of it's dependents notice the change "magically". Except for one problem: my custom artifact type's dependencies don't get added

RE: maven dependency classpath

2007-03-08 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
It seems in maven2.0.5, we can control the order in pom.xml -Original Message- From: Rod Mclaughlin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 1:10 PM To: Maven Users List Subject: Re: maven dependency classpath That's a good question! If we can control the clas

Re: maven dependency classpath

2007-03-08 Thread Rod Mclaughlin
That's a good question! If we can control the classpath order, we can avoid the 'cglib-full' issue (the issue is that class x.y.Z is on the classpath twice, our code requires method a(), and the first example of x.y.Z on the classpath does not have a method a() but the second

maven dependency classpath

2007-03-08 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Does anyone know how maven creates the classpath from the dependencies. Whats the order it creates ? How can we control the order ? Thanks!!

RE: Using the POM classpath for integration testing

2007-03-08 Thread Philippe Kernevez
Hi, I just had the mechanism to the plugin. Had this parameter to use Maven POM instead of FitNesse classpath. maven The default value is "fitnesse". The new SNAPSHOT is available in the repository. There is an example there: http://mojo.codehaus.org/fitnesse-maven-plugi

RE: classpath order

2007-03-08 Thread Jörg Schaible
> Its the same pom.xml file. Nothing is changed. Because some classes > are available in different jars there are some classpath issue > and build is > failing for me. > > Also is there anyway we can control the order the > dependencies added to >

classpath order

2007-03-07 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
some classpath issue and build is failing for me. Also is there anyway we can control the order the dependencies added to the classpath. Thanks!!

Plugin classloader and classpath

2007-03-07 Thread chetan mehrotra
Hi, I have to write a plugin in which I require to load a Spring context as specified in configuration. And this plugin is executed directly from the command line instead of lifecycle phase. In Maven reference docs it is mentioned that each plugin has a seperate classloader and classes/depende

[m2] How to have "target/classes" in the plugin classpath?

2007-03-06 Thread Alessio Pace
Hi, I can't figure out how what I should do to make the "target/classes" content (populated in the "compile" phase) be in the classpath of the plugin, because the plugin needs to access some resources.. My MOJO definition is just: /* * @goal run * @requiresDep

RE: Using the POM classpath for integration testing

2007-03-05 Thread Eric Torreborre
[Please refer to the fitnesse thread regarding the fitnesse usage questions] Coming back to Maven2,... Since I would like to keep my acceptance pages along with my source files, I think I am going to need a way to launch my mojo with the project (recursive) dependencies in the classpath. Anyone

RE: Using the POM classpath for integration testing

2007-03-05 Thread Philippe Kernevez
This thread will continue on [EMAIL PROTECTED] -Original Message- From: Eric Torreborre [mailto:[EMAIL PROTECTED] Sent: lundi 5 mars 2007 06:09 To: Maven Users List Subject: RE: Using the POM classpath for integration testing Hi Philippe, Here is the setup I have in mind. Not only

RE: Using the POM classpath for integration testing

2007-03-04 Thread Eric Torreborre
PROTECTED] Sent: Monday, March 05, 2007 6:42 AM To: 'Maven Users List' Subject: RE: Using the POM classpath for integration testing Hi Eric, I our approach there is always a centralized FitNesse server running. This server is available for all project people, including non developers. Our two

RE: Using the POM classpath for integration testing

2007-03-04 Thread pkernevez
ecuted by non developer people, so our Fitnesse must be available with the FitNesse IHM. So we must maintain the classpath in the Wiki page, in this case maintain the POM dependencies for functional tests is a replication for us :-). If your prefer to use the POM dependencies, it's easy f

RE: Using the POM classpath for integration testing

2007-03-04 Thread pkernevez
t seems to be a 'one developer' team or manual synchronization of the FitNesse repository. In return, what do you think of this approach ? Philippe -Original Message- From: Eric Torreborre [mailto:[EMAIL PROTECTED] Sent: vendredi 2 mars 2007 02:27 To: Maven Users List Subject: RE

RE: Using the POM classpath for integration testing

2007-03-01 Thread Eric Torreborre
lippe Kernevez [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:36 AM To: 'Maven Users List' Subject: RE: Using the POM classpath for integration testing Hi Eric, Do you speak about the fitnesse-maven-plugin ? I suppose that's the case. The plugin doesn't use the POM

RE: Using the POM classpath for integration testing

2007-03-01 Thread Eric Torreborre
'Maven Users List' Subject: RE: Using the POM classpath for integration testing Hi Eric, Do you speak about the fitnesse-maven-plugin ? I suppose that's the case. The plugin doesn't use the POM dependencies because they are supposed to be specified in the Fitnesse page. The plugin

How to add jar to test classpath in a plugin ?

2007-03-01 Thread JC Walmetz
With sthe system scope it is possible to specify a jar in the dependencies. I try to write a plugin that adds all the jars contains in a directory to the test classpath. (I can not add jars in the pom dependencies because those jars are installed by another plugin). How can I add dependencies to

RE: Using the POM classpath for integration testing

2007-03-01 Thread Philippe Kernevez
Hi Eric, Do you speak about the fitnesse-maven-plugin ? I suppose that's the case. The plugin doesn't use the POM dependencies because they are supposed to be specified in the Fitnesse page. The plugin provides a solution to change the server classpath (with string substitution), this

RE: Dependency build classpath

2007-03-01 Thread Brian E. Fox
The build classpath mojo is new to alpha-2. It should be released soon, until then you can use a SNAPSHOT or build and install locally. -Original Message- From: Aidan O'Donnell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 5:10 AM To: users@maven.apache.org Su

Dependency build classpath

2007-03-01 Thread Aidan O'Donnell
Hi, I would like to output the classpath to a file using the dependency build classpath plugin and goal. I am using the following in my POM to no avail: org.apache.maven.plugins maven-dependency-plugin build-classpath generate

Using the POM classpath for integration testing

2007-02-28 Thread Eric Torreborre
Hi, I have written a simple maven plugin that runs Fitnesse pages during the integration-test phase. However, it looks like this plugin, when executed, does not find the classes that should be provided by the POM (along with dependencies). Is there is configuration that should be done, in order

RE: [M2] Classpath issue

2007-02-26 Thread Siegmann Daniel, NY
No, there is definitely only one version in the classpath, and I'm not sure how that would cause a ClassNotFoundException. This is the root exception: Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser at org.xml.sax.helpers.XMLReaderFactory.createXMLR

Re: Required goal not found: dependency:build-classpath

2007-02-23 Thread Brad Szabo
According to http://maven.apache.org/plugins/maven-dependency-plugin/usage.html the "build-classpath" goal is new, since 2.0-alpha-2. That version is not available on ibiblio yet, only 2.0-alpha-1 is. Looks like you will have to check out the source code and build it if you need that goa

Required goal not found: dependency:build-classpath

2007-02-23 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Any idea ? $ mvn dependency:build-classpath [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [ERROR] BUILD FAI

Re: [M2] Classpath issue

2007-02-23 Thread Marcos Silva Pereira
There is some other version of xerces in your classpath? Kind Regards, On 2/23/07, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote: I am trying to convert a project from Maven1 to Maven2. Should be simple, but I am getting a ClassNotFoundException on the following line in my code when r

[M2] Classpath issue

2007-02-23 Thread Siegmann Daniel, NY
-2.4.0.jar, I have verified. This is listed as a dependency, and the -X option confirms it should be on the classpath. I built the eclipse files and ran the test, no problem - I had to remove some nested directories listed under resources, but this shouldn't have any effect on class loading.

m2: How to include jars in classpath of xdoclet plugin definition?

2007-02-23 Thread Joaquim Oliveira
Hi all, I cannot generate xdoclet from my EJB classes because my classes extend one class from an external jar, that needs to be in classpath when the task is defined. How do I do this in the m2 xdoclet plugin configuration? Here is my actual plugin configuration

RE: unable to get dependency classpath passed to an ant script

2007-02-19 Thread Barrett Nuzum
Hey EJ. I don't see anything wrong with your ant, per se. However, if you have a multi-module build, maven.*.classpath does not resolve correctly when building children of the parent. That is to say -- ParentProject/ --- pom.xml --- Child Pr

unable to get dependency classpath passed to an ant script

2007-02-19 Thread EJ Ciramella
We're still in process of converting from a strictly ant build to a maven 2 build and we're relying on a few snippets ouf of our old ant scripts. Currently, one is really throwing us for a loop: src/main/scripts ../scripts false

Re: assembly and jar plugins with SNAPSHOT dependencies and classpath manifest

2007-02-19 Thread Geoffrey De Smet
in is configured with: true so it generates: Class-Path: fun-0.1.0-SNAPSHOT.jar ... My assembly plugin has a descriptor like this: /lib runtime The problem is, it doesn't add fun-0.1.0-SNAPSHOT.jar but fun-0.1.0-20070215.103444-1.jar So my classpath fails. Thanks f

RE: Accessing the POM classpath from within an Ant based mojo

2007-02-18 Thread hermod.opstvedt
List Users Subject: Accessing the POM classpath from within an Ant based mojo I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Matt Brozowski
On Feb 17, 2007, at 4:54 PM, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
, at 4:54 PM 17 Feb 07, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when I

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Jason van Zyl
On 17 Feb 07, at 4:54 PM 17 Feb 07, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath

Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when I reference that I get an error that it is not

assembly and jar plugins with SNAPSHOT dependencies and classpath manifest

2007-02-16 Thread Geoffrey De Smet
em is, it doesn't add fun-0.1.0-SNAPSHOT.jar but fun-0.1.0-20070215.103444-1.jar So my classpath fails. Thanks for any and all help, PS: grats on the 2.0.5 release :) -- With kind regards, Geoffrey De Smet - To unsu

RE: additional classpath to maven2

2007-02-08 Thread Brian E. Fox
The maven and codehaus ones are the same plugin. The maven one is newer. -Original Message- From: jiangshachina [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 1:36 AM To: users@maven.apache.org Subject: Re: additional classpath to maven2 Hi, I ever used maven:maven

RE: additional classpath to maven2

2007-02-07 Thread jiangshachina
Hello, Factly, I don't use the plugins. > how can I add that folder to the classpath ? I think Maven doesn't regard the jars as dependency at compile/runtime. I think you can set the jars to "system" scope dependencies. It's better to use dependency mechanism,

RE: additional classpath to maven2

2007-02-07 Thread franz see
Good day, Try unpackaging the class files to target\class ( or target\test-classes if it's for testing ). But I am not sure if that would be enough so that those classes would be included in the classpath. But again, why not use make those jars your dependencies? And what are you trying

RE: additional classpath to maven2

2007-02-07 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Once jars are copied to a specific directory, how can I add that folder to the classpath ? -Jagan -Original Message- From: jiangshachina [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 10:36 PM To: users@maven.apache.org Subject: Re: additional classpath to maven2 Hi, I

Re: additional classpath to maven2

2007-02-07 Thread jiangshachina
ugin to unpack > the files. > > Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) > wrote: >> >> Hi, >> >> Is it possible to add additional classpath (not specified in the >> dependency) to maven2 on runtime. >> The i

Re: additional classpath to maven2

2007-02-07 Thread franz see
dency plugin or assembly plugin to unpack the files. Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) wrote: > > Hi, > > Is it possible to add additional classpath (not specified in the > dependency) to maven2 on runtime. > The idea is to unzip the jars to a

Re: Order of classpath supplied by dependencies ant task

2007-02-07 Thread franz see
for your dependency management and not use >> maven's ? >> >> Cheers, >> Franz >> >> >> Joseph Leniston wrote: >>> >>> Hi, >>> >>> I am using Antlib for Maven 2.0 to do dependency management in our ant >>>

Re: Order of classpath supplied by dependencies ant task

2007-02-07 Thread Joseph Leniston
ompiling common, server and >> client code. I also want to use maven to manage our server runtime >> classpath. I use the following code to get the server runtime classpath >> from a POM file and store it in a pathId for use later. >> >> > file

additional classpath to maven2

2007-02-07 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Hi, Is it possible to add additional classpath (not specified in the dependency) to maven2 on runtime. The idea is to unzip the jars to a specific directory and add those jars to compile / jar classpath. Thanks

Re: Order of classpath supplied by dependencies ant task

2007-02-07 Thread franz see
ib for Maven 2.0 to do dependency management in our ant > builds. I have a number of POM files for compiling common, server and > client code. I also want to use maven to manage our server runtime > classpath. I use the following code to get the server runtime classpath > from a POM file and

Order of classpath supplied by dependencies ant task

2007-02-06 Thread Joseph Leniston
Hi, I am using Antlib for Maven 2.0 to do dependency management in our ant builds. I have a number of POM files for compiling common, server and client code. I also want to use maven to manage our server runtime classpath. I use the following code to get the server runtime classpath from a POM

RE: dependency classpath order

2007-01-31 Thread Greg Jones
: Wednesday, 31 January 2007 10:23 PM To: users@maven.apache.org Subject: dependency classpath order Hi, My project depends on a lot of dependencies that can be found in the online Maven repo, but also on a lot of own jars that were made to connect to web services etc. I installed them manually in

dependency classpath order

2007-01-31 Thread jelle.volckaert
Hi, My project depends on a lot of dependencies that can be found in the online Maven repo, but also on a lot of own jars that were made to connect to web services etc. I installed them manually in the repo with mvn install:install-file. Now I'm having this problem, when my clas

RE: eclipse:generate-classpath and .classpath

2007-01-29 Thread Sabiq, Reshat
2007 10:12 AM > To: Maven Users List > Subject: RE: eclipse:generate-classpath and .classpath > > This was w/ m1 and eclipse-plugin 1.11. However, I've just changed > permissions to make .classpath writeable, and this doesn't happen > anymore. Perhaps it a tempo

RE: eclipse:generate-classpath and .classpath

2007-01-29 Thread Sabiq, Reshat
This was w/ m1 and eclipse-plugin 1.11. However, I've just changed permissions to make .classpath writeable, and this doesn't happen anymore. Perhaps it a temporary fluke, since I can't reproduce it now... > -Original Message- > From: Arnaud HERITIER [mailto:[EM

RE: Dependency plugin and build-classpath goal issue

2007-01-24 Thread Brian E. Fox
atest site plugin isn't generating it correctly. -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 10:00 AM To: Maven User List Subject: Dependency plugin and build-classpath goal issue Hi, I'm trying to use the maven-dependen

Dependency plugin and build-classpath goal issue

2007-01-24 Thread Nunn, Gerald
Hi, I'm trying to use the maven-dependency-plugin to build a classpath using the build-classpath goal as documented here http://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html. However, when I try to execute this goal I get an error that says that no such

Re: Surefire Classpath

2007-01-20 Thread Dan Tran
there away to add other jars to the surefire classpath for testing? I'm running a javaagent that requires some new jars on the surefire classpath. Any help would be appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Surefire Classpath

2007-01-20 Thread Gregory D Carter
Is there away to add other jars to the surefire classpath for testing? I'm running a javaagent that requires some new jars on the surefire classpath. Any help would be appreciated. - To unsubscribe, e-mail: [EMAIL PROT

[M2] Weird classpath problem (servlet-api)

2007-01-19 Thread kcheang
Hi All, I have a web application which uses Maven2. It was working fine until I started to add additional features which requires more 3rd-party libraries. After I added these libraries to my dependency list, Maven couldn't compile the application because servlet-api was not on the clas

Problem finding dependency:build-classpath goal in Maven dependency plug-in

2007-01-18 Thread Chad Sapp
Hi, What repository do I need to point to in order to get the dependency plug-in that has the build-classpath goal implemented. Everything that I am pointed to has the dependency plug-in but that goal is not available. Here is the error message that I am getting: [INFO] Scanning for

Re: How do I programatically add an element to my plugin's classpath?

2007-01-17 Thread allan ramirez
venProject > > Regards > -allan > > > On 1/18/07, matthewadams <[EMAIL PROTECTED]> wrote: >> >> My mojo allows the user to define an extra property ("private File >> licenseFileDirectory"), which is a directory, that I'd like to add to t

Re: How do I programatically add an element to my plugin's classpath?

2007-01-17 Thread matthewadams
ards > -allan > > > On 1/18/07, matthewadams <[EMAIL PROTECTED]> wrote: >> >> My mojo allows the user to define an extra property ("private File >> licenseFileDirectory"), which is a directory, that I'd like to add to the >> classpath when

Re: How do I programatically add an element to my plugin's classpath?

2007-01-17 Thread allan ramirez
rivate File licenseFileDirectory"), which is a directory, that I'd like to add to the classpath when my mojo runs so that I can find a resource (a license file) in the given directory. How can I programatically add this to the classpath in my mojo? Is there some best practice for this? Thanks,

How do I programatically add an element to my plugin's classpath?

2007-01-17 Thread matthewadams
My mojo allows the user to define an extra property ("private File licenseFileDirectory"), which is a directory, that I'd like to add to the classpath when my mojo runs so that I can find a resource (a license file) in the given directory. How can I programatically add this to t

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-17 Thread Lasse Koskela
Hi, On 1/17/07, Niels Gylling <[EMAIL PROTECTED]> wrote: Also make sure you have the following mojo property set @requiresDependencyResolution compile That will populate ${plugin.artifacts} Thanks. I had that set to "test". I actually did get my stuff working by using the ${plugin.artifactMa

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-17 Thread Niels Gylling
Also make sure you have the following mojo property set @requiresDependencyResolution compile That will populate ${plugin.artifacts} /Niels - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-17 Thread Lasse Koskela
Hmm. Answering my own question, it looks like "${plugin.artifactMap}" might do the trick. Let me report back after I've had a chance to try it out. Lasse On 1/17/07, Lasse Koskela <[EMAIL PROTECTED]> wrote: Allan, Franz, On 1/17/07, franz see <[EMAIL PROTECTED]> wrote: > For more information a

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-17 Thread Lasse Koskela
Allan, Franz, On 1/17/07, franz see <[EMAIL PROTECTED]> wrote: For more information about Maven Properties, please see [1]. [1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide allan ramirez wrote: > Have you tried using ${plugin.artifacts} expression? Thanks for the tips, alth

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-16 Thread franz see
se Koskela <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I'm developing a Maven 2 plugin and I'm having trouble making my >> plugin see the necessary libraries etc. in its classpath. >> >> What I need is: >> 1) the plugin itself and all of its

Re: How to make plugin see the full (project & plugin) classpath?

2007-01-16 Thread allan ramirez
Have you tried using ${plugin.artifacts} expression? -allan On 1/17/07, Lasse Koskela <[EMAIL PROTECTED]> wrote: Hi, I'm developing a Maven 2 plugin and I'm having trouble making my plugin see the necessary libraries etc. in its classpath. What I need is: 1) the plugin itsel

How to make plugin see the full (project & plugin) classpath?

2007-01-16 Thread Lasse Koskela
Hi, I'm developing a Maven 2 plugin and I'm having trouble making my plugin see the necessary libraries etc. in its classpath. What I need is: 1) the plugin itself and all of its dependencies 2) the compilation classpath and all dependencies for the project that's using the p

Re: eclipse:generate-classpath and .classpath

2007-01-13 Thread Arnaud HERITIER
With maven 1? Which version of the plugin ? How is your .classpath ? Arnaud On 1/13/07, Sabiq, Reshat <[EMAIL PROTECTED]> wrote: I'd appreciate any feedback on this: i'm getting jars from WEB-INF/lib listed under java resources in RAD6 in addition to jars put in by eclips

eclipse:generate-classpath and .classpath

2007-01-12 Thread Sabiq, Reshat
I'd appreciate any feedback on this: i'm getting jars from WEB-INF/lib listed under java resources in RAD6 in addition to jars put in by eclipse plug-in, which reside in MAVEN_REPO. So most of them are duplicated in .classpath by the IDE, after running eclipse:generate-classpath.

eclipse:generate-classpath and .classpath

2007-01-12 Thread Sabiq, Reshat
I'd appreciate any feedback on this: i'm getting jars from WEB-INF/lib listed under java resources in RAD6 in addition to jars put in by eclipse plug-in, which reside in MAVEN_REPO. So most of them are duplicated in .classpath by the IDE, after running eclipse:generate-classpath. E

Re: maven-jar-plugin(?): customized classpath

2007-01-12 Thread Wayne Fay
lib/dep1.jar lib/dep2.jar" part. Adding merge/MANITEST.MF after the element, where the "merge/MANIFEST.MF" file contains only single line "Class-Path: conf/" caused the whole classpath section to be replaced in the resulting manifest (i.e. there were no dependen

maven-jar-plugin(?): customized classpath

2007-01-12 Thread Ján Ďurovec
2.jar" part. Adding merge/MANITEST.MF after the element, where the "merge/MANIFEST.MF" file contains only single line "Class-Path: conf/" caused the whole classpath section to be replaced in the resulting manifest (i.e. there were no dependencies). Is there a way how

How to get the classpath in a Maven 2 ANT plugin?

2007-01-09 Thread Julian Payne
I am trying to run a task with a custom in an Ant plugin. In order for the task to find the doclet I need the classpath of the execution. Is there any way to create a parameter in the generate.mojos.xml file so that I can pass the classpath as a string (as I would get from the ant task )? I

RE: M2 classpath for ant taskdef

2007-01-09 Thread Ran Zilber
Dear Franz, Thanks a lot you did my day!!! :-) -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 3:00 PM To: users@maven.apache.org Subject: Re: M2 classpath for ant taskdef Good day to you, Ran, You can try and take a look at [1]. Cheers

Re: M2 classpath for ant taskdef

2007-01-09 Thread franz see
Good day to you, Ran, You can try and take a look at [1]. Cheers, Franz [1] http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Ran Zilber wrote: > > > Hi all, > > > > > > > > I am trying to invoke ant 'taskdef'

M2 classpath for ant taskdef

2007-01-09 Thread Ran Zilber
Hi all, I am trying to invoke ant 'taskdef' using the current maven complie classpath. What is the maven class path variable I can use? Here is the pom snippet: maven-antrun-plugin

RE: [m2] maven-antrun-plugin classpath related behavior changed

2007-01-03 Thread bigred0241
5 and fails like: > > Embedded error: The following error occurred while executing this line: > /home/am74839/sree/esf_samples_build.xml:162: Unable to find a javac > compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK >

<    5   6   7   8   9   10   11   12   13   14   >