A module using different compiler cannot find its compiler when compiling thru. the package project

2011-08-09 Thread Rice Yeh
Hi, I have a lot of modules and I have a package project p0 to aggregate them like the following: modulep1/module modulep2/module modulep1/module All the modules except p2 use the default complier. p2 uses eclipse compiler. I find if I just compile p2, it works well. When I try to compile all

maven-site-plugin 3.0 deploy not working

2011-08-09 Thread Christian Migowski
Hi, I tried to update my projects to use the 3.0 version of the org.apache.maven.plugins:maven-site-plugin but now site deploy isn't working anymore. As it is often useful with Maven I tried to isolate the issue and could reproduce it with the simplest possible project, so it seems like I must be

Maven sql uograde plugin information required

2011-08-09 Thread anamika gupta
Hi, I want to execute a sql file, if its revision number is updated in the svn i.e. if there is any modification in the file. Can you please suggest a maven plugin that will fulfill this requirement. Any help is appreciated. -- View this message in context:

Need help

2011-08-09 Thread Adrien Ruffie - Petals Link
Hello allo, I have this following case: in my first project project1 I have a dependency project2. In this following project2 (isn't jar type but .zip type), I have a project2.wsdl, I wanted to copy in the first project project1 at the root jar directory, example: project2: --- /META-INF

Re: Need help

2011-08-09 Thread Mark Struberg
hi Adrien! You could try the maven-depedency-plugin dependency:unpack goal [1]. LieGrue, strub [1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html --- On Tue, 8/9/11, Adrien Ruffie - Petals Link adrien.ruf...@petalslink.com wrote: From: Adrien Ruffie - Petals Link

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
Hervé BOUTEMY, Thanks for the information. I liked Maven release plugin it made a copy of the project in tags folder as well deployed archetype to nexus repo. I have another question:- i call a plugin(maven module with a mojo) using mvn groupid:artifactid:version:goal can i have it in nexus

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
Hervé BOUTEMY, Thanks for the information. I liked Maven release plugin it made a copy of the project in tags folder as well deployed archetype to nexus repo :) I have another question:- i call a plugin(maven module with a mojo) using command mvn groupid:artifactid:version:goal can i have

Re: Where to hook into to install dependencies prior to build

2011-08-09 Thread Ron Wheeler
On 09/08/2011 1:19 AM, Jason Pyeron wrote: I do not know if I posted enough detail, if there are details missing, please le me know and I will post it. I know this is not how it should be done, but I have external requirements at the moment. The question is how could maven be configured to pull

RE: Trouble setting Boolean property in custom Mojo

2011-08-09 Thread laredotornado-3
Hi Robert, I really appreciate your help with this. What you suggested worked perfectly. All the best, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4682047.html Sent from the Maven - Users mailing list

Re: When is the best phase to generate javadocs?

2011-08-09 Thread Mark H. Wood
Yes, you *could* rely on your IDE to show you the Javadoc *for the class or method you're currently focused on*. But then you'd miss seeing that you forgot to write the overview, you forgot to write most of the package comments, or that 80% of your classes and methods have either no topic

Re: Maven sql uograde plugin information required

2011-08-09 Thread Wayne Fay
  I want to execute a sql file, if its revision number is updated in the svn i.e. if there is any modification in the file.  Can you please suggest a maven plugin that will fulfill this requirement. What you are describing is not really part of Maven's area of responsibility. Instead, it

Re: When is the best phase to generate javadocs?

2011-08-09 Thread Eric Kolotyluk
Yes exactly! I do have my Eclipse setup to display the javadoc when I hover my cursor over a class name or method name - I have been doing that for years. It is great! However, this new project I have built is the first time anyone on my team has actually written any overview and package

Re: When is the best phase to generate javadocs?

2011-08-09 Thread Jeff Jensen
No, I don't miss that... Again, properly configuring the IDE will give you all that as well. For example, turn on the setting to flag missing or malformed JavaDoc as warning or even error if your group takes it very seriously. Well, if I didn't have a more advanced IDE, I would miss that... ;-)

Re: When is the best phase to generate javadocs?

