Re: executing a profile

2008-06-19 Thread Martin Höller
Hi! Did you try specifying the property in your pom.xml or settings.xml like this: properties assemblewhatever.value/assemble /properties hth, - martin On Wednesday 18 June 2008 Karan Malhi wrote: Thanks for the response Martin, I did look at that documentation and added the

Antwort: Archiva and -DdownloadSource

2008-06-19 Thread torsten . reinhard
which version are you using? I´m using Archiva 1.0.2 and it does download sources, sure. In my pom.xml i have: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.4/version

Re: properties in archetypes?

2008-06-19 Thread Chris_Graham
[EMAIL PROTECTED] wrote on 18/06/2008 16:50:05: Can we make use of our own properties/variables in archetypes? The m2eclipse plugin allows us to define properties to be used at arcetype generation time. The problem is, I've not see a single references as to _how_ to do this!??? For

Re: How to filter Test case?

2008-06-19 Thread Julien Simon
Hi, If you want to exclude some specific tests you need to configure the surefire plugin in your pom. Have a look at this http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html There's an example showing how to exclude tests. On Thu, Jun 19, 2008 at 4:31 AM,

Re: Archiva Problem.

2008-06-19 Thread Alexander Vaysberg
I use Archiva 1.0.2 (WEB). Yes, I mean HTTP Proxy. The configuration in archiva.xml is default, but I find deference: releasesonce/releases, but I think it must releasesalways/releases. proxyConnectors proxyConnector order1/order

Re: Running all tests ignoring failures

2008-06-19 Thread Martin Höller
Hi Ravi! On Thursday 19 June 2008 Balasubramanian, Ravi Shankar wrote: Hi all, I need a way in maven (using the surefire-plugin) to run all tests in a project ignoring any test failures that might occur. All my tests are independent of each other and i want all the tests to be run

JARs in WEB-INF/lib

2008-06-19 Thread Niranjan Deshpande
I am moving my applciaiton build process from ant to maven earlier, some dependency jars were in my prj_hom/lib dir, these were for the dependecny resoultion. now the jars are in the repository and declared in the POM. so emptying (deleting) the prj_home/lib dir should not be a harm. my

Re: Running all tests ignoring failures

2008-06-19 Thread Stefan Seidel
Hi, what always worked was: mvn ... -Dmaven.test.failure.ignore=true Stefan Balasubramanian, Ravi Shankar wrote: Hi all, I need a way in maven (using the surefire-plugin) to run all tests in a project ignoring any test failures that might occur. All my tests are independent of each

Re: JARs in WEB-INF/lib

2008-06-19 Thread Martin Höller
On Thursday 19 June 2008 Niranjan Deshpande wrote: I am moving my applciaiton build process from ant to maven earlier, some dependency jars were in my prj_hom/lib dir, these were for the dependecny resoultion. now the jars are in the repository and declared in the POM. so emptying (deleting)

changelog problem

2008-06-19 Thread Patrick Kwok
Hi, I have been trying to build a Maven site for some of our modules by running mvn site, and the build process seems fine until it got to the changelog report. It was stuck at the following point, and the changelog.html was generated as a blank file. Extract from the log:

own archetype

2008-06-19 Thread Caesar6
I would like to create my own archetype. I used the quickstart-archetype as an example. How is it possible to change the java-folder from src-main-java to src-java (remove the main-folder)? Can you give me some examples? -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit

specialising release builds

2008-06-19 Thread Richard Chamberlain
Hi all, I'm trying to upload javadoc to a site when we release an artefact. How can I switch uploading based on whether it is a release version or not? Thanks, Richard

Re: own archetype

2008-06-19 Thread Salvador Diaz
In your archetype's pom, in the build section, put the following configuration: build sourceDirectorysrc/java/sourceDirectory ... /build Greetings, Salvador [EMAIL PROTECTED] a écrit : I would like to create my own archetype. I used the quickstart-archetype as an example. How is it

PMD/Checkstyle plugins.

2008-06-19 Thread Niranjan Deshpande
where do the generated reports of the pmd/checkstyle go? I am using my own ruleset for both. and right now executing the pmd plugin as under build will later move it to the reporting -- Regards, Niranjan Deshpande Shut yourself from the world and create the reality you want

exec:exec with pom artifact?

