Maven 3 incompatiblity

2009-11-24 Thread Andreas M
After I upgraded to the latest m2eclipse the builds of out integration tests started failing. The reason was this: I had set up our integration tests so that I could run one side of the communication with an older version of our product (for compatibility tests). I did this by setting up two depen

Re: Maven 3 incompatiblity

2009-11-24 Thread Anders Hammar
I'm not sure I understand your use case fully, but I'm thinking that you should probably keep your ITs outside of your project. You would then build your project for a specific version, but could then run the ITs on any other version. And this strategy could then be extended to run the ITs with dif

How to skip testResources execution when tests are skipped

2009-11-24 Thread maik . ebert
Hello everyone, is it possible to remove the maven-resource-plugin with its testResources mojo execution from the lifecycle when tests are skipped? The maven-compiler-plugin respects the skipTests parameter and does not compile the test classes, but the maven-resource-plugin does still process

Re: How to skip testResources execution when tests are skipped

2009-11-24 Thread Aleksey Didik
Hello, as to me, the best way for integration tests organization is using 'pom' packaging for it module. In this case you could manually switch on only necessary plugins like compiling only tests, copy resources or not, and etc.. My it-module pom: http://maven.apache.org/POM/4.0.0"; xmlns:xs

Re: How to skip testResources execution when tests are skipped

2009-11-24 Thread Aleksey Didik
Sorry, looks like I don't understand your question. The shame. Aleksey. maik.eb...@icw.de пишет: Hello everyone, is it possible to remove the maven-resource-plugin with its testResources mojo execution from the lifecycle when tests are skipped? The maven-compiler-plugin respects the skipTes

How to include images into Doxia generated site?

2009-11-24 Thread Gajo Csaba
Hello, I'm generating a PDF from DocBook XML, and I don't know how to include images, as in, where should they be located? I've tried next to the xml file, in the root directory... http://maven.apache.org/doxia/book/index.html Thanks, Csaba

Re: How to include images into Doxia generated site?

2009-11-24 Thread Lukas Theussl
The doxia maven plugin currently ignores resources, see http://jira.codehaus.org/browse/DOXIA-355 and http://jira.codehaus.org/browse/DOXIA-354 for a workaround. HTH, -Lukas Gajo Csaba wrote: Hello, I'm generating a PDF from DocBook XML, and I don't know how to include images, as in, whe

One project, two outputs, how to do it?

2009-11-24 Thread Gajo Csaba
Hello, Usually when I build a project and install it to my local repository, I have one jar file there. In one specific case, I would like two jars to be created, and they should both be installed into the repository. Is there a way to do this? Creating two jars is not so much a problem, the

Re: One project, two outputs, how to do it?

2009-11-24 Thread Alexander
Two identical jar? 2009/11/24 Gajo Csaba > Hello, > > Usually when I build a project and install it to my local repository, I > have one jar file there. In one specific case, I would like two jars to be > created, and they should both be installed into the repository. Is there a > way to do this

Re: One project, two outputs, how to do it?

2009-11-24 Thread Gajo Csaba
No, different, one containing one part of the compiled code, the other the rest. Alexander wrote: Two identical jar? 2009/11/24 Gajo Csaba Hello, Usually when I build a project and install it to my local repository, I have one jar file there. In one specific case, I would like two jars

RE: merging testng into surefire..

2009-11-24 Thread Martin Gainty
this would work only IF the providers integrated with surefire properly which is not the case the side effect is that integrating a provider such as testng (which only works with surefire last time i checked) creates integration exceptions NONE of these integration exceptions would occur IF th

Re: One project, two outputs, how to do it?

2009-11-24 Thread Aleksey Didik
But what about maven-assembly-plugin?All assemblies will be installed and deployed, not only main jar. http://maven.apache.org/plugins/maven-assembly-plugin/usage.html Getting started with the Assembly Plugin is pretty simple. If you're using one of the prefabricated assembly descriptors, you

Re: merging testng into surefire..

2009-11-24 Thread Mick Knutson
I do not understand the problem space at this point. What PROVIDER code issue are you having? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Li

Re: One project, two outputs, how to do it?

2009-11-24 Thread Anders Hammar
Look at the far bottom of this page: http://maven.apache.org/plugins/maven-jar-plugin/usage.html /Anders 2009/11/24 Gajo Csaba > Hello, > > Usually when I build a project and install it to my local repository, I > have one jar file there. In one specific case, I would like two jars to be > crea

Re: Skip dependencies

2009-11-24 Thread Gajo Csaba
Regarding this subject, I've managed to "resolve" dependencies by removing them from the project. So my plugin will check if an rpm is installed, and if not, it will fail. If everything is ok, then the rpm dependency will be removed from the project, so that Maven cannot do the check on its own

Re: Skip dependencies

2009-11-24 Thread Stephen Connolly
why don't you just set true on your dependencies? 2009/11/24 Gajo Csaba : > Regarding this subject, I've managed to "resolve" dependencies by removing > them from the project. So my plugin will check if an rpm is installed, and > if not, it will fail. If everything is ok, then the rpm dependency w

Re: Skip dependencies

