I have a project which uses Apache Xmlbeans for databinding. Currently it is very simple it only has some Schema-Files in src/main/xsd and xsdconfig in src/main/xsdconfig.
I want to include the generated Classes into the generated jar-File. It works if I specify the xmlbeans goal:
"mvn xmlbeans:xmlbeans package" --> Creates a Jar with t...
Please provide steps to integrate findbugs with maven
...
I import Appfuse 2.1 into Eclipse 3.5 with m2eclipse. When I deploy it to tomcat, my web.xml goes to "WEB-INF\classes\WEB-INF\web.xml"
This issue is exactly the same with this one.
I can't find any problems in org.eclipse.wst.common.component file:
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
<wb-resource deploy-path="/...
Greetings,
I am again in a state of insecurity and discomfort with the development of my current master thesis.
I am continuing the development of a serialization layer generator. The user enters a description of types (currently in XSD or in WSDL), and the software produces code in a certain target language (currently, Java and ansi ...
Hi all,
I'm trying to create a very simple webapp with maven and eclipse, but I'm having no joy at all, in fact the reverse of joy.
I go to File -> New Project, select Maven Project, and select the maven-archetype-webapp. When I finish the wizard, a webapp structure gets generated but with no 'java' directory under main, just resources...
I have multi module web application(m1,m2, m3, final). Module "final" is a web module and dependants on m1,m2 and m3. "m1,m2 and m3" are web modules. I need modules m1,m2, m3 resources and jsps should be copied "final" module's target dir. Need your help.
...
We use MySQL in production, and Derby for unit tests. Our pom.xml copies Derby version of persistence.xml before tests, and replaces it with the MySQL version in prepare-package phase:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>copy-test-persistence</id>
<p...
Hi,
When writing a Maven plugin, you can configure various parameters within the mojo class, e.g.
/**
* The path to the properties files.
*
* @parameter expression="${project.build.directory}"
*/
private File buildDir;
Is there a reference that lists all the available project properties (e.g. ${project.build.directory})? For ex...
This is probably a silly question but I just cant seem to figure out. I'm completely new to flex and maven.
Maven 2.2.1: Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml
Flex 4.0: Installed
Created a multi-modular webapp project using flexmojo:
mvn archetype:generate
-Darch...
I have been breaking my head against this for too much time now. I'm trying to get maven + jetty + jotm to play nice but it looks like its too much to ask for :(
Below is my jetty.xml:-
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
"http://www.eclipse.org/jetty/configure.dtd">
<Configure id="Server" cla...
Hello,
I try to execute the mvn sonar:sonar command on a machine where Maven is configured to have no access to external repositories (in reality, this is not exactly the case, but it helps me to explain my problem).
So currently, if I run this command, I get the following error:
[ERROR] BUILD ERROR
[INFO] ----------------------------...
In my project I can successfully test database code. I'm using Spring, Hibernate, HSQLDB, JUnit and Maven.
The catch is that currently I have to launch HSQLDB manually prior to running the tests. What is the best way to automate the launching of HSQLDB with the technologies being used?
...
Our pom.xml currently contains both the build settings, as well as execution of selenium using selenium-maven-plugin.
I would like to split it in to two pom files, one for the build and unit tests and the second one for executing selenium tests. (This way I could first build the project in Hudson, and after successful build execute Sele...
I'm trying to get Selenium tests to work when they are executed by Hudson, but I have not been successful so far. Hudson is running on Ubuntu, and Selenium is unable to open display.
Command I use for launching the build is:
mvn clean selenium:xvfb install
error log:
[INFO] [selenium:xvfb {execution: default-cli}]
[INFO] Starting Xv...
My ~/.m2/settings.xml has a mirrors element which points to an internal repository based on Apache Archiva. But in a home network, mvn tries to timeout trying to look for the internal repository which is no longer accessible. How to configure the settings.xml for internal / external use?
...
I made some changes to the hibernate source and need to rebuild hibernate3.jar. I tried "mvn deploy" but I get a 401 (trying to upload to the jboss repository, which I don't want to do). I followed the instructions here: http://community.jboss.org/wiki/HibernateRelease35wMaven . I'm basically unpacking hibernate-3.5.2.GA.tar.gz, enter...
I am having a similar problem as http://stackoverflow.com/questions/1799684/ant-basedir-slashes-escape-problem except that I'm running under Maven.
I'd like to generate cross-platform paths relative to Maven's built-in property ${basedir}. The problem is that under Windows, ${basedir} resolves to a path containing Windows-style slashes....
I need my JavaEE-application to be deployed on Glassfish as a directory, not a packaged WAR file.
Is it possible to deploy a directory to Glassfish with the Maven Glassfish Plugin?
With the admin console, it's possible. But i want to be also able to do it on the command line.
...
I'm trying to build a simple spring web application but I get the following error when I run it on Apache Tomcat 6.0
Class Not Found Exception org.springframework.web.servlet.DispatcherServlet
I'm using maven to handle libraries. At first I thought it was maven's fault but it adds spring and other libraries succesfully.
I tried to im...
I would like to create a web project Maven 2 + Struts 1. Someone Would there be a tutorial or a website outlining the steps? Thank you.
;)
...