Re: doxia - xdoc - copyright and other tags

2009-06-18 Thread Lukas Theussl
This is done by the site plugin and can be configured in your site.xml [1][2]. HTH, -Lukas [1] http://maven.apache.org/guides/mini/guide-site.html [2] http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html Bernhard Grünewaldt wrote: Hello, I am using

RE: Can I prevent maven from searching dependencies in localRepository?

2009-06-18 Thread gorgophol
Hi, generally it is, what I'm looking for and I'm doing that already. I'm using Apache Archiva as my repository manager and i defined several repositories in several profiles in my one central settings.xml. The problem is, they are NOT independent, because localRepository connects them and

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Martijn Dashorst
This is not the functionality I described. What you describe already works in 2.5, as it is the multimodule functionality. What I described is that you can check out Wicket into your workspace, and start hacking on your own Wicket application, where the maven-eclipse-plugin:2.7 will find the

Re: Clearcase with maven release plugin

2009-06-18 Thread Anders Hammar
Hi, Yes, I've done it for a customer. I use version 2.0-beta-8 of the release-plugin and found some issues, but they were possible to solve. However, it does only work on the 'main' branch. Some quick things: * Create $user.home/.scm/clearcase-settings.xml containing clearcase-settings

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Barrie Treloar
On Thu, Jun 18, 2009 at 4:10 PM, Martijn Dashorstmartijn.dasho...@gmail.com wrote: This is not the functionality I described. What you describe already works in 2.5, as it is the multimodule functionality. What I described is that you can check out Wicket into your workspace, and start hacking

Re: Tycho and m2 artefact

2009-06-18 Thread Jason van Zyl
On 17-Jun-09, at 10:41 AM, Brice wrote: Hi I actually use Tycho for a RCP bundle development with the 0.3.0- DEV-1819 release. I use it in the manifest-first mode (of course) but I'd like to add a dependency to another m2 module which is NOT an OSGI bundle. As pom files are generated by

Parameter substitution in installed poms

2009-06-18 Thread Lance Walton
Hi all. I apologise for reposting this; I messed up my earlier posting, and since there has been a lot of activity on the list and nobody has answered my question, I wondered whether my screw up had caused people to ignore the posting. I am relatively new to Maven and I have recently

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Daniele Dellafiore
this is exactly what I understood. I have, in the same folder, two projects, A and B. A uses B as dependancy. I expect that when I mvn eclipse:eclipse A it uses B as a link, in eclipse, rather than pointing to the jar in M2 repo. This is actually not happening For both projects, the name of the

Augmenting developers from parent POM

2009-06-18 Thread Andreas Sewe
Hi, is there any way to *augment* or selectively override some developers entries inherited from the parent POM? In particular, I would really like to keep all contact information (name, email, organization, timezone and the URLs) in one place only, namely the parent POM, and then augment the

Artifact with classifier

2009-06-18 Thread Aleksey Didik
Hello all. I have met a situation which confuse me a little. Let's imagine we have two assembly for one maven module: full version (for example server part of application) and brief version (client part for remote call). Will use maven-assembly-plugin for build them. Full (server):

Re: Artifact with classifier

2009-06-18 Thread Anders Hammar
Yes, this is an issue when using classifiers to create more than one artifact for a project. Create two separate Maven projects to solve it. /A On Thu, Jun 18, 2009 at 13:00, Aleksey Didikdi...@magenta-technology.ru wrote: Hello all. I have met a situation which confuse me a little. Let's

Re: How to create many jars in package phase?

2009-06-18 Thread David Weintraub
If I was doing this, I would have either a single JAR that contains all the customer's classes (After all, the classes are packaged as com.solbright.adinventory.etlf.customer, so they won't interfere with each other), or simply create separate packages for the core jar, and for each customer, and

Artifacts with classifier

2009-06-18 Thread Aleksey Didik
Hello all. I have met a situation which confuse me a little. Let's imagine we have two assembly for one maven module: full version (for example server part of application) and brief version (client part for remote call). Will use maven-assembly-plugin for build them. Full (server):

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-18 Thread John Casey
As long as everyone is thinking of trying something out, you might as well try the version of Maven 2.2.0 that we're currently voting on: https://repository.apache.org/content/repositories/maven-staging-022/ This version may not be the final solution to Robert's issues with proxying...since I

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-18 Thread John Casey
Sorry I missed you previously. It seems like we're just not quite syncing up, but I'll try to stay on gtalk all day today to see if I can catch you. Robert Glover wrote: Ok, I located a DSL line that does not go through the proxy. Tomorrow I'll bring in my personal laptop to work and

Re: How to create many jars in package phase?

2009-06-18 Thread Anders Hammar
I don't know what you produced before, so I don't know what you need to be compatible with. And I don't know what compatibility constraints you have (or think you have). I'm merely suggesting a better Maven approach and informing you of issues you could run into. /A On Thu, Jun 18, 2009 at

Re: Augmenting developers from parent POM

