How to configure Hudson/Maven2 to add SVN revision to name of EAR?
We use Hudson, Maven2 and maven-ear-plugin. Is it possible to have the built EAR files to contain SVN revision in their filename (something like project-1234.ear)? ...
We use Hudson, Maven2 and maven-ear-plugin. Is it possible to have the built EAR files to contain SVN revision in their filename (something like project-1234.ear)? ...
Hello, I'm having an issue getting surefire to run Junit4 tests. This same issue was reported in http://stackoverflow.com/questions/2021771?sort=newest#sort-top but the solution there was to removed the offending dependency whose transitive dependency caused the inclusion of junit3. In my case the dependency is necessary. I'm trying to f...
Hi everybody! I am using Maven for my project and have following qustion: I want to see the logging output of my JUnit tests (log4j, System.out, whatever) in tests reports. Do you have any idea how to achieve this? Thanks ;-) ...
According to the entry at MVNRepository, at the time of this writing, the latest version in maven central is 1.0-rc5. I am aware there are no changes between 1.0 which was recently announced and RC5, but I guess the nit picker in me wants to find a 1.0 version. Here's the POM entry for RC5. <dependency> <groupId>com.google.collect...
http://maven.apache.org/plugins/maven-pmd-plugin/ is currently in version 2.4 which supports PMD version 4.2.2 Is it possible to use PMD version 4.2.5 with this plugin, if so how do we do this? ...
I would like to take advantage of the features that Maven provides for managing dependencies in a project. My brief understanding of how Maven works is that it will aquire the JARs needed and then build the project with these libraries. Currently I have a simple POM file set up as a test: <project xmlns="http://maven.apache.org/POM/4.0...
I am using the AndroMDA plugin for maven to generate code from an uml diagram made in MagicDraw. When the code is generated, AndroMDA desings the JPA annotation for the persitence layer. I think that at the compilation process AndroMDA uses Naming Strategies to determine the Table and Column names for the DataBase. I want to determine ...
I inherited an old project that uses JWSDP, and would like to upgrade it to Maven 2 and Java 6. The project uses the following JWSDP jar files: jwsdp-jax-qname-1.5.jar jwsdp-jaxrpc-api-1.5.jar jwsdp-jaxrpc-impl-1.5-patched-1.10.jar jwsdp-jaxrpc-spi-1.5.jar jwsdp-namespace-1.5.jar jwsdp-relaxngDatatype-1.5.jar jwsdp-saaj-api-1.5.jar jw...
If I have a project which has some of its modules in scala (ie java modules, scala modules side by side) - how have people solved combining scaladoc generated HTML with javadoc generated to provide a single view of the documentation for the project? (this could be using maven, or ant, more a general question). Any thoughts and experi...
I am using Maven site:run to generate a cobertura code coverage... The following is my pom.xml configuration for cobertura: <reporting> ... <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.3</version> </plugin> ...
I working with a maven project in eclipse and am having trouble with getting the deployment to work without some manual editing of xml files. When I build the project through maven I get a org.eclipse.wst.common.component xml file in my .settings folder. The file looks like the following: <?xml version="1.0" encoding="UTF-8"?> <project...
Hello again :) I am facing another problem in my little test-webapp. I have an EJB module (created via maven-pom) that basically wraps the data-access, so all it does is some DAOs implemented as Stateless-SessionBeans. My domain-model (simple POJOs with JPA2 annotations) is located in another, simple java, project that will be packaged ...
I've been reading about maven reactor and am confused by its terminology usage. I've read the a multi-module is a reactor, that you can manipulate the maven reactor and that the reactor is a plugin. What exactly is the reactor? I've also noticed a strange, seeming non-correlation of the use of the [reactor] tag here on SO. ...
I am having a devil of a time getting Eclipse to run my webapp on tomcat with the classpath correct. I have some spring configuration that references property files at classpath:/whatever.properties - these properties files live in my web project at src\main\resources, and I can see that they get deployed to the WEB-INF\classes folder, ...
What are possible causes of the following maven warning: Overriding profile: 'null' (source: pom) with new instance from source: pom I've tried commenting out my entire default profile as the warning mentions "profile", but that didn't help. I've also tried commenting out my reporting options and the warning still shows up. I've r...
I am new to the java/scala stack in general. So far I have a relatively simple scala application (not a webapp) setup and built build with maven2, and I'd like to be able to deploy the output to one or more production server (ubuntu on EC2, but that shouldn't matter I assume)? My main questions are: 1) What's the best way to get all the...
Hi there, We have a project that uses Maven as its build/dependency management tool. But our code needs to be compiled at our client's site and our client demands that we deliver build scripts written for Ant. So, we would like to keep working with Maven and automatically generate the Ant scripts when we need to deliver the code to the...
Hello, Does anyone have any ideea if you can find source jars on maven repositoryes? ...
I want to import existing maven project into eclipse. I found 2 ways to do it, one is through running from command line mvn eclipse:eclipseand another is to install maven eclipse plugin from eclipse. What is the difference between the both and which one is preferable? If I install maven eclipse plugin through the eclipse menu Help -> Ins...
I have a multi module maven project and the directory structure is hierarchical. Some modules have dependencies on others. I have added the dependent modules to the dependency section of the project's POM. However, in order to resolve those dependencies, I need to import the parent project, and select Project Properties > Maven and selec...