I am really tired of struggling with Maven 2 all the time. Build tools should not be in the way. Recently I have been looking at Buildr and Gradle. Maven 3 seems to fix some of the struggles. So, what should I go for now? Buildr? Gradle? Or wait a year for Maven 3?
...
I've been trying to find out more about Maven 3 and Mercury (Maven Mercury is a replacement for the Maven Artifact subsystem, and a complete replacement for the HTTP/HTTPS/DAV/DAVS portions of the existing transport).
There seems to be very little of substance available at the moment, particularly for Maven 3.
Does anyone know of any g...
I've finally got round to looking at Tycho (a bridge between Maven 3 and OSGi), but I am not getting very far. Following this tutorial I have downloaded Tycho 0.3.0-DEV-1819 and the tychodemo.zip and unpacked them both as instructed. I have a 1.5.0_15 JDK set as JAVA_HOME.
When I run (without the newline):
c:\tycho\bin\mvn org.codehaus...
How can I upload a directory - Eclipse update site - using sftp with public key authentication in Maven?
For background information: I'm using tycho to build an Eclipse plugin and want to get the update site ( <packaging>eclipse-update-site</packaging>) uploaded.
Asked on the Tycho users list as well.
...
In maven multi-module projects where I want each of the modules to always keep the same version as the parent, I've typically done something like the following in the module's pom.xml:
<parent>
<groupId>com.groupId</groupId>
<artifactId>parentArtifactId</artifactId>
<version>1.1-SNAPSHOT</version>
</parent>
<groupId>c...
I was trying to figure out how mixins are defined in Maven 3, but couldn't find anything other than buzz. It is propagated as one of the big new features here and here. I am currently feeling the pain of the hierarchical structure and would like to give it a spin. Does anyone have a pointer to documentation or the source defining the syn...
As you see from the title, I want to ask that the case of in Maven 3 there is no support for $version in pom.xml anymore. Do we have to really write a constant every time in each project in every pom.xml and related configuration files again and again? How can we avoid doing this? How can we use a versioning method like $version?
...
I've tried to build Tycho now for a couple of hours and just can't get it to work. I've followed these instructions:
https://docs.sonatype.org/display/TYCHO/BuildingTycho
So, I've downloaded Eclipse 3.6RC2 and Delta-packs linked from this instruction (is it for 3.5 only?):
http:// (remove space) aniefer.blogspot.com/2009/06/using-delt...
I have a project managed by maven with slf4j-api-1.5.8 and log4j-1.2.14 dependencies.
In runtime , slf4j needs slf4j-log4j12-1.5.8.jar to "bridge" output to log4j.
So in pom.xml , I add this dependency :
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf...
I am using M2Eclipse (0.10.0, Maven 3)in projects. I can add Maven dependency using m2eclipse. But dependency jars couldn't be downloaded. Instead, it created a file in each local repo folder named [JAR_Name].jar.lastupdate. The content of this file is some thing like :
http\://[REPO_URL]/central/=1276221188566
Even using Maven 3 comman...
Hi everyone,
i'm trying to use Nexus + m2eclipse/maven-3 professionnally, and i've got a huge 3rd party library that needs a lot of dependencies.
Is there any ways to ease my pain by uploading to Nexus this third party library with all its dependencies linked, so that anyone who would need it would just have to add the maven-dependenc...
maven 3 beta is out since a couple of weeks and just thought for getting your views on the feature list for maven 3. Coz to me only two major features were added
Parallel execution of of project in the build lifecycle
Custom lifecycle
Everything else seems like a bug fix or a minor improvement. So what do you think. Will maven 3 be ...
Is there any sort of documentation on the topic, except of m2eclipse sources?
Thanks.
JBaruch.
...
Hi all,
I need help getting setup on Seam 3 modules. When I try to use the Seam 3 module, persistence, the JBoss Java EE 6 spec cannot be found.
I was reading that I need to use maven 3 or declare the repository where that artifact can be found. I am using maven 3, but still no go.
Walter
...
I am having problems building a maven 3 pom:
[seam] $ /usr/lib/jvm/java-6-openjdk/bin/java -cp /home/walterjwhite/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.372.jar:/opt/apache/maven/3.0.beta.1/boot/plexus-classworlds-2.2.3.jar hudson.maven.agent.Main /opt/apache/maven/3.0.beta.1 /opt/apache/tomcat/6.0.29/webapps/hudson/WEB...
In Maven 3 there are new DSL replacements for the POMs. See:
http://polyglot.sonatype.org/groovy.html
for the wonderfully terse syntax.
Is there something similar that can be used for Spring applicationcontext.xml files?
...
When I try to install a custom jar with the following maven command then it will fail misirably:
mvn -X install:install-file -Dfile=D:\Work\...
Howerver the following does work:
mvn -X install:install-file -Dfile=\Work\...
You might now ask: So where is the problem? Well, I want to import from a script file and there I have the pat...
Are there any compelling reasons for me to upgrade to Maven 3 immediately? Nothing stands out from the release notes.
Have you upgraded to Maven 3 yet? If so, what benefits did you see?
...
guys I don't know what could be wrong, but I'm deploying snapshot and sources with gpg:sign-and-deploy-file, but the sources name does always have the value of the following buildnumber. Like artifact-timestamp-1.jar and artifact-timestamp-2-sources.jar
so that if I then have a snapshot dependency, it is looking for artifact-timestamp-2...
I have a Maven-3 multi-module project:
/root
pom.xml
/bar
pom.xml
/foo
pom.xml
Module foo depends on module bar, and they both have the same parent: root. Everything works fine, until I decided to clean my local repository and run mvn site:site. Build fails with a message:
Failed to resolve artifact.
Missing:
1) com.XXX...