Javadoc:jar error: Not executing Javadoc as the project is not a Java classpath-capable package

2008-01-29 Thread Ryan H.
as the project is not a Java classpath-capable package Thanks Ryan

Re: can maven run java program using dependence artifact information as classpath?

2008-01-29 Thread Wayne Fay
The exec-maven-plugin should interest you: http://mojo.codehaus.org/exec-maven-plugin/usage.html Wayne On 1/29/08, Rex Huang <[EMAIL PROTECTED]> wrote: > I just give mainclass and parameters information, > then maven runs the mainclass and use dependence artifact information as

can maven run java program using dependence artifact information as classpath?

2008-01-29 Thread Rex Huang
I just give mainclass and parameters information, then maven runs the mainclass and use dependence artifact information as classpath. Can this work? BR//Rex

Howw do you specifically set classpath using exec:java plugin

2008-01-28 Thread shep
I have a multiple module project. Most of the modules package as a jar. I am trying to run a class using the exec plugin. Here is the command I use (note it is configured using netbens6) Executing:C:\Apps\apache-maven-2.0.8\bin\mvn.bat -Dexec.args=full -classpath -Dexec.mainClass

Re: multimodule classpath

2008-01-24 Thread Simon Kitching
John Coleman <[EMAIL PROTECTED]> schrieb: > Hi, > > Is it possible to get a classpath for a multimodule project that > contains all the subproject target/class folders? What would be the point of that? Each module has exactly the classpath it needs, dynamically computed b

multimodule classpath

2008-01-24 Thread John Coleman
Hi, Is it possible to get a classpath for a multimodule project that contains all the subproject target/class folders? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions

Re: Manifest classpath entry

2008-01-23 Thread Wayne Fay
As far as I am aware, no. You will need to install/deploy all of your Weblogic jars and use the Maven method to build up your classpath. Wayne On 1/23/08, robcon <[EMAIL PROTECTED]> wrote: > > Wayne, > > You are correct in what you are saying and I need to re-word my qu

Re: Manifest classpath entry

2008-01-23 Thread robcon
Wayne, You are correct in what you are saying and I need to re-word my question. The Jars I actually need for the build are referenced by the classpath structure within the weblogic.jar and so when I perform a build in eclipse it finds these jar using the classpath hierarchy. Is there

Re: Manifest classpath entry

2008-01-23 Thread Wayne Fay
a dependancy on a jar (Weblogic.jar) which has many > Jars listed in the classpath Entry in its Manifest.MF file. > > When doing a Maven install maven appears to be trying to reference some of > the jars in the classpath but is unable to find them because the > weblogic.jar is in the Maven repo

Manifest classpath entry

2008-01-23 Thread robcon
In our Maven POM we have a dependancy on a jar (Weblogic.jar) which has many Jars listed in the classpath Entry in its Manifest.MF file. When doing a Maven install maven appears to be trying to reference some of the jars in the classpath but is unable to find them because the weblogic.jar is

Re: Resources from classpath in JAR

2008-01-16 Thread Simon Kitching
dddzzz <[EMAIL PROTECTED]> schrieb: > > > > Heinrich Nirschl wrote: > > > > > > Put them into src/main/resources. > > > > > > I want them to be in same folder that classes are. That's a reasonable way to structure your code I think. I always used to put resources together with the co

Re: Resources from classpath in JAR

2008-01-15 Thread Heinrich Nirschl
On Jan 15, 2008 7:31 PM, dddzzz <[EMAIL PROTECTED]> wrote: > > > > Heinrich Nirschl wrote: > > > > > > Put them into src/main/resources. > > > > > > I want them to be in same folder that classes are. Which folder do you mean, the one with the .class files or with the .java files? The final jar wil

Re: Resources from classpath in JAR

2008-01-15 Thread dddzzz
Heinrich Nirschl wrote: > > > Put them into src/main/resources. > > I want them to be in same folder that classes are. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14844214.html Sent from the Maven - Users mailing