2009-06-18 Thread Stephen Connolly
there is a magic attribute that you add the the developers tag... not sure what it is called... I think it's developers appendChildren=true but I think you'll have to google for the exact attribute name 2009/6/18 Andreas Sewe s...@st.informatik.tu-darmstadt.de: Hi, is there any way to

Re: Augmenting developers from parent POM

2009-06-18 Thread Stephen Connolly
it might be developers combine.children='append' /developers 2009/6/18 Stephen Connolly stephen.alan.conno...@gmail.com: there is a magic attribute that you add the the developers tag... not sure what it is called... I think it's developers appendChildren=true but I think you'll have to

Re: problem upgrading to Maven 2.1.0

2009-06-18 Thread Kiss Tibor
While upgrading from Maven 2.0.10 to 2.1.0 it seems that I cannot deploy the most simple artifact to my nexus repo if I am using IBM jdk 1.4.2. In Maven 2.1.0 running on the following IBM jdk On Linux I have java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Conflicting Versions Of Same JAR

2009-06-18 Thread Timothy Orme
Hello, I have a JAR and a WAR. My JAR file is used to render PDF files using the Flying Saucer Project. When used in this way, flying saucer requires iText 2.0.8 to be included. So the POM file for my JAR has 2 dependencies: org.xhtmlrenderer : core-renderer :

how to specify dependencies between test classes

2009-06-18 Thread Gul Onural
Hi, In the project I am working on, there is a need to specify dependencies between the test source directories. The project tree looks like similar to this : - componentA - src - main - test - aCommonComponent - src - main - test In the JUNIT test cases defined

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Barrie Treloar
On Thu, Jun 18, 2009 at 7:42 PM, Daniele Dellafioreilde...@gmail.com wrote: this is exactly what I understood. I have, in the same folder, two projects, A and B. A uses B as dependancy. I expect that when I mvn eclipse:eclipse A it uses B as a link, in eclipse, rather than pointing to the jar

change outputfile name

2009-06-18 Thread huser
Hi, I have a maven module which builds moduleA-1.0-SNAPSHOT.jar. I need the output file name to be moduleA.jar. How can I do this via CLI or POM change ? Thanks -- View this message in context: http://www.nabble.com/change-outputfile-name-tp24095098p24095098.html Sent from the Maven - Users

Re: how to specify dependencies between test classes

2009-06-18 Thread Tony Chemit
Le Thu, 18 Jun 2009 11:19:56 -0400, Gul Onural gonu...@rim.com a écrit : Hi, In the project I am working on, there is a need to specify dependencies between the test source directories. The project tree looks like similar to this : - componentA - src - main - test

RE: how to specify dependencies between test classes

2009-06-18 Thread Damon Silver
Specify a test-jar goal in the build section of aCommonComponent's pom (see documentation for maven-jar-plugin), invoke mvn jar:test-jar on that project, then try this in the componentA pom: dependency groupIdfoo.bar/groupId artifactIdaCommonComponent/artifactId

Re: Problem with servicegen

2009-06-18 Thread Jesfre
Thanks Wayne... I made the changes in my pom.xml, now it look like this: plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version

Re: Conflicting Versions Of Same JAR

2009-06-18 Thread Stephen Connolly
what you probably need to do is shade flying saucer and it's iText dependency into a different package tree. That way it will be separated from the iText your app is using... The other solution is to run inside a OSGi container, as you could define in the bundle manifests that Flying Saucer must

Testing a Tomcat deployed servelet instance

2009-06-18 Thread Tanner Perrien
I have a web application that I would like to be able to test once it's deployed and running on Tomcat. Is there a way to embed all of this inside a maven build? The process would go like this: 1. Start maven 2. Maven would deploy WAR to Tomcat 3. Tomcat would be told to initialize the new WAR

Re: Testing a Tomcat deployed servelet instance

2009-06-18 Thread Mick Knutson
Yes. Do a search for Cargo plugin. I have created a few blogs on this http://www.baselogic.com/blog/archives/tag/tomcat But so has Wendy, and Matt Raible has several as well. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting

Re: change outputfile name

2009-06-18 Thread Tony Chemit
Le Thu, 18 Jun 2009 08:44:59 -0700 (PDT), huser mpinj...@atxg.com a écrit : Hi, I have a maven module which builds moduleA-1.0-SNAPSHOT.jar. I need the output file name to be moduleA.jar. How can I do this via CLI or POM change ? Thanks override the property project.build.finalName

RE: change outputfile name

2009-06-18 Thread Todd Thiessen
I believe changing the finalname property only changes the name of the artifact packaged in the target directory. The artifacts installed/deployed to the local/remo repos still has the version appended. --- Todd Thiessen -Original Message- From: Tony Chemit

Re: change outputfile name

2009-06-18 Thread Tony Chemit
Le Thu, 18 Jun 2009 13:14:31 -0400, Todd Thiessen thies...@nortel.com a écrit : I believe changing the finalname property only changes the name of the artifact packaged in the target directory. The artifacts installed/deployed to the local/remo repos still has the version appended. and

