I'm having an issue with a maven build in hudson. This issue would be fairly easy to resolve if I could see the output of maven with the -X flag passed in. However I can't find a way to do this. If I specify "-X" in the "Goals and options" field of the "Build" section in the job configuration my console output looks exactly the same a...
I have a Maven project, with 4 components Web, Persistence, Common and Other.
The relevant stuff off my POM files:
Parent POM:
<groupId>com.test</groupId>
<artifactId>test</artifactId>
<packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version>
<modules>
<module>components/TestWeb</module>
<module>components/TestOther</module...
Hi all,
I am using JPA 2.0 and my persistence provider is Hibernate; however, I'd like to just include a standard API from javax, but in central, there is no 2.0 artifact. I am currently using the Hibernate JPA 2.0 artifact, but I'd like to use something more standard.
Is this possible?
Thanks,
Walter
...
I'm putting together a maven archetype that has a bunch of custom properties that are used to filter the various archetype resources. I have these specified with defaults in the archetype-metadata.xml e.g.
<requiredProperties>
<requiredProperty key="application-name">
<defaultValue>Some Application</defaultValue>
</requiredPrope...
What is the best Maven2 plugin for IntelliJ? There are a lot of them now, and I don't have the time to play with them all. It would be very helpful to get opinions and a feature synopsis on existing plugins.
Here is what I am looking for: a) it keeps my paths and repositories synched to change in the pom file; and b) it doesn't keep ...
I have a small (4 module) maven project with the root pom in pom packaging. Right now, I have a impl module that contains the main methods and setup. This does lead to some issues, eg building a single jar for the entire project, (possible) huge dependency list containing all modules, and confusion trying to trace back to the main method...
I have a multi module Maven project and I want the sub projects to inherit the versions for third party dependencies which I have specified in the parent project. This is so I don't need to replicate version numbers everywhere. It's not working though and when I leave out the version number on the children I get the error:
dependencie...
Hi,
I have a mercurial repository on my server.
I want to create a script to deploy the project as a war file to a tomcat server.
Is it possible to tell maven to get the latest revision of my project from the repository
and create a war file.
Thanks
...
Hi!
I'm trying to make Maven2 to compile coffeescript to javascript. As far as I'm concerned there is no plugin which provides compiling coffeescript.
Is there a compiler-plugin for maven which can be parameterized with a compiler (for any programming language)?
...
I would like to start and stop jetty with maven.
This is my setup http://nopaste.info/61ef12198d.html
With mvn jetty:run my jetty starts locally but when I want to run jetty in test-phase with mvn -Pselenium test jetty doesn't run.
...
Hi,
im using maven-jaxb2-plugin to generate from a 1.0xsd file:
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<executions>
<execution>
<id>generate-modelesV1.0</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schem...
Hello,
I'm trying to generate webservice client with axis2 and maven
so i followed some tutorials and put some code lines in my pom.xml :
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<goals>
...
Is there a way to put dependency of a war not in WEB-INF/lib but in out custom folder?
I'm using Maven 2
Hi, what i need is that from list of dependencies of a war only one artifact should be placed not in WEB-INF/lib but in WEB-INF/bundles/ and others dependencies should be places in WEB-INF/lib
thx
THX to everybody, i can't update ...
Hello!
I am a newbie with Maven2 and I write a pom.xml.
Now I want to get Hibernate and javax.persistence to resolve this:
import javax.persistence.Entity;
...
import org.hibernate.annotations.Fetch;
...
What needed to be done? I wrote in my pom.xml:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifa...
Is it possible to instruct maven-surefire-plugin to run just one unit test? And of course I want to do it from command line.
...
Hi,
I wonder if anyone have come across a problem with that when using maven-eclipse-plugin together with velocity plugin for Mave generate a random dependency which causes build error because of missing the artifacts of some irrelevant modules within the build?
I could not find any explicit clue of how that problem causing dependenc...
Maven: How to change path to target directory from command line?
(I want to use another target directory in some cases)
...
Have same challenge as this guy:
http://stackoverflow.com/questions/3421826/how-to-copy-dependencies-to-gae-war-web-inf-lib
Applying his solution's pom segment for copy-dependencies and running "mvn package" did nothing. Seems that the goal doesn't ever get run.
Help!
Pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns...
I am working my way through Spring in Action 3 and there is an example in there of using AOP with the around aspect.
This is the Aspect class:
package com.xetius.springIdol;
import org.aspectj.lang.ProceedingJoinPoint;
public class Audience {
public void watchPerformance(ProceedingJoinPoint joinpoint) {
try {
System.out....
[reduced for simplicity]
I have a project with several Maven modules
A module has a properties files whose contents are filtered during build
There are sets of properties that can be grouped
Only one group of properties exists in a given build
All groups have the same properties, only their values change between groups
parent
+- pom.xm...