maven-surefire-report-plugin: reportsDirectories does not change directory searched by plugin.

2011-02-10 Thread yurodivuie
I've been trying to generate reports for my failsafe tests using the maven-surefire-report-plugin (v2.7.2), using the instructions posted in the http://maven.apache.org/plugins/maven-failsafe-plugin/usage.html#Reporting_integration_test_results failsafe usage guide. However, every time I ran th

Re: NetBeans RCP Maven site goal

2011-02-10 Thread David Beer
On Wed, 2011-02-09 at 17:39 -0600, Wayne Fay wrote: > >>To create your own repository, use: nbm:populate-repository > > > > Why don't you try running the "mvn nbm:populate:repository" command > > I mistyped, that is supposed to be "mvn nbm:populate-repository" obviously. > > Wayne > Hi W

Re: Pom not deployed to repo when using profiles to build with 2 jdks

2011-02-10 Thread Stephen Connolly
I hope your realise that what you are doing is not the naven way... ie there be dragons I hope you do not have dependencies in these profiles you have... if you do, then they are the fire breathing and hungry for human flesh kind of dragons - Stephen --- Sent from my Android phone, so random sp

Re: Pom not deployed to repo when using profiles to build with 2 jdks

2011-02-10 Thread ankush chadha
To simplify things and narrow down the problem, can you 1. use mvn install (Check if your local repository is getting updated) 2. Use a single profile with the JDK that you are currently using and activate it by default. Make sure that the JAVA_HOME is set. If you can see an updated artifact in

Re: Run single integration test, skip unit tests

2011-02-10 Thread Anders Hammar
I don't thinks there's a clean way of dong this unfortunately. One way it could be done, I think, is to create a profile that is triggered by some property, which set the skip param of the surefire plugin. If you want to just execute one single integration test, I would look into the -Dit.test prop

Upgrading maven-embedder from 2.0.4 to 3.0.2

2011-02-10 Thread mraible
I'm trying to upgrade the dependencies of the appfuse-maven-plugin to use the latest Maven dependencies to solve an issue with using Maven 3. http://issues.appfuse.org/browse/APF-1220 However, when I upgrade to maven-embedder 3.0.2, there's a couple classes missing: MavenEmbedder and MavenEmbedd

Run single integration test, skip unit tests

2011-02-10 Thread Steve Cohen
Given a project utilizing both the surefire and failsafe plugins, if I want to run a single integration test but skip the unit tests, is this possible? There is a -DskipITs switch but not a -DskipUTs switch. Thanks - To unsub

Needless javadocs for generated classes

2011-02-10 Thread Jukka.Lahtinen
I'm working on a multi-module project that is run on IBM WAS 6 server. We used to use a plugin made in-house for deploying to WAS back when we used maven 2.2.1 for the builds, but I encountered some problems with transitive dependencies when upgrading to maven 3, and found switching to org.codeh

Re: FileNotFoundException while reading static input file in JUnit

2011-02-10 Thread Benson Margulies
And why project.basedir and not just ${basedir}? org.apache.maven.plugins maven-surefire-plugin always ${bt.root.location}

Creating Eclipse Custom ODA using maven 2

2011-02-10 Thread piyush2k13
HI All, I want to create two maven projects which is supposed to be eclipse plugin. This plugin is a custom data source i.e. Eclipse Custom ODA Runtime driver Plugin Project and Eclipse Designer Plugin Project. Initially, I tried to mavenize the existing eclipse project but it is having serious

Re: Maven 3 support for org.apache.maven.user-settings

2011-02-10 Thread Stephen Connolly
I use the following bash function for selecting different maven versions: usemvn () { if [ -z "$1" -o ! -x "/opt/apache/apache-maven-$1/bin/mvn" ]; then echo -n "Syntax: usemvn"; for i in /opt/apache/apache-maven-*; do if [ -x "$i/bin/mvn" ]; then

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread Jörg Schaible
fhomasp wrote: > > > I understand it was only an example :-) > To clarify my question... I build my war using a java 5 VM in maven2. > This > means no bcprov or wss4j version as dependency in the libs of the war. > This > seems to work fine. So why are these dependencies added for java 6 the

Re: Maven 3 support for org.apache.maven.user-settings

2011-02-10 Thread Marc Rohlfs
On 09/02/11 16:16, Wayne Fay wrote: started working with an alias: > alias mvn='mvn -s .../settings.xml' > But this wouldn't work on Windows machines ... I've done something similar with "mvnclienta" and "mvnclientb". You simply copy the mvn.bat file, rename it, and insert the "-s .../se

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread fhomasp
I understand it was only an example :-) To clarify my question... I build my war using a java 5 VM in maven2. This means no bcprov or wss4j version as dependency in the libs of the war. This seems to work fine. So why are these dependencies added for java 6 then? Surely something must be ava

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread Jörg Schaible
fhomasp wrote: > I see, thanks. Though I can't seem to find any reference to *bcprov* > anywhere in the java 6 jre. So the functionality is somehow imported in > Java 6 on the class level instead of relying on wss4j and bcprov then? Rhino was only an example! The same happens if you depend in t

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread fhomasp
I see, thanks. Though I can't seem to find any reference to *bcprov* anywhere in the java 6 jre. So the functionality is somehow imported in Java 6 on the class level instead of relying on wss4j and bcprov then? Cheers, T Jörg Schaible-3 wrote: > > Hi, > > fhomasp wrote: > >> >> >> So d

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread Jörg Schaible
Hi, fhomasp wrote: > > > So different dependencies in different profiles are going to be disallowed > then? I do remember that you're not that much of a profile fan. I fully > agree here. > > So what might happen if I build a war with java 5 and deploy it on a > server using java 6? Nothing

Re: Breaking the build on JVM 6 because of maven dependency

2011-02-10 Thread fhomasp
So different dependencies in different profiles are going to be disallowed then? I do remember that you're not that much of a profile fan. I fully agree here. So what might happen if I build a war with java 5 and deploy it on a server using java 6? Thanks! T stephenconnolly wrote: > > th

Starting Tomcat from Maven with forked process

2011-02-10 Thread Erdem Alpay
Hello everybody, I have a project which uses Tomcat as a container. I want to start Tomcat through maven. For this purpose I have tried Maven Cargo Plugin. I selected my container type as "installed" since Cargo Plugin does not support "embedded" for Tomcat 6.0 and "remote" container type does no

maven-assembly-plugin and .folder

2011-02-10 Thread Hauschel Fred Robert
Hi all, I will zip a folder with the name '.metadata' but assembly plugin is ignoring me ;-) This is ignored: .metadata/version.ini Does anybody have an idea, why assembly is ignoring '.metadata'? Or is it a feature of the fileset ?? ${project.