Re: Resources from classpath in JAR

2008-01-14 Thread Heinrich Nirschl
On Jan 14, 2008 10:24 PM, dddzzz <[EMAIL PROTECTED]> wrote: > > How can I make maven2 to include files (like .xml and .property) in JAR > without adding resource include in POM. Put them into src/main/resources. - To unsubscribe,

Resources from classpath in JAR

2008-01-14 Thread dddzzz
How can I make maven2 to include files (like .xml and .property) in JAR without adding resource include in POM. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14814993.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-14 Thread Huang
we're using eclipse 3.3 version On Jan 14, 2008 10:53 AM, Steinar Bang <[EMAIL PROTECTED]> wrote: > >>>>> Huang <[EMAIL PROTECTED]>: > > > Has anyone encountered this issue when using maven2 Eclipse plug-in? > > Basically, after I use it to gener

Re: Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-14 Thread Steinar Bang
>>>>> Huang <[EMAIL PROTECTED]>: > Has anyone encountered this issue when using maven2 Eclipse plug-in? > Basically, after I use it to generate .classpath and .project file for > a project, Eclipse IDE has a trouble with processing .classpath and > complains

Eclipse has a trouble with processing .classpath file generated by maven Eclipse plug-in

2008-01-13 Thread Huang
Hello, Has anyone encountered this issue when using maven2 Eclipse plug-in? Basically, after I use it to generate .classpath and .project file for a project, Eclipse IDE has a trouble with processing .classpath and complains: cannot next "blah_blah_blah.../resources&qu

RE: Classpath order of dependencies

2008-01-11 Thread Jörg Schaible
beta2 >> >> ... >> >> >> If I change the order of this two dependencies I get not error. >> >> Is the order in the pom the crucial factor on how the classpath is >> build in maven? Or is it possible that transient dependencies >>

Re: Classpath order of dependencies

2008-01-11 Thread Simon Kitching
an NoClassDefFoundError: > > ... > > org.hibernate > hibernate-validator > 3.0.0.ga > > > > org.jboss.embedded > hibernate-all > beta2 > > ... > > > If I change the order of this two dependencies I get not

Classpath order of dependencies

2008-01-11 Thread Marco Huber
org.jboss.embedded hibernate-all beta2 ... If I change the order of this two dependencies I get not error. Is the order in the pom the crucial factor on how the classpath is build in maven? Or is it possible that transient dependencies overwrites direct dependencies? Thank

Re: [Surefire2.3] Resources classpath problem

2008-01-10 Thread Cory Prowse
Yes this does appear to be a problem still in Maven 2.0.8 and I've raised what seems to be a similar issue here: http://jira.codehaus.org/browse/SUREFIRE-427 Although my issue is focusing on test-resources completely missing in the test-classpath. -- Cory Olivier Catteau wrote: &g

[Surefire2.3] Resources classpath problem

2008-01-10 Thread Olivier Catteau
Hello, We have a few problems with the classpath used by surefire. Some tests fail randomly due to the order of the classpath managed by Surefire. During the execution of unit tests, it seems that the classpath used by maven differs from the classpath used by my IDE (IntelliJ). In IntelliJ

Re: Maven2 build and package targets' classpath

2008-01-10 Thread Filipe David Manana
It works! :) Thank you. On 1/10/08, Simon Kitching <[EMAIL PROTECTED]> wrote: > > Filipe David Manana <[EMAIL PROTECTED]> schrieb: > > Hi, > > > > I want to add a JAR archive to the CLASSPATH for the targets > build/package. > > I don't wan

Re: Maven2 build and package targets' classpath

2008-01-10 Thread Simon Kitching
Filipe David Manana <[EMAIL PROTECTED]> schrieb: > Hi, > > I want to add a JAR archive to the CLASSPATH for the targets build/package. > I don't want to include that JAR archive in my final WAR file. I read the > documentation, and for that purpose I added in m