Re: Conflicting Versions Of Same JAR

2009-06-18 Thread Timothy Orme
Great, thanks for the tips! However, I'm unfamiliar with what you mean by shading and moving it into a different tree and googling for it seems to be difficult. Can you elaborate on what this means or point me to an article? Thanks, Tim O Stephen Connolly wrote: what you probably need to do

Re: Testing a Tomcat deployed servelet instance

2009-06-18 Thread Stephen Connolly
you can do this with jetty using the failsafe maven plugin to run the tests Sent from my [rhymes with myPod] ;-) On 18 Jun 2009, at 17:54, Tanner Perrien tperr...@ball.com wrote: I have a web application that I would like to be able to test once it's deployed and running on Tomcat. Is

Re: Conflicting Versions Of Same JAR

2009-06-18 Thread Stephen Connolly
maven-shade-plugin after that I have no clue Sent from my [rhymes with myPod] ;-) On 18 Jun 2009, at 18:23, Timothy Orme to...@genome.med.harvard.edu wrote: Great, thanks for the tips! However, I'm unfamiliar with what you mean by shading and moving it into a different tree and googling

Re: Testing a Tomcat deployed servelet instance

2009-06-18 Thread Mick Knutson
I prefer to start with Jetty wen I want to run the application manually, but use Tomcat through my automated build and test through Cargo. This way I can easily test against 2 different containers. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design,

Re: Testing a Tomcat deployed servelet instance

2009-06-18 Thread Stephen Connolly
yes, but you should use failsafe-maven-plugin so that you can ensure the container is stopped correctly if you have failing tests On 18/06/2009, Mick Knutson mickknut...@gmail.com wrote: I prefer to start with Jetty wen I want to run the application manually, but use Tomcat through my

Re: Augmenting developers from parent POM

2009-06-18 Thread Andreas Sewe
Stephen Connolly wrote: it might be developers combine.children='append' /developers Yes, it is, but I couldn't get it to work. The parent POM's developers get always overwritten, attribute or not. :-( FWIW, m2eclipse (rightly) complains that combine.children isn't defined in the POM's XML

Re: Problem with servicegen

2009-06-18 Thread Wayne Fay
java.lang.NullPointerException        at org.apache.tools.ant.Task.log(Task.java:346)        at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.setupClasspath(ServiceGenTask.java:640)        at

Re: POM verbosity

2009-06-18 Thread Zac Thompson
                                   properties                                        property                                            nametrainCorpus/name                                            value${en.trainCorpus}/value                                        /property              

issue with maven-remote-resources-plugin

2009-06-18 Thread akash agrawal
Hi, I am compiling my maven project and it is giving me error related to maven-remote-resources-plugin. It is looking for 1.0.1-SNAPSHOT version of maven-remote-resources-plugin. In my repository I have 1.0 released version. Below is the error log. Any idea as how to fix it? Thx. Akash

Re: POM verbosity

2009-06-18 Thread Stephen Connolly
It's your plugin, change it to a Map and then convert the map to a Properties 2009/6/18 Benson Margulies bimargul...@gmail.com: It can't, sadly. The underlying property in the plugin is a Properties, not a Map. Properties won't take that syntax. I've opened a JIRA asking for it. On Thu, Jun

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-18 Thread Zac Thompson
Robert, this is just a guess: is the proxy defined in your user-specific (~/.m2/) settings.xml, but the proxy credentials are only supplied in your 2.0.9 install's $M2_HOME/conf/settings.xml? I don't even know if this is possible, so pardon me if you've already looked into this. You may want to

Re: POM verbosity

2009-06-18 Thread Benson Margulies
I know, I know. I plead terminal sloth. On Thu, Jun 18, 2009 at 6:27 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: It's your plugin, change it to a Map and then convert the map to a Properties 2009/6/18 Benson Margulies bimargul...@gmail.com: It can't, sadly. The underlying

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-18 Thread Robert Glover
I appreciate the advice and support I've received here. Today I was finally able to work further on the issue via gmail chat with a maven developer. Under his tutelage I created a JIRA for this issue: http://jira.codehaus.org/browse/MNG-4211 Your question on whether I tried

mvn dependency:analyze missing dependency?

2009-06-18 Thread David Weintraub
I am converting yet another Ant build to a Maven build. This time, I purposefully laid out the directory tree, so when we do the conversion, it would be much simpler. I've finally found all of my dependencies, added them into the pom.xml, and got everything to compile and build the jar. (whether

Re: mvn dependency:analyze missing dependency?

2009-06-18 Thread Olivier Dehon
You might be a victim of: http://jira.codehaus.org/browse/MDEP-124 -Olivier On Thu, 2009-06-18 at 21:18 -0400, David Weintraub wrote: I am converting yet another Ant build to a Maven build. This time, I purposefully laid out the directory tree, so when we do the conversion, it would be much