Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Stephen Connolly
You could use test resource filtering to put the path into a resource file on the test classpath. That way the IDE will pick up the same path. On Thursday, 13 March 2014, Alex Karasulu wrote: > Hello, > > I've got a module that builds an executable jar file using the Maven > Assembly Plugin. I'

Re: Maven 3.1.1 dependency downloading issues

2014-03-13 Thread Bernd Eckenfels
Hello, you can also use !myrepo,!plugin,* But generally it is sooner or later a good idea to have a repository manager like nexus or archiva which has a special proxy support and allows to define virtual repositories (consiting of repository groupsand proxied repositories) Greetings Bernd Am

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Maxim Solodovnik
Hello Baptiste, Thanks for your quick reply! Red5-server is "custom tomcat" (zip/tgz with scripts, libraries, configs etc.). We need to pack it in our distribution, not sure if it can be done "Maven way" :( 2) tgz contains flex based Flash compiler with all necessary libraries and binaries neces

AW: Broken links in surefire-report

2014-03-13 Thread Martin Egge
Hi, > Would you mind filing the bug in our Jira? And as you seem to have spotted > the problem already, perhaps you'd have fun making a fork on GitHub and > providing a pull request with a test and a fix? Done. The pull request can be found at: https://github.com/apache/maven-surefire/pull/36 R

Maven Release Process - Best Practices

2014-03-13 Thread D Vijay
Dear All, Please help me understand on the below 1. What is the release process that is practiced in general(standard practice)? 2. Can we do a release from branch? 3. How can we merge the code from branch to trunk, if we have to do a release only from branch(is there any plugin

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Adrien Rivard
If you are using Eclipse you could also pass the system property directly to the JRE. ( Windows/Preferences/installed JRE/ edit /default VM arguments) It require less work than putting it in all run configuration, but all your process will have it. On Thu, Mar 13, 2014 at 8:56 AM, Stephen Connol

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Ron Wheeler
IMHO, Maven is a software build tool and trying to make it a installation tool is much too hard. You might find that your life will be a lot easier with IzPack as the tool to create your installer. It will allow you to package up your maven artifacts with other resources into different OS-spec

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Maxim Solodovnik
Thanks Ron, I'll take a look at it, but I'm afraid distribute application in "partially compiled state" is not an option. Currently it works out of the box and this is the requirement. Will try to study maven and postpone the migration for now On Thu, Mar 13, 2014 at 8:18 PM, Ron Wheeler wrote

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Baptiste Mathus
Well, though I agree Maven isn't designed to be an end-user tool, using it to build the end-user distribution is actually totally supported. IMO, if what you're trying to do is building your product from some sources and binaries, then Maven can obviously do it. If what you need for production is

Re: An API incompatibility was encountered while executing org.mortbay.jetty:jetty-maven-plugin:8.1.14.v20131031:run: java.lang.NoSuchMethodError

2014-03-13 Thread shriharsh
Hi Kavita, I made an external dependency of servlet 2.5 earlier version for the standard taglib in my app. This taglib had a transitive dependency on an earlier version of the servlet api that was messing things up. By removing this dependency from the path, it worked. if you do mvn dependency:tre

Re: [ANN] Mojo's JAXB-2 Maven Plugin 1.6 released

2014-03-13 Thread Anders Hammar
> > is there actually a need for this plugin? The official Maven JAXB2 Plugin > does quite a good job. (At least for my JAX-WS stuff). > I haven't used the "official" JAXB2 plugin, but as far as I know it doesn't include schemagen support. Also, the docs is far from good/complete in my opinion. B

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Ron Wheeler
You can distribute it in any state that you want. I was just pointing out that if you need to do something with the tgz file at the destination, you can. If it is ready to be used as a tgz, then you don't need to do anything. My point is that trying to make Maven build installation packages can

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Ron Wheeler
Good approach. Ron On 13/03/2014 9:58 AM, Baptiste Mathus wrote: Well, though I agree Maven isn't designed to be an end-user tool, using it to build the end-user distribution is actually totally supported. IMO, if what you're trying to do is building your product from some sources and binaries, t

Filtering issues with maven and assemblies...

2014-03-13 Thread Julien Martin
Hello, I am having issues with maven filtering. My resources are not filtered... I want to generate a jar with dependencies with custom filtering. Can anyone please help? Here is my configuration (*pom.xml* and *assembly.xml*): *Resources:* src/main/resource

[ANN] Apache Maven Checkstyle Plugin 2.12 Released

2014-03-13 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.12 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the versio

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Mirko Friedenhagen
Well with Netbeans you just add the following: org.apache.maven.plugins maven-surefire-plugin ${surefire.version} ${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar

Re: [ANN] Mojo's JAXB-2 Maven Plugin 1.6 released

2014-03-13 Thread Michael Osipov
Am 2014-03-13 16:02, schrieb Anders Hammar: is there actually a need for this plugin? The official Maven JAXB2 Plugin does quite a good job. (At least for my JAX-WS stuff). I haven't used the "official" JAXB2 plugin, but as far as I know it doesn't include schemagen support. Also, the docs is

Need Help

2014-03-13 Thread Vishal Kumar Gupta
Hi Team, OS- Ubuntu 12.04 TLS Maven version - 3.2.1 maven-jar-plugin:2.4:jar is taking too long to generate jar. pom.xml for plugin org.apache.maven.plugins maven-jar-plugin 2.4 true true DEBUG log:- [DEBUG] Configur

Re: Need Help

2014-03-13 Thread Benson Margulies
How long is too long? How big is the jar? On Thu, Mar 13, 2014 at 2:31 PM, Vishal Kumar Gupta wrote: > Hi Team, > > OS- Ubuntu 12.04 TLS > Maven version - 3.2.1 > > maven-jar-plugin:2.4:jar is taking too long to generate jar. > > pom.xml for plugin > > > org.apache.maven.plugins > maven-jar-

An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:

2014-03-13 Thread blipsman
Hi, As I am running mvn clean install in Eclipse and the following configuration is being executed ... org.codehaus.mojo jaxb2-maven-plugin profileXYZ xjc generate-sources com.so

Re: An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:

2014-03-13 Thread blipsman
I found solution: To eliminate problem, which was to enforce using JAXB 2.1 ( which is included in JAVA 6) , but not JAXB 2.2 I have added to the parent POM: * org.codehaus.mojo jaxb2-maven-plugin 1.5