2008-06-19 Thread Kristian Rink
Folks; so far I make use of a pom artifact having several modules configured in order to ease building projects depending upon each other. Right now, the last of these modules is a war artifact which, after building all modules, I would like to deploy to some server (using exec:exec and the

Re: own archetype

2008-06-19 Thread Raphaël Piéroni
Try creating a sample project then call mvn archetype:create-from-project on that project then go to target/genetrated-sources/archetype then call mvn install to use it go to a fresh directory and call mvn archetyppe:generate -DarchetypeCatalog=local Raphaël 2008/6/18 [EMAIL PROTECTED]: I

Re: exec:exec with pom artifact?

2008-06-19 Thread Dirk Olmes
Declaring this inside a war artifact, execution phase deploy, works fine. Using a pom artifact however, it seems to run exec:exec not along with deploying the pom (i.e. after rebuilding all) but in the deploy phase for each module (at least that's what the error messages make me believe). Am I

Custom classloader for an artifact

2008-06-19 Thread Jens Köcke
Hi, I've been developing a maven plugin for the Java Plugin Framework (http://jpf.sf.net). Its a plugin system similar to the one used by eclipse. A jpf-plugin is a jar file containing the compiled classes in a subdirectory and a plugin descriptor. A plugin can export certain classes and

RE: Release plugin does not change version of plugin's dependency even though it is in reactor

2008-06-19 Thread Hayes, Peter
No this is not the issue. The problem is that the version of the build tool artifact does not get updated during the release:prepare phase. Pete -Original Message- From: Kalle Korhonen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 10:11 PM To: Maven Users List Subject: Re:

How to omit/include a jar file during packaging

2008-06-19 Thread prabho
Hi all, I am trying to create a WAR file with class files and other jar files. As I have conflict with an external jar file, I am supposed to omit my jar file while packaging. Can you please let me know how to achieve that? Any help is greatly appreciated. Thanks Prabhu -- View this message

How to get around a Maven Bug?

2008-06-19 Thread Hoying, Ken
I am getting the error below when attempting to add the Apache commons-validator version 1.3.1 to my project. It looks like this might be a known issue in Maven based on this bug report: http://jira.codehaus.org/browse/MNG-2123?page=com.atlassian.jira.plugin.

Some questions about executions?!thanks for any help!

2008-06-19 Thread oliver.maven
hi,all some questions about executions section i have, 1-Does execution only can be activated along with it's config phase been called? 2-If i have 2 executions,both of them didn't set phase / section, when and which one will executed? 3-How to directly invoke one of execution? waiting for

Re: How to filter Test case?

2008-06-19 Thread Mick Knutson
I actually use TestNG, and filter my testng.xml thus getting the result it sounds like you want. On Thu, Jun 19, 2008 at 12:51 AM, Julien Simon [EMAIL PROTECTED] wrote: Hi, If you want to exclude some specific tests you need to configure the surefire plugin in your pom. Have a look at

Invoking archetype:create with Maven API

2008-06-19 Thread Davide Angelocola
Hi, I need to invoke the goal archetype:create from a java program using the Maven API. Actually I've a class that uses a ProcessBuilder, but this is somewhat problematic since it rely on an external maven installation. This is the ugly code: String command[] = { mvn,

Ant Plugin for Maven

2008-06-19 Thread Jan Bohac
Hello everybody, I've following problem. I'trying to develop Ant Plugin for Maven 2.0.9. In the plugin I'm using the ant task from Oracle - for assemblying Web Services. First I tried to create a normal Ant build file - it works correctly and then I've create (from this file) the Maven plugin.

Re: How to omit/include a jar file during packaging

2008-06-19 Thread Julien Simon
Hi, You could specify a provided scope for the dependency that you don't want to package in your WAR. It will use the dependency for the compile phase, but will not include it in your war. dependency groupIdmy-jar-group/groupId artifactIdmy-jar-artifact/artifactId

Re: use highest version available ? Version Ranges ?

2008-06-19 Thread User
SlinnHawkins, Jon (ELS-CAM) wrote: Hi, Is there any way of forcing a dependency to use the highest version available ? Ranges is the right way to do it. For example : Does [4.0,) grab the highest version above 4.0, or does it still use a “best fit” with the other

resin plugin deploying blank war?

2008-06-19 Thread Mick Knutson
I am trying to deploy to resin with: plugin groupIdcom.caucho/groupId artifactIdresin-maven-plugin/artifactId version3.1.5/version /plugin But web\target\webapp is fully blank, but webapp-cach has what looks like my contents of

Deploying SWT zipped app for 4 platforms

2008-06-19 Thread Andrew Robinson
I am trying to determine how to bundle my SWT application to release on windows, linux, linux-amd64 and macosx. I already have 4 profiles that have the correct dependencies for each platform. What I want to do is tie this into the assembly plugin and the release plugin. This is how I can have

Re: resin plugin deploying blank war?

2008-06-19 Thread Mick Knutson
Is anyone using the resin plugin? On Thu, Jun 19, 2008 at 9:06 AM, Mick Knutson [EMAIL PROTECTED] wrote: I am trying to deploy to resin with: plugin groupIdcom.caucho/groupId artifactIdresin-maven-plugin/artifactId version3.1.5/version

Re: resin plugin deploying blank war?

2008-06-19 Thread Mick Knutson
500 Servlet Exception [show] javascript:show(); java.lang.NullPointerException java.lang.NullPointerException at com.caucho.amber.table.ForeignColumn.init(ForeignColumn.java:50) at com.caucho.amber.table.Table.createForeignColumn(Table.java:225) at

Re: resin plugin deploying blank war?

2008-06-19 Thread Olivier Lamy
AFAIK this plugin is supported by the maven dev team. Please have a look at http://www.caucho.com/ caucho mailing lists are listed here : http://maillist.caucho.com/mailman/listinfo Thanks ! -- Olivier 2008/6/19 Mick Knutson [EMAIL PROTECTED]: 500 Servlet Exception [show]

Re: resin plugin deploying blank war?

2008-06-19 Thread Olivier Lamy
oups typo ;-) AFAIK this plugin is NOT supported by the maven dev team. 2008/6/19 Olivier Lamy [EMAIL PROTECTED]: AFAIK this plugin is supported by the maven dev team. Please have a look at http://www.caucho.com/ caucho mailing lists are listed here :

Re: resin plugin deploying blank war?

2008-06-19 Thread Mick Knutson
So I need to sign up to yet another list to find help on a Maven supported plugin? On Thu, Jun 19, 2008 at 1:50 PM, Olivier Lamy [EMAIL PROTECTED] wrote: oups typo ;-) AFAIK this plugin is NOT supported by the maven dev team. 2008/6/19 Olivier Lamy [EMAIL PROTECTED]: AFAIK this plugin is