Maven2 build and package targets' classpath

2008-01-10 Thread Filipe David Manana
Hi, I want to add a JAR archive to the CLASSPATH for the targets build/package. I don't want to include that JAR archive in my final WAR file. I read the documentation, and for that purpose I added in my pom.xml the following to the element: o

Surefire-plugin 2.3.1 xml-apis classpath issue

2008-01-09 Thread Ivan Garcia
ve it installed in the jdk/jre. Using 3.2 plugin version XSD validation works fine Any idea if this must be reported as a bug? Thanks Ivan Garcia -- View this message in context: http://www.nabble.com/Surefire-plugin-2.3.1-xml-apis-classpath-issue-tp14707599s177p14707599.html Sent from the

Re: Maven2 + Classpath

2007-12-22 Thread Steinar Bang
> Steinar Bang <[EMAIL PROTECTED]>: Here's my mistake: > >org.eclipse.osgi >org.eclipse.osgi >3.2.1-R32x_v20060919 >system > > ${basedir}/target/dependencies/someosgiapp/org.eclipse.osgi_3.2.1_R32x_v20060919.jar > The value of is wrong. It should be: ${basedi

Re: Maven2 + Classpath

2007-12-21 Thread Steinar Bang
> "Stuart McCulloch" <[EMAIL PROTECTED]>: > I did a quick test and using ${basedir} appeared to work for me I'm stuck with maven 2.0.4. Perhaps that's the cause of my problems? > - note that the basedir is the directory with the pom, so if you > unpack to "target/someosgiapp" then you need

Re: Maven2 + Classpath

2007-12-18 Thread Stuart McCulloch
On 18/12/2007, Steinar Bang <[EMAIL PROTECTED]> wrote: > > > "Stuart McCulloch" <[EMAIL PROTECTED]>: > > > well, there are system scope dependencies that let you refer to > > library artifacts in a fixed location like "/usr/share/lib/..." but > > their use is discouraged, because it makes thing

Re: Maven2 + Classpath

2007-12-18 Thread Steinar Bang
> "Stuart McCulloch" <[EMAIL PROTECTED]>: > FYI, you might be interested in: >http://wiki.ops4j.org/confluence/x/A4A6Pax-Runner >http://wiki.ops4j.org/confluence/x/8QPax-Construct > which aim to make OSGi development and deployment a breeze with Maven Thanx for the tip!

Re: Maven2 + Classpath

2007-12-18 Thread Steinar Bang
> "Stuart McCulloch" <[EMAIL PROTECTED]>: > well, there are system scope dependencies that let you refer to > library artifacts in a fixed location like "/usr/share/lib/..." but > their use is discouraged, because it makes things less portable: > http://maven.apache.org/guides/introduction/in

Re: Maven2 + Classpath

2007-12-17 Thread Stuart McCulloch
On 18/12/2007, Steinar Bang <[EMAIL PROTECTED]> wrote: > > > "Wayne Fay" <[EMAIL PROTECTED]>: > > > That's just not the way Maven works. What libraries in particular do > > you need -- many should be available in the Maven repo already, so its > > simply a matter of writing the proper pom.xml

Re: Maven2 + Classpath

2007-12-17 Thread Steinar Bang
> "Wayne Fay" <[EMAIL PROTECTED]>: > That's just not the way Maven works. What libraries in particular do > you need -- many should be available in the Maven repo already, so its > simply a matter of writing the proper pom.xml entries. That's not always sufficient. Eg. if you want to start

Re: Custom classpath for maven-surefire-plugin?

2007-12-17 Thread Steinar Bang
>>>>> Steinar Bang <[EMAIL PROTECTED]>: > I would like to limit the classpath for a maven-surefire-plugin to > something other than what comes from the . > Is that possible? How does one do it? It's in Subversion, but I can't tell from here wh

Re: Maven2 + Classpath