2011-08-09 Thread Jeff Jensen
Using m2eclipse and turning on its feature to automatically download dependency source and JavaDoc, it will automatically configure what you seek... :-) On Tue, Aug 9, 2011 at 9:18 AM, Eric Kolotyluk eric.koloty...@gmail.comwrote: Yes exactly! I do have my Eclipse setup to display the javadoc

Re: A module using different compiler cannot find its compiler when compiling thru. the package project

2011-08-09 Thread Wayne Fay
All the modules except p2 use the default complier. p2 uses eclipse compiler. I find if I just compile p2, it works well.  When I try to compile [INFO] No such compiler 'eclipse'. What version of Maven are you using? Most likely this is a manifestation of the first declaration of a plugin

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread Wayne Fay
i call a plugin(maven module with a mojo) using mvn groupid:artifactid:version:goal can i have it in nexus repo? If i can how can i call it from the nexus repo? Yes, just deploy it like any other artifact to Nexus. The packaging is maven-plugin. Wayne

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
Hi Wayne Fay To call a archetype from nexus repo we use -DarchetypeCatalog= http://nexusrepo/archetype-catalog.xml but what is the maven command so that it directs to the specified nexus repo i want. Thanks in advance On Tue, Aug 9, 2011 at 8:31 PM, Wayne Fay [via Maven]

Re: Problem configuring PMD and CPD differently

2011-08-09 Thread Derek Lewis
Hello, I've been working with Oskar, trying to figure out how to go about configuring PMD and CPD at the same time, but with different configurations. After investigating things further (via the internals of the maven-pmd-plugin) it looks like the check goal invokes the pmd goal through some

Re: One Maven Framework.property file for projects

2011-08-09 Thread Baptiste MATHUS
+1. Quite obvious: design a parent pom which every projects will inherit. Another possibility is using the remote-resources plugin. Cheers

Re: Can I invoke package on Eclipse auto-build?

2011-08-09 Thread Baptiste MATHUS
There seem to be many possibilities but I guess your question would be better posted on the dedicated M2e ml as your problem seems more M2e specificly related than pure maven-ish. (but ftr have a look in your project properties, you can specify goals to be run under some circumstances). Cheers

Re: Problem configuring PMD and CPD differently

2011-08-09 Thread Baptiste MATHUS
I cannot test it right now, but have you tried setting two different executions for the plugin. By the way check seems to only concern pmd, and cpd-check cpd. http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html My 2 cents. 2011/8/9 Derek Lewis de...@lewisd.com

Re: Problem configuring PMD and CPD differently

2011-08-09 Thread Derek Lewis
Hello, Yes, I've tried configuring multiple executions, but we are still unable to configure PMD and CPD differently, specifically with regards to the includeTests configuration. I've logged an issue, but there has been no response: https://jira.codehaus.org/browse/MPMD-132 With multiple

Re: maven-site-plugin 3.0 deploy not working

2011-08-09 Thread Dennis Lundberg
Hi Please open an issue in JIRA for this and attach your pom.xml, settings.xml and a complete build log running mvn with the -X flag on the command line. https://jira.codehaus.org/browse/MSITE On 2011-08-09 12:43, Christian Migowski wrote: Hi, I tried to update my projects to use the 3.0

Re: A module using different compiler cannot find its compiler when compiling thru. the package project

2011-08-09 Thread Barrie Treloar
On Wed, Aug 10, 2011 at 12:24 AM, Wayne Fay wayne...@gmail.com wrote: All the modules except p2 use the default complier. p2 uses eclipse compiler. I find if I just compile p2, it works well.  When I try to compile [INFO] No such compiler 'eclipse'. What version of Maven are you using? Most

[ANN] DBUpgade Maven Plugin 1.0-beta-1 release

2011-08-09 Thread Dan Tran
Hi, The Mojo team is pleased to announce the release of the DBUpgrade Maven Plugin version 1.0-beta-1 Site : http://mojo.codehaus.org/dbupgade-maven-plugin/ To get this update, simply specify the version in your project's plugin configuration: plugin groupIdorg.codehaus.mojo/groupId

Re: [ANN] DBUpgade Maven Plugin 1.0-beta-1 release

2011-08-09 Thread Karl Heinz Marbaise
Hi, Dan Tran wrote: Site : http://mojo.codehaus.org/dbupgade-maven-plugin/ The given link is not correct: The following seemed to be the correct one: http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise