Re: read Plugins in local repository

2010-08-10 Thread muss_
no, i need it in java like readRepository() and it returns a list of artifackts or plugins -- View this message in context: http://maven.40175.n5.nabble.com/read-Plugins-in-local-repository-tp2268689p2398019.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: read Plugins in local repository

2010-08-10 Thread Stephen Connolly
Easy to write yourself in java On 10 August 2010 09:06, muss_ malakka...@yahoo.de wrote: no, i need it in java like readRepository() and it returns a list of artifackts or plugins -- View this message in context:

Re: release:perform ignore profile for its goals

2010-08-10 Thread Martin Schayna
I am using this configuration for firing goal 'install' instead of 'deploy' in 'release:perform': build ... plugins ... plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-9/version configuration autoVersionSubmodulestrue/autoVersionSubmodules goalsinstall/goals

Re: release:perform ignore profile for its goals

2010-08-10 Thread Stephen Connolly
Have a look at * http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles * 2010/8/10 Martin Schayna martin.scha...@abra.eu I am using this configuration for firing goal 'install' instead of 'deploy' in 'release:perform': build ... plugins ... plugin

Re: read Plugins in local repository

2010-08-10 Thread muss_
I tried to write it i need to build a new MavenProject and to get a MavenProject out of a POM file, I need to use the MavenProjectBuilder /** * @component expression=${component.org.apache.maven.project.MavenProjectBuilder} * @required * @readonly */ private MavenProjectBuilder builder =

Re: read Plugins in local repository

