RE: dependency and dependencymanagement - confusion

2008-11-05 Thread kvenkatraman
Thanks Matt . Now I am clear about dependencyManagement Thanks kumar -- View this message in context: http://www.nabble.com/dependency-and-dependencymanagement---confusion-tp20318920p20356379.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: add generated classes

2008-11-05 Thread Dan Tran
why not generated your class files to target/classes? -D On Wed, Nov 5, 2008 at 2:30 PM, David Ojeda <[EMAIL PROTECTED]> wrote: > Hello all, > > Quick question that I can't seem to find in google: > How can I add a generated class directory so the packaging includes it? > I've seen the build-help

RE: Maven/OS X Development Question

2008-11-05 Thread wxlund
I didn't describe the issue well enough. I am using m2eclipse but that's not pertinent to the issue. The same errors were appearing and related to whether I had the JDK set to 1.5 or 1.6. I was trying to debug the errors from the command line. So I think it really does belong on this forum. I

[2.0.10 RC] Please test

2008-11-05 Thread Brian E. Fox
Hello, We're moving forward with the 2.0.10 RC process. We have have not turned up any new issues within the Dev team, so as usual we're widening our net. Here's the list of issues fixed in 2.0.10: http://jira.codehaus.org/secure/ReleaseNote.jspa?version=14112

Multi-Module Assembly causing build twice

2008-11-05 Thread Adrian Shum
Dear all, I am using Maven 2.0.9. I am trying to create a multi-module assembly by having assembly descriptor in my multi-module project. buildsvr dir foo:foo-app-ear foo:foo-bar-web foo:foo-another-jar modules/${artifa

RE: Maven/OS X Development Question

2008-11-05 Thread Eugene Kuleshov
wxlund wrote: > > I'm getting a very similar problem. I'm running eclipse and maven and > working with the new m2eclipse plugin on OS X doing RCP development with > Maven. When I try and install my jars with JDK 5.0 configured I get the > following: > [skip] > Now you'd think I'd be a happy ca

Re: Can I run individual test in maven

2008-11-05 Thread Petr V.
Thanks Rafael for all your help, Eventually I resolved the issue. I am using Eclipse 3.3.2 and my test was importing javax.xml.ws.Endpoint which is JDK 1.5 class. Now I noticed when I was starting my eclipse I was getting message on console(due to maven plugin) 1/5/08 5:30:04 PM PST: Eclipse

Re: Trouble with Java Native Libraries

2008-11-05 Thread Kalle Korhonen
Not so sure surefire is even that clever. I bet it doesn't set system properties at all for the new process it spawns (the default is "once"). Kalle On Wed, Nov 5, 2008 at 2:39 PM, Craig L Russell <[EMAIL PROTECTED]>wrote: > So, I think I know what the problem is. > > If you use the system prop

Re: Surefire 2.4.3 Classloading issue

2008-11-05 Thread lsacco
I went ahead and skipped trying to resolve this in surefire. Here's the solution should anyone need it for Spring-JPA integration: -- View this message in context: http://www.nabble.com/Surefire-2.4.3-Classloading-issue-tp20330022p20353573.html Sent from the Maven -

Axis2 and maven2 aar generation pom (sample pom)

2008-11-05 Thread David Ojeda
Hello axis and maven users, Sorry to double post, but I have been struggling for some days with maven2 and axis2 code generation for a web service implementation and sometimes I don't know where to ask questions. Maybe you could excuse my double posting since I am not making a question, but ex

Re: Mojo fails to read parameters fed via plugin config

2008-11-05 Thread snikeunit
Then again, looking at the ant-run and cargo source, I can clearly see configuration being set within the execution tags: I don't know why this works for them. -- View this message in context: http://www.nabble.com/Mojo-fails-to-read-parameters-fed-via-plugin-config-tp20315121p20353141.html Sent

Re: Non lifecycle tasks in Maven

2008-11-05 Thread David Ojeda
What a coincidence, I just stumbled with this problem. I solved it by using a profile that activates when the generated classes directory is missing. The profile defines the task for class generation. Here is a snip, I will post it completely in a different post, for future axis2/maven users...

Re: Mojo fails to read parameters fed via plugin config

2008-11-05 Thread snikeunit
cgp wrote: > > I would confirm this behavior. Is this a bug? Shouldn't it read the > configurations from inside the executions? Otherwise, you can't specify a > different config for each execution. > If we are to believe the POM reference http://maven.apache.org/pom.html http://maven.apache.o

RE: Using a previous version of release and/or the maven SCM plugin

2008-11-05 Thread Heck, Joe
Ah, nevermind - After I asked, I tried a few more variations, finally actually LOOKING at the super-pom to find out where it was supposed to go. GFor the reference archives, my solution is: ... org.apache.maven.plugins maven-site-plugin 2.0-beta-7

release plug in - allow usage of snapshot dependencies and unversioned files are not ignored from SVN

2008-11-05 Thread Karsten Ohme
Hi, I have the following problems with the release plug in: I complains that I still have some SNAPSHOT versions included. Can I disable this check? Some dependencies are only available as snapshot releases. Previous releases are buggy. Some Eclipse specific files like .project and .classpath ar

Using a previous version of release and/or the maven SCM plugin

2008-11-05 Thread Heck, Joe
I seem to be stumbling hard over a few bugs that have already been identified, reported, and it looks like patches are available - http://jira.codehaus.org/browse/SCM-415. Almost all of my environment is using token based authentication with Perforce, so I thought I'd just push back to the previous

Non lifecycle tasks in Maven

2008-11-05 Thread khkachn
Hi, Is it possible to define non lifecycle tasks in Maven? I would like to generate Axis stubs from a wsdl file, but don't want to do it with every build. How do I go about doing this? Thanks -- View this message in context: http://www.nabble.com/Non-lifecycle-tasks-in-Maven-tp20352013p2035

Re: Trouble with Java Native Libraries

2008-11-05 Thread Craig L Russell
So, I think I know what the problem is. If you use the system properties approach in maven: org.apache.maven.plugins maven-surefire-plugin java.library.path /Users/clr/ndb/clusterj/trunk/clusterj/target/ classes/

add generated classes

2008-11-05 Thread David Ojeda
Hello all, Quick question that I can't seem to find in google: How can I add a generated class directory so the packaging includes it? I've seen the build-helper plugin but it does only source directory. I want to add a directory called target/generated-classes/xmlbeans that I have generated wit

RE: How do I found out when the next version of the maven-dependency-plugin is due to be released?

2008-11-05 Thread Bracewell, Robert
Thanks for the link its handy Basically I am trying to figure out when http://jira.codehaus.org/browse/PLXUTILS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel would make it into the maven-dependency-plugin if it would. For the time being I have a workaround in place -- Rober

Re: How do I found out when the next version of the maven-dependency-plugin is due to be released?

2008-11-05 Thread Wendy Smoak
On Wed, Nov 5, 2008 at 3:14 PM, Bracewell, Robert <[EMAIL PROTECTED]> wrote: > I am looking to find out if it's possible to know when such is due and what > the planned list of Jira fixes would be? You can look at JIRA or the report [1] to see what's been scheduled vs. fixed and not yet released

Generating Eclipse-PDE-Project with dependencies to spring

2008-11-05 Thread iossif
Hi, I have problems with generating the right eclipse project files by mvn eclipse:eclipse if I use spring-dependencies. That's my situation: we have a pde-project, so I configured the eclipse-plugin for PDE-support by adding the plugin-configuration to our pom. maven-eclipse-plugin

How do I found out when the next version of the maven-dependency-plugin is due to be released?

2008-11-05 Thread Bracewell, Robert
Hi, I am looking to find out if it's possible to know when such is due and what the planned list of Jira fixes would be? Thanks, Robert

Re: Surefire 2.4.3 Classloading issue

2008-11-05 Thread lsacco
Yes, that's correct. I have my production persistence.xml in src/main/resources/META-INF that will use Oracle, but for integration testing I want to use HSQLDB, so I have a persistence.xml in src/test/resources/META-INF to *override* the main resource. When I compile I definitely see two distinc

Re: Question

2008-11-05 Thread Wayne Fay
> I reading the maven-user-guide, and i have a question. > I want to try the examples but i did not found the > examples/book-killerapp.zip. > Could you tell me from where can i download it? There are several Maven "user guides" out there in the wild... Which one in particular are you reading? Ca

Re: Surefire 2.4.3 Classloading issue

2008-11-05 Thread Baptiste MATHUS
Why do you speak about "precedence"? Do you have many persistence.xml files? When you just do "compiler:*testCompile", what do you have in your target subdirs?* Do you see persistence.xml file? If the resources seems to be present in those dirs, then also try using forkMode=never to see if that co

Re: Mojo fails to read parameters fed via plugin config

2008-11-05 Thread Chris Pall
I would confirm this behavior. Is this a bug? Shouldn't it read the configurations from inside the executions? Otherwise, you can't specify a different config for each execution. The example below would conditionally deploy to either one or two tomcat configurations -- but without the configuration

activate log4j for plugins

2008-11-05 Thread Hoehmann, Andreas
Hello folks, i have a pom.xml ... commons-logging commons-logging 1.0.4 log4j log4j 1.2.14 org.codehaus.mojo xfire-maven-plugin 1.0-SNAPSHOT de.ahoehma.ws.sso

Problem with Perforce SCM plugin: requires password

2008-11-05 Thread Chris Andersen
I've been using the Perforce SCM plugin for about a year now in our project and it has worked fine up until today. Now suddenly when I try to do releases of our project, the SCM plugin fails with the exception: "password is required for the perforce scm plugin" Searching for this online I find

Classloader issues with source files in an aggregate build

2008-11-05 Thread depstei2
Hello, I am trying to use the GWT maven plugin which relies on java source files. My project works when I run mvn install from my gwt application module's pom. The classloader correctly references the sibling module's jar and sources-jar from my local maven repository. When I run mvn install f

how do you read a pom and resolve references to built in properties ?

2008-11-05 Thread Martin B
In a mojo i'm writing i need to read in a pom and find if a plugin property has been set. I can read in a pom using MavenXpp3Reader and get the property but what i can't figure out is how to resolve the references to built in properties. i.e. ${project.build.directory}/classes/info.xml Is t

Re: [Maven 2.0.9] Site output directory in target while deploy

2008-11-05 Thread Emmanuel Séguin
Thanks it worked ! ${project.build.directory}/${project.name}/doc org.apache.maven.plugins maven-site-plugin 2.0-beta-5 ${siteOutputDirectory} Em

Re: export dependency libs

2008-11-05 Thread Rafael Trestini
Nicola, You can use 'mvn dependency:copy-dependencies'. It will copy all jars described in your pom.xml to your target folder. Rafael Trestini On Wed, Nov 5, 2008 at 11:30 AM, Nicola Benaglia <[EMAIL PROTECTED]> wrote: > Hi, > I need to export all dependency libs into a folder, to be distributed

export dependency libs

2008-11-05 Thread Nicola Benaglia
Hi, I need to export all dependency libs into a folder, to be distributed with my application. Is there a way to do that? Is there a smarter way to distribute my application complete with dependencies? I tryed jar-with-dependencies option but I'd prefer a folder with jars. Thank you, Nicola ---

Maven picking test classifier dependencies twice

2008-11-05 Thread Wim Deblauwe
Hi, I am seeing a really strange problem with Maven in a multimodule build. (Using 2.0.8 or 2.0.9) I have a multimodule with some submodules: + parent + server-common + module 1 + module 2 + ... Both 'module 1' and 'module 2' depend on server-common and the test classes exposed by serve

Question

2008-11-05 Thread Kovacs Annamaria
Hi, I reading the maven-user-guide, and i have a question. I want to try the examples but i did not found the examples/book-killerapp.zip. Could you tell me from where can i download it? Thank you, Anna-Mary Kovacs