2007-12-17 Thread Wayne Fay
ere any way tell maven2 to search libraries at Classpath first and then > in maven repository? > > My admin say that most of library needed are installed at /usr/share/java > and he wants to load libraries from this place first... > > Thanks > -- > View this message in context

Maven2 + Classpath

2007-12-17 Thread email11249845
Hi Is there any way tell maven2 to search libraries at Classpath first and then in maven repository? My admin say that most of library needed are installed at /usr/share/java and he wants to load libraries from this place first... Thanks -- View this message in context: http://www.nabble.com

1.0.2 --> 1.1 classpath problem

2007-12-17 Thread John.E.Gregg
Hi all, I'm trying to move from 1.0 to 1.1 but am having a classpath problem with my junit tests. In particular, I have a test that extends Spring's AbstractTransactionalDataSourceSpringContextTests. Hibernate is involved there also. In 1.0.2 LocalSessionFactoryBean's (s

Custom classpath for maven-surefire-plugin?

2007-12-16 Thread Steinar Bang
I would like to limit the classpath for a maven-surefire-plugin to something other than what comes from the . Is that possible? How does one do it? I would like the classpath to contain three things: - the target/classes/ directory - the target/test-classes/ directory - the JAR file target

How to access classpath from a test running in maven/surefire

2007-12-10 Thread Evan Worley
One of the classes that is used in a test explores the classpath to search for classes with a specific annotation. This test works fine in the IDE because when the junit runner runs the test, the "java.class.path" environment variable is set as expected and thus I can search this classp

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
Oh really? Wish I would have seen that option sooner. Thanks! I'll go look. On Nov 29, 2007 2:58 PM, <[EMAIL PROTECTED]> wrote: > Ah, I misunderstood. Try running 'mvn test -X', you'll be able to see > the classpath and verify (look for "[DEBUG] (f)

RE: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Blue . Thomas
Ah, I misunderstood. Try running 'mvn test -X', you'll be able to see the classpath and verify (look for "[DEBUG] (f) classpathElements") -Original Message- From: Ryan Moquin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 2:49 PM To: Maven Use

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
But I mean, if I had a subproject that generates a jar file containing test resources and in include it in another project as a test scoped dependency, will those classes also be first in the classpath since they are an included test resource? On Nov 29, 2007 2:04 PM, <[EMAIL PROTECTED]>

RE: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Blue . Thomas
It's supposed to: http://maven.apache.org/release-notes.html * MNG-3118 - Test-classes should come before classes in the classpath. This may slightly alter behavior of tests. The test-classes is now included first in the classpath to allow test resources to override normal runtime

Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
So if I have a test dependency I include that is meant to override configuration files in a subproject I am building, should the test jar dependency override the compile time dependencies in the project being built? I was hoping this is how 2.0.8 would behave, but either it's not, or I have an err

Re: Adding a folder to the surefire classpath

2007-11-27 Thread Doug Douglass
.xml file onto the classpath. > In the end I configured up the maven antrun plugin to copy my seam > configuration files to the test-classes directory under target. I > bound this plugin to run on one of the test lifecycle phases. I was > then able to run the tests as shown within the

Re: Adding a folder to the surefire classpath

2007-11-27 Thread Trent Rosenbaum
Hi Nathan, I had a similar issue when I wanted to run seam integration tests from within Maven. I needed to add the web.xml file onto the classpath. In the end I configured up the maven antrun plugin to copy my seam configuration files to the test-classes directory under target. I bound this

Mojo (rmic plugin) and classpath

2007-11-22 Thread Borut Bolčina
Hello, I want classes that are generated in [compiler:compile] phase to be available on classpath to a mojo which is executed just after. What would be the best way to do it? Regards, Borut

Re: antLib not producing same classpath as Mvn

2007-11-21 Thread Hervé BOUTEMY
ging > commons-logging > 1.0.4 > > > > > Now, when I run mvn dependency:resolve on my child pom it changes the > resolved dependency from 1.0 to 1.0.4 as I desired. Hurrah! > Unfortunately when I reference the classpath pr

antLib not producing same classpath as Mvn

2007-11-20 Thread Kallin Nagelberg
I run mvn dependency:resolve on my child pom it changes the resolved dependency from 1.0 to 1.0.4 as I desired. Hurrah! Unfortunately when I reference the classpath produced by this pom in my ant script it still shows the 1.0 version on the classpath. It seems that the maven antLib is not taking the parent&#x

war overlays and compiler classpath

2007-11-20 Thread Blue . Thomas
I've configured an app-war to depend on overlay-war, and app-war lists overlay-war as an overlay in the maven-war-plugin configuration. On top of that, the classes in app-war depend on the classes in overlay-war for compilation, but being a type 'war', they don't seem to end

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
the target/test-classes directory as the classpath entry during the tests - it contains the correct version of the log4j.properties file, but it seems the target/classes directory is on the test classpath too, and that it is even the first target directory mentioned on the classpath. I was prob

Re: classpath, tests, resources

2007-10-22 Thread Ondřej Černoš
Hi Adam, thanks for quick answer. The target/classes directory contains the production log4j.properties file. I always thought maven uses the target/test-classes directory as the classpath entry during the tests - it contains the correct version of the log4j.properties file, but it seems the

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
lang-2.1.jar /home/me/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4-jboss-1-SNAPSHOT/surefire-booter-2.4-jboss-1-SNAPSHOT.jar /home/me/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar However, when run from eclipse (the test fails the same way as when run from command line), the

classpath, tests, resources

2007-10-22 Thread Ondřej Černoš
.4-jboss-1-SNAPSHOT.jar /home/me/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar However, when run from eclipse (the test fails the same way as when run from command line), the classpath looks different: /home/me/workspace.3.3/provisioning/src/main/resources/ /home/me/workspace.3.3/provisionin

access properties filter from jar dependency classpath

2007-10-05 Thread Philippe Le Marchand
work, I get : [INFO] Error loading property file '/path/to/project/folder/filter-myenv.properties' I've tried with ${classpath}/filter-${env}.properties, ${maven.compile.classpath}/filter-${env}.properties, without success... Does anybody have an idea

Re: adding with current classpath a resource?

2007-10-04 Thread Jim Sellers
Can't you have the contents of this folder as part of the project (in src/test/resources) or jar'ed up and then just reference it with scope test? Jim On 10/4/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I want to add a reference (folder) fo

RE: The build classpath

2007-10-04 Thread Sonar, Nishant
Hi Yan Did you get any solution to this one, got any hold on the property? Please share. -Nishant -Original Message- From: Yan Huang [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 12:28 PM To: Maven Users List Subject: The build classpath Hello, Is there a maven property

adding with current classpath a resource?

2007-10-04 Thread Sonar, Nishant
Hello, I want to add a reference (folder) for the current classpath Ie .i wanna set something as Classpath=classpath;some/folder/ref Through sirefireplugin I am not getting what to write for existing 'classpath' I wrote as org.apache.maven.plugins

Re: plugin classpath question

2007-10-04 Thread Gisbert Amm
I only know the answer for 2.: StringBuilder classpath = new StringBuilder(System.getProperty("java.class.path", "")); classpath.append("What-ever-you-want"); System.setProperty("java.class.path", classpath.toString()); -Gisbert Guillaume Boucherie w

plugin classpath question

2007-10-04 Thread Guillaume Boucherie
Hi all, I have questions about he classpath of maven2 plugin: 1. How the classpath of a plugin is constructed ? 2. Is it possible to change it ? 3. Is it possible to have the generated classes of a project in the classpath of a plugin ? Thanks -- CletteBou clettebou.miniville.fr

Re: [maven2 antrun plugin] problem with classpath

2007-10-04 Thread Guillaume Boucherie
> > > > -Tim > > [1] http://mojo.codehaus.org/xdoclet-maven-plugin/ > > Guillaume Boucherie schrieb: > > Hi all, > > > > I'm trying to

Re: [maven2 antrun plugin] problem with classpath

2007-10-03 Thread Tim Kettler
-Tim [1] http://mojo.codehaus.org/xdoclet-maven-plugin/ Guillaume Boucherie schrieb: Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun like this: [...]

[maven2 antrun plugin] problem with classpath

2007-10-02 Thread Guillaume Boucherie
Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun like this: [...] maven-antrun-plugin process

[maven2 plugin development] classpath management

2007-10-02 Thread Guillaume Boucherie
Hi all, Is it possible to access and modify the classpath of a maven2 plugin at runtime ? In fact I'm trying to develop a plugin and I need to have the class files, generated in the compile phase, in the classpath for my plugin to work correctly. How can I do that ? Thanks in ad

The build classpath

2007-10-01 Thread Yan Huang
Hello, Is there a maven property which I can get the build classpath for a project? the ${java.class.path} doesn't provide that. Or, I have to write a mojo to get it through the call to MavenProject.get*ClasspathElements()? Thanks Yan

Re: maven jdk1.6 classpath

2007-09-19 Thread Michael McCallum
could use do some classpath magic to override the loading of the jaxb-api but you will get mixed results. I am not using jaxws2.1 but jaxb2.1 directly without problems... make sure that maven is using the runtime with the endorsed jars. On Wednesday 19 September 2007 20:33, Gisbert Amm wrote:

Re: maven jdk1.6 classpath

2007-09-19 Thread Gisbert Amm
maven compile I get an error since it does not get these jars in its classpath Any help would be appreciated Cheers Priya -- Gisbert Amm Softwareentwickler Infrastruktur WEB.DE GmbH Brauerstraße 48 · D-76135 Karlsruhe Tel. +49-721-91374-4224 · Fax +49-721-91374-2740 [EMAIL PROTECTED] · http

maven jdk1.6 classpath

2007-09-18 Thread priyasubu
Hi All I am using hte maven compiler plugin set to jdk1.6 in my pom.xml Now the thing is we want to use jaxws2.1 so we created a endorsed dir in the lb folder of jdk1.6 but when i try to do a maven compile I get an error since it does not get these jars in its classpath Any help would be

[M2] ckjm-mojo: extend classpath with the dependencies of the report project

2007-09-13 Thread Mirko Friedenhagen
* * @parameter default-value="${project.dependencyArtifacts}" * @required * @readonly */ private java.util.Set dependencyArtifacts; /** * Extends classpath with dependencies. This is needed, as bcel otherwise * will raise ClassNotFoundExceptions. *

Re: 2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread Sebastian Johnck
cases in the project to verify that > > the > > sample xml files in fact are validated and parsed properly. > > > > Unfortunately, mvn is failing to compile the test cases since it can't > > find > > the generated classes from the xmlbeans plugin. >

Re: 2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread Sebastian Johnck
xmlbeans plugin in my test cases. And also, how if possible to > include > the generated-sources and generated-classes on the classpath so that mvn > eclipse:eclipse includes them in an eclipse project? > > Thanks. > > Brian > -- > View this message in context: > http

2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread bkbonner
ow if possible to include the generated-sources and generated-classes on the classpath so that mvn eclipse:eclipse includes them in an eclipse project? Thanks. Brian -- View this message in context: http://www.nabble.com/2-Classpath-Questions---how-to-included-generated-classes-in-classpa

Re: surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
r to get WeakIdentityTable.class from the > jar, and not from target/classes. > > Is there anyway to exclude a dependency from the test phase (make the > dependency available ONLY for compile ?) > OR > Is there any way to place target/classes prior to dependecies in the test > classpath ? > > Any suggestion is welcome. I've no other option than switching to an ant > script. > > Nico. >

surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
get the unexpected behaviour to get WeakIdentityTable.class from the jar, and not from target/classes. Is there anyway to exclude a dependency from the test phase (make the dependency available ONLY for compile ?) OR Is there any way to place target/classes prior to dependecies in the test classpath ? Any suggesti

Re: Can Classpath sequence be controlled in JAR:JAR manifest generation?

2007-08-20 Thread Wayne Fay
ntrol that so that I can set the > sequencing needed in part 1 above? > > Thanks, > Matthew McCullough > Ambient Ideas, LLC > [EMAIL PROTECTED] > -- > View this message in context: > http://www.nabble.com/Can-Classpath-sequence-be-controlled-in-JAR%3AJAR-manifest-gener

Re: Maven 2 Classpath

2007-08-20 Thread Wayne Fay
This is not an uncommon question. The answer is no. Wayne On 8/20/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: > Is it possible to set the order of the JAR's added to the classpath of a > Maven project? If yes, how is this is done? Thank you. &

Maven 2 Classpath

2007-08-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it possible to set the order of the JAR's added to the classpath of a Maven project? If yes, how is this is done? Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you ar

Can Classpath sequence be controlled in JAR:JAR manifest generation?

2007-08-20 Thread programr
o that I can set the sequencing needed in part 1 above? Thanks, Matthew McCullough Ambient Ideas, LLC [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can-Classpath-sequence-be-controlled-in-JAR%3AJAR-manifest-generation--tf4300510s177.html#a12240876 Sent from the Maven

Re: manifest classpath

2007-08-16 Thread robert . egan
The former, and thanks for the link. I'll bring the issue there (if it hasn't been raised already). Robert Egan "Wayne Fay" <[EMAIL PROTECTED]> 16-Aug-2007 11:27 AM Please respond to "Maven Users List" To "Maven Users List" cc Subject Re:

Re: manifest classpath

2007-08-16 Thread Wayne Fay
rowse/MJAR If you're asking about the MANIFEST.MF file itself, you are welcome to take this up with Sun and/or the JCP. Until then, the Jar specification requires that we continue to use the current formatting of the classpath: http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html

manifest classpath

2007-08-16 Thread robert . egan
I've looked through the examples for this and it seems simple enough. However, I'd really like to have my classpath as a series of path elements for the sake of legibility and future maintnance, i.e. path1 path2 path3 instead of path1 path2 path

Re: embedded jetty in maven test phase classpath problem.

2007-08-15 Thread Wayne Fay
Is there a solution to this, or > do you just avoid using > TIA > John > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: 14 August 2007 23:19 > To: Maven Users List > Subject: Re: embedded jetty in maven test phase classpath problem. >

RE: embedded jetty in maven test phase classpath problem.

2007-08-15 Thread John Coleman
phase classpath problem. I have been using the jspc plugin for some time now very successfully. I agree with Andy -- you should check it out. Wayne On 8/13/07, Andrew Williams <[EMAIL PROTECTED]> wrote: > > On 1 Aug 2006, at 17:14, Meghan Pike wrote: > > [snip] > > > >

Re: embedded jetty in maven test phase classpath problem.

2007-08-14 Thread Wayne Fay
I have been using the jspc plugin for some time now very successfully. I agree with Andy -- you should check it out. Wayne On 8/13/07, Andrew Williams <[EMAIL PROTECTED]> wrote: > > On 1 Aug 2006, at 17:14, Meghan Pike wrote: > > [snip] > > > > Does anybody know if this is the case and how I can

Re: embedded jetty in maven test phase classpath problem.

2007-08-13 Thread Andrew Williams
On 1 Aug 2006, at 17:14, Meghan Pike wrote: [snip] Does anybody know if this is the case and how I can fix it? I though maybe I could compile the jsp's to _jsp.java files in the pre-test phase, but I wasn't sure about how to go about this. You could try using the maven-jspc-plugin (http

Re: Need to add .class files through classpath

2007-08-07 Thread Hervé BOUTEMY
out), I > had to run javac -classpath /System/Library/Java Test.java > > How/where would I modify my pom files to handle this? > > > Thanks! You'll have to declare a dependency on the library you're using to compile your classes: see http://maven.apache.org/guides/intr

Need to add .class files through classpath

2007-08-07 Thread Some user
Hi, I'm using applescript in my application that's being built using maven. I'm developing on a mac os x. To compile applescript code (I wrote a couple of proof-of-concept classes outside the project just to test things out), I had to run javac -classpath /System/Library/Java Test.

RE: eclipse-plugin generates weird classpath entries

2007-08-06 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Monday, August 06, 2007 9:15 AM: > Quoting Klaus Botschen <[EMAIL PROTECTED]>: > >> i can't find the reason why i get such strange entries in the >> classpath file: >> >> > path="M2_REPOant/ant-optional/1.5.1/ant-op

Re: eclipse-plugin generates weird classpath entries

2007-08-06 Thread harald . meyer
Quoting Klaus Botschen <[EMAIL PROTECTED]>: i can't find the reason why i get such strange entries in the classpath file: path="M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar"/> path="M2_REPOaopalliance/aopalliance/1.0/aopalliance-1.0.jar"/>

eclipse-plugin generates weird classpath entries

2007-08-06 Thread Klaus Botschen
hi, i can't find the reason why i get such strange entries in the classpath file: > mvn --version Maven version: 2.0.7 Java version: 1.5.0_12 OS name: "linux" version: "2.6.18.8-0.5-bigsmp" arch: "i386" > echo $M2_REPO /home/klaus/ws/m2r

Re: eclipse-plugin generates weird classpath entries

2007-08-05 Thread noon
-plugin-generates-weird-classpath-entries-tf4214170s177.html#a12007519 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

eclipse-plugin generates weird classpath entries

2007-08-03 Thread Klaus Botschen
Hi, I can't find the reason why i get such strange entries in the classpath file: > mvn --version Maven version: 2.0.7 Java version: 1.5.0_12 OS name: "linux" version: "2.6.18.8-0.5-bigsmp" arch: "i386" > echo $M2_REPO /home/klaus/ws/m2r

Problems with manifest classpath

2007-07-23 Thread Larry Suto
Hi, I am having a problem where a dependent jar(the jar is called nlsorm and is in the ipeservice jar) is being added to the manifest classpath of one ejb(the mdb in this case) and not the other...the ejb in this case: I am a bit puzzled as I have the ejb plugin configured the same way in both

Re: WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ian Springer
What manifest classpath are you referring to? The war plugin does not add a classpath to the manifest - it only adds dependencies to WEB-INF/lib. It's the jar plugin that will add classpaths to manifests. Then the ear plugin will copy any jars in the manifest classpaths of each of its mo

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ryan Nelson
e says: "Note that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath." I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code

Re: Maven and jetty classpath

2007-07-21 Thread mljv
Am Donnerstag, 19. Juli 2007 19:53 schrieb [EMAIL PROTECTED]: > Hi, > > i have strange classLoader problem. I use maven, eclipse and jetty. > > i want to write a functional test with htmlunit, something like shown here > > http://today.java.net/pub/a/today/2007/04/12/embedded-integration-testing-o

Maven and jetty classpath

2007-07-19 Thread mljv
sc.getAttribute(key); it prints: class org.springframework.web.context.support.XmlWebApplicationContext and throws then a ClassCastException But XmlWebApplicationContext IS A WebApplicationContext, so it SHOULD be castable The problem is, that i have all my maven dependencies on the classp

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-18 Thread Ryan Nelson
fest guide says: "Note that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath." I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-18 Thread Ryan Nelson
e says: "Note that no way is shown to include a dependency in WEB-INF/lib but not the manifest classpath." I don't know when this example was last updated, but does anyone know if this has been changed? Or if there is an easy way around it, short of modifying the plugin code

<    3   4   5   6   7   8   9   10   11   12   >