Is there an open source project that can serve as a good example on how to use the maven site plugin to generate reports? I would prefer it to
consist of many modules, possibly hierarchically structured
use as many plugins as possible (surefire, jxr, pmd, findbugs, javadoc, checkstyle, you name it)
the reports should be aggregated: if ...
Hi
Anyone knows a decent way to merge 2 war modules in to one big war file ?
Maybe through some custom maven plugin , or maven-war-plugin configuration ?
Thanks
...
I am using maven appassembler to create my assembly. My classpath is too long and I get "The input line is too long." The suggestion here is to use booter windows platform, but I'm constrained to use Java Service Wrapper. Any way I can use java6 wildcarded classpath and java service wrapper?
...
I see a lot of stuff online related to fixing buttons that can't be pressed, and fixing network issues with proxies. This seems like a different problem to me, related to jem.util.0.0.0 in the case of maven2 or needed libs for other plugins.
The setup:
Eclipse 3.5.1 (Galileo) installed with apt-get.
Ubuntu 9.10 (Karmic Koala) (This is...
Is it possible to have both versions of maven running on the same computer?
From what I understand you have to setup environmental variables for both of them, so won't that conflict?
...
Hi
I have some multi-module project.
Some modules are packaged as wars and some as jars.
When I start from the root module : mvn war:exploded I thought it would apply the step only to the war projects. But it tries to apply the mvn war:exploded on all the projects which obviously fails (no web.xml and so on).
Any ideas how an i tel...
I have a single configuration file which I would like to include as a dependency in a maven pom.xml. I want to keep around several versions of this, and have it appear in the classpath. I realize I could wrap it in a jar, but others in my team would like to easily inspect its contents. Looking at the types allowed in the pom.xml, I o...
I am trying to generate struts 2 modular archetype using maven but always getting error as archetype not present here is a full output :
C:\Users\Administrator>mvn archetype:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] --------------------------------------------------...
I am a beginner to Eclipse and maven. I have an Eclipse setup with m2eclipse and subversive. I have imported a maven2 project from svn. But I get the error message that a whole bunch of artifacts are missing (for instance: Missing artifact org.springframework:spring-test:jar:3.0.1.RELEASE:test). If I look in my repository I see the jar f...
Hi,
I have some dependencies which I am providing myself. The jars are in the resources directory. In my pom they are scoped as system and I include the path to them. However, when I jar things up using the assembly plugin and use
<addClasspath>true</addClasspath>
It doesn't add the path of the system jars. How can I get them to be ...
Hi everyone.
I have this multi-module project.
In the beginning of each build I would like to run some bat file.
So i did the following:
<profile>
<id>deploy-db</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactI...
Anyone familiar with a way how can I can i write something to the stdout from maven.
For instance i would like to write a line everytime i start a new module.
...
I have a web-application written in java.
I would like to run integration tests on a embedded jetty server.
For that purpose I have a maven project (just for running integration tests).
For deploying I use cargo-maven2-plugin. But while jetty startup I receive following:
java.lang.ClassCastException: org.mortbay.jetty.webapp.WebIn...
Hello again!
I have been busy in my project creating a webapp (in struts) that manages maven, using maven-2.2.1-uber.jar link text. The problem comes when the boss says it has to use some archetypes the company has created (so no predefined archetypes for you naughty boy!). So ok, I use the -DarchetypeRepository option (with ServletWrap...
I have the following snippet in my pom.xml (Full pom attached below which can be executed)
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.5.3</version>
</dependency>
and in one of my Java files I refer a class org.aspectj.lang.ProceedingJoinPoint. When I do a "mvn clean install" it co...
I am using CXF(which autogenerates my webservices in my pom.xml from my wsdl) with JBoss(eclipse ide), and I am having some trouble accessing the webservice from my web application. I found this resource: http://blog.progs.be/?p=92 but I am having a really hard time using WSDL_LOCATION = cl.getResource( "my/progam/pack/wsdl/myService.ws...
Hi All,
I have a mavenized, multi-module spring-based(3.0.1) application that runs in tomcat. I'm trying to create a standalone tool that I can distribute to users via a single jar(so they can just double-click on it), that bundles in some of the modules of the application mentioned above.
I've used the maven-shade-plugin to assemble ...
I've a base project which has a dependency on a custom war to be downloaded from a remote repository.
I'm able to download and run the war, however the custom war has some html & js files which i need to get extracted in my base project's webapp directory.
How do I specify a location for the custom.war to explode at a specified directory...
If you are developing a large evolving multi module maven project it seems inevitable that there are some dependencies given in the poms that are unneccesary, since they are transitively included by other dependencies. For example this happens if you have a module A that originally includes C. Later you refactor and have A depend on a mo...
i had very nice dev. env. - clojure, maven and jetty with hot deploy. now i moved to google appengine and i can not figure out how to configure maven achieve hot deploy
...