2010-08-10 Thread Stephen Connolly
have a look in versions-maven-plugin @ mojo On 10 August 2010 10:05, muss_ malakka...@yahoo.de wrote: I tried to write it i need to build a new MavenProject and to get a MavenProject out of a POM file, I need to use the MavenProjectBuilder /** * @component

Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Siddharth Gargate
Hi all, I wish to exclude WEB-INF classes folder from being added in the war file. How can we do it? Thanks, Sid

wsdl2java plugin, or axistools

2010-08-10 Thread Greg Akins
I did a quick search for a Maven plug that would execute the axis wsdl2java tool, and found two plugins. 1. axistools-maven-plugin 2. wsdl2java-maven-plugin Any recommendations on which is better, or more supported? -- Greg Akins http://insomnia-consulting.org http://www.pghcodingdojo.org

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Vishal Gupta
i guess u need to use filter build resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources /build http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files Regards, vishal On Tue,

Re: read Plugins in local repository

2010-08-10 Thread muss_
i dont know how to use versions-maven-plugin @ mojo I need to create a new MavenProject with the remote pom.xml that i read in mojo -- View this message in context: http://maven.40175.n5.nabble.com/read-Plugins-in-local-repository-tp2268689p2425060.html Sent from the Maven - Users mailing list

Re: read Plugins in local repository

2010-08-10 Thread Stephen Connolly
Look in the source code for versions-maven-plugin @ mojo and you will find an example, probably in one of the Abstract___Mojo classes On 10 August 2010 13:25, muss_ malakka...@yahoo.de wrote: i dont know how to use versions-maven-plugin @ mojo I need to create a new MavenProject with the

Re: read Plugins in local repository

2010-08-10 Thread Stephen Connolly
Or maybe in UpdateChildModulesMojo On 10 August 2010 13:47, Stephen Connolly stephen.alan.conno...@gmail.comwrote: Look in the source code for versions-maven-plugin @ mojo and you will find an example, probably in one of the Abstract___Mojo classes On 10 August 2010 13:25, muss_

Maven ant tasks: cannot install artifact using in-memory pom

2010-08-10 Thread Samuel Langlois
Hello, I'm trying to install an artifact with the Maven ant tasks. I use version 2.1.1 Since there is a nice way to create an in-memory pom instead of actually creating a pom.xml file on the disk, I wanted to use it But it is not deployed where I want : it ends up in

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Anders Hammar
I doubt that's what's the question was regarding. Filtering doesn't exclude files... I'm not an expert on the war plugin, but I would try the packagingExcludes param. However, I'm wondering why you would like not to include the Java classes of the war project? Why do they exist there if your don't

Re: wsdl2java plugin, or axistools

2010-08-10 Thread Dan Tran
use axistools-maven-plugin -D On Tue, Aug 10, 2010 at 4:53 AM, Greg Akins angryg...@gmail.com wrote: I did a quick search for a Maven plug that would execute the axis wsdl2java tool, and found two plugins. 1.  axistools-maven-plugin 2.  wsdl2java-maven-plugin Any recommendations on which

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Wayne Fay
param. However, I'm wondering why you would like not to include the Java classes of the war project? Why do they exist there if your don't want them? I'm thinking along the lines of Anders... You should probably move all classes to another Maven project of type jar, then depend on it in your

Re: release:perform ignore profile for its goals

2010-08-10 Thread Sergio Oliveira
Problem is NOT switching 'deploy' to 'install'. A goalsinstall/goals will do it. Problem IS cascading an exec:exec after release:perform. You can try and you will see that's NOT possible. Probably something related to the fact that release:perform forks another maven process. Even mvn

RE: Anyone familiar with the maven-nar-plugin?

2010-08-10 Thread Haszlakiewicz, Eric
-Original Message- From: Eyal Goren [mailto:eyalg1...@gmail.com] From what I understand this site is irrelevant, since the plugin now belongs to the Sonatype company. huh? The site http://duns.github.com/maven-nar-plugin/ is irrelevant? I did opened few Jira issues there, but did not

maven3 embedder

2010-08-10 Thread Steffen Stundzig
Hi folks, I've tried the whole day on how can i embedd a call for a maven goal into my java src. I'm working with maven-3.0-beta-1. Here are my sample snippets which the appropriate error messages: public class MavenEmbedTest { public static void main(String[] args) { File workingDir =

[ANN] Maven Linkcheck Plugin 1.0 Released

2010-08-10 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Linkcheck Plugin, version 1.0 This plug-in allows you to generate a Linkcheck report of your project's documentation using the Doxia Linkcheck Tool. http://maven.apache.org/plugins/maven-linkcheck-plugin/ You should specify the

Skip tests on release

2010-08-10 Thread C. Benson Manica
mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on running the unit tests. Why? They already ran on release:prepare, I really, really, really get annoyed sitting through five minutes of unit tests that I know pass because I just ran them. -- C. Benson Manica

Re: maven3 embedder

2010-08-10 Thread Olivier Lamy
Hi, You have to look at the MavenCli code base to understand what to populate. So currently I'm working on a plexus component which do something like : MavenExecutionRequest getMavenExecutionRequest( String[] args, PrintStream printStream ). So this should be available soon here :

Re: Skip tests on release

2010-08-10 Thread Tony Chemit
Le Tue, 10 Aug 2010 12:32:55 -0400, C. Benson Manica cbman...@gmail.com a écrit : mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on running the unit tests. Why? They already ran on release:prepare, I really, really, really get annoyed sitting through five minutes

Re: release:perform ignore profile for its goals

2010-08-10 Thread Stephen Connolly
Nope. bind the execution to the install phase in a profile and then use * http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfilesto activate the profile on release perform * On 10 August 2010 16:07, Sergio Oliveira sergio.souj...@gmail.com wrote: Problem is NOT

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Jörg Schaible
Siddharth Gargate wrote: Hi all, I wish to exclude WEB-INF classes folder from being added in the war file. How can we do it? Use the packagingExcludes parameter. - Jörg - To unsubscribe, e-mail:

Re: Skip tests on release

2010-08-10 Thread C. Benson Manica
I do pretty much always want to release with the tests done, but why do they have to run twice for essentially the same process, i.e. prepare and perform? They take a long time, and are they really likely to fail between prepare and perform? I guess if I'm stuck, I'm stuck, but this seems

Re: Skip tests on release

2010-08-10 Thread Larry Shatzer, Jr.
I've seen it like this in a parent corporate pom: In the release plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId configuration preparationGoalsclean install/preparationGoals

Re: Skip tests on release

2010-08-10 Thread Tony Chemit
Le Tue, 10 Aug 2010 13:25:41 -0400, C. Benson Manica cbman...@gmail.com a écrit : I do pretty much always want to release with the tests done, but why do they have to run twice for essentially the same process, i.e. prepare and perform? They take a long time, and are they really likely to

Re: release:perform ignore profile for its goals

2010-08-10 Thread Sergio Oliveira
Perhaps there is a bug on Mac. I do what you say and get this: [INFO] [INFO] Scanning for projects... [INFO] [WARNING] [INFO] Profile with id: 'release' has not been activated. [INFO] pom.xml: plugin artifactIdmaven-release-plugin/artifactId version2.0/version configuration

Questions about axistools-maven-plugin

2010-08-10 Thread Greg Akins
Can someone give me some help on using axistools-maven-plugin? The wsdl2java goal generates java files into a target directory (can be changed, but that's the default). Consequently, those files don't get compiles as part of 'mvn compile' Is it a better practice to change the output directory

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Dennis Lundberg
Hi Greg On 2010-08-10 20:37, Greg Akins wrote: Can someone give me some help on using axistools-maven-plugin? The wsdl2java goal generates java files into a target directory (can be changed, but that's the default). Consequently, those files don't get compiles as part of 'mvn compile' The

[ANN] Axis Tools Maven Plugin 1.4 Released

2010-08-10 Thread Dennis Lundberg
The Mojo team is pleased to announce the release of the Axis Tools Maven Plugin version 1.4. This plugin supports the wsdl2java and java2wsdl tools from the Apache Axis project. http://mojo.codehaus.org/axistools-maven-plugin/ To get this update, simply specify the version in your project's

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Greg Akins
Thanks Dennis. This helped a lot. One last issue I have, and am not sure how to resolve, is that I need Axis1 Axis2 generated source. Is that possible by defining two different plugin sections that point to different versions of axistools? Or do I need to do something else? On Tue, Aug 10,

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Dennis Lundberg
On 2010-08-10 23:05, Greg Akins wrote: Thanks Dennis. This helped a lot. One last issue I have, and am not sure how to resolve, is that I need Axis1 Axis2 generated source. Is that possible by defining two different plugin sections that point to different versions of axistools? Or do I

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Greg Akins
On Tue, Aug 10, 2010 at 5:10 PM, Dennis Lundberg denn...@apache.org wrote: This helped a lot.  One last issue I have, and am not sure how to resolve, is that I need Axis1 Axis2 generated source.  Is that possible by defining two different plugin sections that point to different versions of

[ANN] Apache Maven 3.0-beta-2 Released

2010-08-10 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of Apache Maven 3.0-beta-2. Maven is a project comprehension and build tool, designed to simplify the process of maintaining a healthy development lifecycle for your project. You can read more here: http://maven.apache.org/ Downloads of

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Wayne Fay
Any thoughts on what it would take to adapt the plugin so it could do Axis2?   If not, any thoughts on the Maven way to do Axis2 generation? Writing a Maven plugin is pretty simple. I'd pull the source down for the current axistools-m-p and see how it works, then figure out how to add Axis2

[ANN] Release Maven Site Plugin 3.0-beta-1 for maven 3

2010-08-10 Thread Olivier Lamy
The Maven team is pleased to announce the release of the Maven Site Plugin, version 3.0-beta-1 for Maven 3. This version is intended to be the first version of the Maven Site Plugin for Maven 3 and it currently only works with Apache Maven 3.0-beta-2. The Site Plugin is used to generate a site

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Greg Akins
Thanks Wayne.. Looks like another option might be to use axis2-wsdl2code-maven-plugin Does anyone have any experience with that plugin? On Tue, Aug 10, 2010 at 6:21 PM, Wayne Fay wayne...@gmail.com wrote: Any thoughts on what it would take to adapt the plugin so it could do Axis2?   If not,

Re: Questions about axistools-maven-plugin

2010-08-10 Thread Meeusen, Christopher W.
No, not personally. But I know of a team that uses that plugin to generate adb stubs, they say it work well. Chris On Aug 10, 2010, at 18:22, Greg Akins angryg...@gmail.com wrote: Thanks Wayne.. Looks like another option might be to use axis2-wsdl2code-maven-plugin Does anyone have any