maven-release-plugin

Maven release plugin: specify java compiler version

Hi, I have this project made of multiple jars and war to make an ear. I build everything in snapshot and it works great. Then I made a release for every single project and saw that the jars and the war were slightly different in size than the snapshot ones. Comparing file to file I realized that the .class files were all there, but sli...

maven release plugin - wagon fails with ssh auth but snapshort and release deploy works - eh?

I'm baffled and would appreciate any help. My build machine can no longer use the maven release plugin. When I try it fails on auth during the deployment from the tag. However, this machine can release using the standard deploy method to snapshot and release repositories (which are on the same machine with nexus as intermediary). ...

Getting maven and git to work.

I have recently began delving into git and maven. I have a system that has several module sets and this is stored in various git repositories, I need this to be pulled down into the same workspace and run various maven goals. I was wondering if anyone else has run through this setup and provide tired and true way of doing this. I would...

what is the difference between maven release and maven assemblies plugins?

Question says it all, I believe. Please and thank you GC ...

Maven Cargo Deploy During Release Perform

Is it possible to have maven do a cargo:redeploy while I am doing a release:perform? Currently, we do a release:perform which removes -SNAPSHOT from the version, builds, commits, and then increments the version. This places the final version WAR in the target/ directory but running cargo:redeploy sees the new version number in the pom.x...

How can I make Hudson automatically build & install release artifacts, rather than just snapshots?

I'm developing several mavenised projects on my laptop, and periodically pushing to github. I've set up a private hudson server in the cloud that polls the git repositories for updates, and thus performs builds - so far so good. Unfortunately, when I execute a 'mvn release:prepare' on my laptop to perform a release (say '1.5'), the two ...

Maven release plugin with profile-dependent submodules

Hello, I am trying to perform a release using a multi-module maven project. My objective is to modify the version of all poms, and create a tag in the SCM, which is why I am using the maven release plugin. This project has a hierarchy that I have simplified as: example/ module1/ module2/ module-jni-linux/ modul...

Lock Source file in Perforce while using Maven release plugin

Hi, I got an error in Hudson console out saying the build fail because Maven release plugin cannot update POM.xml version while there are still unresolved files. The problem is caused by other people updating the POM during the build. Can any guru teach me how to solve the problem? I am think about a P4 lock, anyone can give me more ...

How to handle maven versions in a multi module project?

I have a maven project infrastructure like this: /trunk/all/pom.xml /trunk/all/libs/lib1/pom.xml /lib2/pom.xml ... /trunk/all/projects/p1/pom.xml /p2/pom.xml ... You see, I have a lot of libraries and a lot of projects using these libraries. All this is combined to ...

Maven2 release plugin doens't want to tag

Hi all, We have a multi-module project on which I wanted to use the release plugin. The setup in subversion is /svn/repo/project -- branches -- tags -- trunk -- -- project -- -- pom.xml -- -- module1 -- -- -- pom.xml -- -- module2 -- -- -- pom.xml -- -- module3 -- -- -- pom.xml -- -- module4 -- -- -- pom.xml This proje...