Re: How can I emit the SNAPSHOT version after deploy?

2015-08-24 Thread Ben Podgursky
Sorry for the late response, I think you can use this plugin: https://github.com/code54/buildversion-plugin build-version property will be the snapshot version. On Mon, Aug 24, 2015 at 1:52 AM, Gerd Aschbrenner gaschbren...@picturesafe.de wrote: Hi Jeff, I have no answer for your question,

Re: How can I emit the SNAPSHOT version after deploy?

2015-08-24 Thread Ben Podgursky
ack, actually that isn't the snapshot version, it's the git commit. But it's the closest thing I know of. On Mon, Aug 24, 2015 at 6:42 AM, Ben Podgursky bpodgur...@gmail.com wrote: Sorry for the late response, I think you can use this plugin: https://github.com/code54/buildversion-plugin

Re: How can I emit the SNAPSHOT version after deploy?

2015-08-24 Thread Ben Podgursky
Ok I'll stop spamming after this. Try ${maven.build.timestamp}, seems like it might already be the same snapshot as the timestamp and set by maven. ( https://dzone.com/articles/stamping-version-number-and) On Mon, Aug 24, 2015 at 6:44 AM, Ben Podgursky bpodgur...@gmail.com wrote: ack, actually

Re: How can I emit the SNAPSHOT version after deploy?

2015-08-24 Thread Jeff
Thanks for all the suggestions. I've not been successful yet in updating the POM to get what I need. The deploy seems to assign a new snapshot id (timestamp+iteration) independent of what is set in the project. My most successful attempt so far is to not worry about it in the POM, but instead

Re: error when using log4j dependency

2015-08-24 Thread Adrien Rivard
Hi, It is hard to say for sure without the pom but, it look like you are trying to use (maybe indirectly) an invalid repository / repositoryUrl ( https://maven-repository.dev.java.net/nonav/repository is not accessible for me at least). Error don't appear to be related with log4j but with

error when using log4j dependency

2015-08-24 Thread Magnanao, Hector
Why does Maven complain with this error when I try to use version 1.2.15 of log4j as a dependency in my pom file ? Is there a different way of uploading this particular version of log4j ? [INFO] [INFO] BUILD FAILURE

Re: What is the use of the maven-compiler-plugin ?

2015-08-24 Thread Tommy Svensson
Thanks for the explanation! Also note that IDEA has also started using JDT for incremental compilation. I didn’t know that. It doesn't look like it is being used for maven builds however. /Tommy 24 aug 2015 kl. 14:02 skrev Jason van Zyl ja...@takari.io: The short answer is the

how can i upload version 1.1.0.1 of tomcat-jdbc

2015-08-24 Thread Magnanao, Hector
I need to compile with 1.1.0.1. whenever I try to compile with this version, it says the [WARNING] The POM for org.apache.tomcat:tomcat-jdbc:jar:1.1.0.1 is missing, no dependency information available Is there another url or group that I can grab this version from ? Or do I need download

Re: How can I emit the SNAPSHOT version after deploy?

2015-08-24 Thread Gerd Aschbrenner
Hi Jeff, I have no answer for your question, but maybe I have got a solution for your problem. But you will be limited to only one running instance of your Jenkins build pipeline. Take a look at the plugins: * Copy Artifact Plugin * Clean Workspace Plugin 1. Build your myapp with Jenkins 2.

Re: What is the use of the maven-compiler-plugin ?

2015-08-24 Thread Jason van Zyl
The short answer is the maven-compiler-plugin is not used inside Eclipse for projects that use M2Eclipse. Maven has an internal API that lets you calculate the build plan and inside Eclipse we selectively execute certain parts of the build plan. We need to worry about the generation of

Re: dependency error

2015-08-24 Thread Wayne Fay
Click the url. urlhttp://maven.aspose.com/artifactory/simple/ext-release-local//url There appears to be no artifacts with groupId javax in this repo. Only stuff under com. Wayne On Mon, Aug 24, 2015 at 3:21 PM, Magnanao, Hector hector.magna...@sap.com wrote: Can someone help me with this error

Re: error when using log4j dependency

2015-08-24 Thread Wayne Fay
I said it way back in 2009, and it is still true: Friends don't let friends use the dev.java.net repo. Seriously, get rid of that repo from all your pom files, config files, everywhere. Find another source of the javax.jms jar that you need, or try a newer version, perhaps under a different

dependency error

2015-08-24 Thread Magnanao, Hector
Can someone help me with this error ? It can't seem to get to this url. [ERROR] Failed to execute goal on project foundation: Could not resolve dependencies for project com.mycompany.app:foundation:jar:1.0-SNAPSHOT: Failure to find javax.sql:jdbc-stdext:jar:2.0 in

Re: how can i upload version 1.1.0.1 of tomcat-jdbc

2015-08-24 Thread Olivier Lamy
Try this one: http://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat-jdbc/ HTH Olivier On 25 August 2015 at 03:18, Magnanao, Hector hector.magna...@sap.com wrote: I need to compile with 1.1.0.1. whenever I try to compile with this version, it says the [WARNING] The POM for