RE: How to omit/include a jar file during packaging

2008-06-19 Thread prabho
Thanks a lot. I am having a problem in including a jar file though. I have the following directory structure. Dir A/ - lib/ - pom.xml Dir B/ - WEB-INF/lib - pom.xml (includes dependency for Dir A) Dir C/ - pom.xml I want to place the jar files in Dir B/WEB-INF/lib

AW: Ant Plugin for Maven

2008-06-19 Thread Mark Struberg
Hi! Usually vendor specific ant tasks come in a jar. So is this jar available in the public repositories or did you deploy it into your company repository? If so, simply add a dependency to it. LieGrü, strub --- Jan Bohac [EMAIL PROTECTED] schrieb am Do, 19.6.2008: Von: Jan Bohac [EMAIL

Issues with Spring when upgrade to Maven 2.0.9.

2008-06-19 Thread Todd Nguyen
Anyone seen this before. Maven 2.0.7 works just fine. Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean

[m2] selenium plugin, with testng Session NULL issue

2008-06-19 Thread Mick Knutson
I keep getting this error trying to run Selenium tests: *17:31:54,256 INFO [org.openqa.selenium.server.SeleniumDriverResourceHandler] Got result: ERROR Server Exception: sessionId should not be null; has this session been started yet? on session null 17:31:54,288 INFO

what is difference between configuarion and execution of plugin ?

2008-06-19 Thread oliver.maven
hi, i know execution may contains configuration,but i am still confusing, some plugin has the configuration only,some plugin has the execution only, and some has both of them, how to differentiate them and use correctly? thanks a lot! oliver.lee 2008-06-20

Re: what is difference between configuarion and execution of plugin ?

2008-06-19 Thread Geoffrey Wiseman
On Thu, Jun 19, 2008 at 9:30 PM, oliver.maven [EMAIL PROTECTED] wrote: hi, i know execution may contains configuration,but i am still confusing, some plugin has the configuration only,some plugin has the execution only, and some has both of them, how to differentiate them and use

Re: resin plugin deploying blank war?

2008-06-19 Thread Geoffrey Wiseman
On Thu, Jun 19, 2008 at 4:57 PM, Mick Knutson [EMAIL PROTECTED] wrote: So I need to sign up to yet another list to find help on a Maven supported plugin? No, I think you need to sign up for a third-party list to learn about a third-party plugin for Maven. Does that make more sense? -

Re: How to get around a Maven Bug?

2008-06-19 Thread Barrie Treloar
On Thu, Jun 19, 2008 at 11:46 PM, Hoying, Ken [EMAIL PROTECTED] wrote: I am getting the error below when attempting to add the Apache commons-validator version 1.3.1 to my project. It looks like this might be a known issue in Maven based on this bug report:

Re: Re: what is difference between configuarion and execution of plugin ?

2008-06-19 Thread oliver.maven
hi Geoffrey, quite clear now!thank you so much! my last doubt, the only way to specific a plugin to execute in certain phase, is to add a execution section? got any other way? oliver.lee 2008-06-20 发件人: Geoffrey Wiseman 发送时间: 2008-06-20 09:38:19 收件人: Maven Users List 抄送: 主题: Re: what

Incrementing a pom version in a multi-module project (without doing by hand)

2008-06-19 Thread Ian Rowlands
Just wondering what the best way to change the version of POMs in a multi-module Maven 2 project from one number to another? I know you can use the release:branch plugin to do it if you require a branch, but sometimes I don't want to branch - I just want to increase the version! I need to be