2009-11-24 Thread Gajo Csaba
Because they're not optional, they just cannot be installed by Maven because they're in a YUM repository. But I guess the effect would be the same? Stephen Connolly wrote: why don't you just set true on your dependencies? 2009/11/24 Gajo Csaba : Regarding this subject, I've managed to "re

mvn site

2009-11-24 Thread Richard Bibb
Appologies if I'm in the wrong part of the forum. If I have a favicon.ico file that I want to be included in my site distribution doesn anyone know where I should put it? site/resources/Images doesn't seem to work -- View this message in context: http://old.nabble.com/mvn-site-tp26497635p264976

MAVEN2 PROJECT DEPLOYMENT FAILING....

2009-11-24 Thread Christopher Styles
Hi, I'm trying to build and deploy a maven2 project via hudson, and the build works fine, but the deployment is failing... It's trying to deploy to a location that's not specified in in my parent pom.xml... Does anyone know why this is happening...??? If someone could please provide insight as to

Re: MAVEN2 PROJECT DEPLOYMENT FAILING....

2009-11-24 Thread Christopher Styles
Also, I forgot to added the commands I'm trying to run via hudson... mvn -e -cpu -B -P ci,jws,code-drop clean install mvn -e -B -P ci,jws,code-drop -DpreparationGoals="clean install" release:prepare mvn -e -cpu -B -P ci,jws,code-drop release:perform Thanks On Tue, Nov 24, 2009 at 10:23 AM, Chri

Re: yelling not needed

2009-11-24 Thread Mick Knutson
ok, I will speak softly for only 1 observation I have: file:///*/*home/COMPANY/repository/maven2 there should be 4 (/) slashes and no (*) asterisks or other odd characters. At least that is how I use this currently I also use: file:///C:/Temp/sites/${pom.version} --- Thank You… Mick Knutson,

Re: MAVEN2 PROJECT DEPLOYMENT FAILING....

2009-11-24 Thread Wayne Fay
>> I'm trying to build and deploy a maven2 project via hudson, and the build >> works fine, but the deployment is failing... It's trying to deploy to a >> location that's not specified in in my parent >> pom.xml... Does anyone know why this is happening...??? If someone could Try this to see what

[ANN] Maven Changes Plugin 2.2 Released

2009-11-24 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Changes Plugin, version 2.2 This plugin is used to inform your users of the changes that have occured between different releases of your project. The plugin can extract these changes, either from a changes.xml file or from the JIRA iss

Re: mvn site

2009-11-24 Thread Dennis Lundberg
Richard Bibb wrote: > Appologies if I'm in the wrong part of the forum. > > If I have a favicon.ico file that I want to be included in my site > distribution doesn anyone know where I should put it? site/resources/Images > doesn't seem to work /src/site/resources/favicon.ico is the correct place

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-24 Thread Jonathan Gold
Jamie -- My adversion to running 'mvn clean install' is just that I'd prefer not to have to build and install something just to be able to examine its dependencies. Indeed, this problem came up originally as I was configuring a new project and trying to do sort of a dry run to understand where thi

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-24 Thread Wayne Fay
> My adversion to running 'mvn clean install' is just that I'd prefer not to > have > to build and install something just to be able to examine its dependencies. This is merely a preference, right? > under various 3rd party dependency scenarios. It seems backwards to me to have > to first build

RE: merging testng into surefire..

2009-11-24 Thread Martin Gainty
i managed to work thru the integration issues this is the specific error java.util.MissingResourceException: Can't find bundle for base name org.apache.maven.surefire.surefire, locale en_US Thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmer

Subject: Adding version numbers to artifacts

2009-11-24 Thread Jeff French
I'm trying to replicate our Maven-1 nightly build/deploy process with Maven-2. Basically, a build server passes the current version to a maven process that then produces artifacts with that version number appended. Since the build occurs on the same machine as the repo, I'm guessing I can perform

Re: Subject: Adding version numbers to artifacts

2009-11-24 Thread Anders Hammar
Looks to me that what you're doing is a release build, not a nightly build (at least not what I associate with the "nightly build" expression". You should take a look at the release plugin: http://maven.apache.org/plugins/maven-release-plugin/ It will release your project including updating the ve

[ANN] APT Maven Plugin 1.0-alpha-3 Released

2009-11-24 Thread Benjamin Bentmann
The Mojo team is pleased to announce the release of the APT Maven Plugin, version 1.0-alpha-3. http://mojo.codehaus.org/apt-maven-plugin/ The major change in this release is a fix to the embedded invocation of APT to enable interoperability with Maven 3. To get this update, simply specify

[ANN] Maven JAR Plugin 2.3 Released

2009-11-24 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven JAR Plugin, version 2.3 This plugin provides the capability to build jars. Signing is deprecated starting with this version. Please use Maven Jarsigner Plugin if you need to sign JARs. http://maven.apache.org/plugins/maven-jar-plugin/

[ANN] Maven Doxia Tools shared component 1.1 Released

2009-11-24 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Doxia Tools shared component, version 1.1 This shared component has some utilities that are useful when integrating Doxia in Maven, mainly for site generation and report creation. The main entry point is the SiteTool Plexus component.