I was trying to run the Wedding RSVP sample given with Spring Roo 1.0.0.RC3. I am running on Maven 2.2.1 and JDK 1.5.0_19, Java and M2 Home are properly set. Unfortunately none of the commands that involve Maven calls (example: "Perform test" or 'Perform eclipse") work and there is no error either. The cursor immediately returns on the r...
I am working on a Java project using spring2 and Maven.
I have already incorporated JSLint4Java into Maven, but now find myself needing to do some further validation.
There are a number of core pages in the build i.e. home page, search page etc. that I want to automatically test the final HTML output for specification validity i.e. Val...
I have a project (built from an AppFuse template) that requires Maven 2.2.1. So I upgraded to this (from 2.1.0) and set my path and my M2_HOME and MAVEN_HOME env variables.
Then I ran mvn eclipse:eclipseand imported the project into Eclipse (Galileo).
However, in the problems list for the project (and at the top of the pom.xml GUI edit...
I'd like to use the source code of maven-managed dependencies when debugging our webapp in myEclipse 8.
I have managed to attach the sources to the libraries in the "Maven Managed Dependencies" classpath container, i.e. when I open a class file from a dependency (e.g. using Ctrl-Shift-T), I see the source code.
However, when I define a...
I have a simple pom and added an ant-run to the compile but it only executes then when I do the following:
mvn install antrun:run
mvn install -- doesn't process the ant-run
mvn antrun:run -- doesn't process the ant-run
I thought that be linking the plugin to the lifecyce phase that the plugin would be executed when I try to achieve t...
I am trying to generate an executable jar for a small home project called "logmanager" using maven, just like this:
http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
I added the snippet shown there to the pom.xml, and ran mvn assembly:assembly. It generates two jar files in logma...
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.
...
Is it possible to perform a patch release in maven? I would like to create a jar containing only one class which I have changed since the release.
...
I would like to incorporate scanning for viruses into a Java/Maven/Hudson build process. Unfortunately, i could not find any resources on dedicated tools for this kind of build step. My build environment is Linux-based.
My question is:
How can antivirus scanning be incorporated into a Maven and Hudson based build process?
What are the ...
I'm attempting to start a fresh project that hopes to use GWT 1.7.1, the Google Plugin for Eclipse, and Maven 2. I inferred that the best way to do this would be to setup the project using the Mojo gwt-maven-plugin's archetype from this question.
All was going well until I attempted a build. The archetype adds a generateAsync goal, and ...
Is there a standard way people enforce the inclusion of copyright notices in their java/maven builds? I realize that it shouldn't be necessary since the product itself is copy-written and if someone has my source I have much bigger problems, but I'm being asked to check and was wondering if checkstyle, PMD or something else handled this...
I have a very large workspace with about 30 projects all together. I am using Eclipse 3.5 with m2eclipse. I check out of my subversion repository using the defaults in order to import the projects into my workspace.
I create a Tomcat server instance, and publish my web project to the tomcat server. Sounds easy enough.
The problem is...
I have been able to run some web services locally through Maven's jetty plugin for testing purposes for some time now. I was able to run about 7 services like this and it worked fine. Recently, without any configuration changes, I started receiving the following errors:
$ mvn jetty:run -Puat
[INFO] Scanning for projects...
Downloading: ...
I'm moving my project to Maven and eventually OSGi. I currently distribute the project is a large Zip file with all the dependencies. Although my projects code is only 20% of the total package I have to redistribute all the dependency. With smaller independent modules this may be even less.
Looking here on stack overflow it seems that t...
I have a project of persistence with spring and hibernate built with maven, I'm running the testing using Junit and a test database HSQLDB, when I do a test first initialize the database HSQLDB in server mode, is there some way to make hudson initializes the database, or with maven ?
...
Hi,
I've built a Maven Grails project which can be build fine using command mvn grails:war.
However, using the standard mvn install fails to work - I get exceptions complaining that a util Java class (held under the grails-app/util folder) can't compile because it can't find one of the domain classes.
I'm not using any package structu...
I have created a maven project with j2me-archetype using netbeans. It creates a project with a default MIDLet (SampleMIDlet.java).
But when I try to run the project it says that No Main Class Found. Can anyone tell that why it is going for Main class instead of existing Midlet ?
...
I'm trying to create a executable jar(using maven) that contains the project classes and it's dependencies with a manifest file that has the entry for the main class and the class path entry that points to the dependencies packed in the root of the jar;something like this :
Manifest File:
.....
Main-Class : com.acme.MainClass
Class-Pa...
I have a requirement where I need to share some web resources (jsp, html, js, images, css etc.) across different Spring based Struts 2 applications. And seems like OSGi can be used to achieve this?
Can some one give some pointers on how to achieve this with OSGi?
And secondly I want to know is OSGi mature enough to be used in producti...
I've been trying to integrate deploying java .war's in Glassfish V3 through Maven. While I have found a few plugins, none of them look to be very active:
Maven Glassfish Plugin
Eskato's Wordpress Blog on Maven
And I got the most information out of Eskato's Blog, it was written March 2008, so I don't know what the state of Glassfish ...