I'm running the jdepend maven plugin on my project and whether I run "mvn site:site" or "mvn jdepend:generate" the report that gets generated says "There are no package used." There ... |
i use the maven-buildnumber-plugin to generate my version number for JAR/WAR/EAR packages. So when doing a compile i'll get for example ${project.version}-${buildNumber}, because is set to this value. But when ... |
I’ve built a custom Maven2 plug-in using Ant. I would like to call another maven plug-in in particular the Cargo Maven2 plug-in immediately after the custom Ant plug-in successfully completes. However, ... |
i have some questions about Maven 2 and i hope somebody can clear things up for me:
- made a new thread about that (link: http://stackoverflow.com/questions/540697/maven-2-plugin-build-surfire)
- Is it possible to define a profile ...
|
The AbstractMavenMojo's execute method declares it throws two exceptions, MojoExecutionException and MojoFailureException. Throwing either results in the build stopping and the log displays an almost identical message in each case.
The message ... |
As per this link...
http://en.wikipedia.org/wiki/Apache_Maven#Build_Lifecycles
I understand that Maven as a number of phases that run in the order they are defined for a given lifecycle. I also understand ... |
I am currently working on a project written in Java and I am using Maven and the maven-site-plugin to generate a website containing all the relevant JavaDoc, reports, etc. I ... |
|
Does anybody know if there is a Maven 2 plugin for including Ohloh statistics/widgets as a report?
|
I would like Jalopy to format my return and throw statements such that they look like a method call since they are:
return(true);
throw(new IllegalArgumentException("You can't do that, what we you thinking?"));
I have ... |
I like to integrate compass (http://wiki.github.com/chriseppstein/compass/)
in my java project, and I need something to compile .sass files to css without running commands manualy.
So is there a way to execute ... |
I am creating an executable jar using the jar-with-dependencies component of the maven-assembly-plugin during the package phase of my maven lifecycle. However, I can't see a way to configure the ... |
I would like to have a Maven goal trigger the execution of a java class. I'm trying to migrate over a Makefile with the lines:
neotest:
mvn exec:java -Dexec.mainClass="org.dhappy.test.NeoTraverse"
And ... |
In the Maven document Introduction to the Build Lifecycle, a goal of display:time is described that outputs the current time. The plugin is as follows:
...
<plugin>
<groupId>com.mycompany.example</groupId>
...
|
I wrote a small maven plugin and everything seems to work well with prior version of maven (2.0.9) but my build fails on version 2.2.1
The stack trace does not show ... |
When building a Maven plugin, where can I find documentation for the built-in expressions that can be used for @parameter expression="${...}" constructs?
|
I am trying to generate a maven plugin as described in the maven documentation.
So I created a new plugin project with Eclipse, using the mvn archetype:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...
|
how run a task post maven eclipse:eclipse phase ?
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>eclipse:eclipse</phase>
<goals>
...
|
I have parent pom and two module poms. In first module I want to copy second module (jar) to some folder. When I compiling project from first module pom - it ... |
Is there an alternative to the maven plugin statscm? http://stat-scm.sourceforge.net/
Looking for something that has active development. Also there are some lingering bugs which are only available in the Snapshot. ... |
I want to write a maven plugin which executes some specific maven goals on a set of projects.
Currently I have in my plugins pom:
<dependency>
<groupId>org.apache.maven.shared</groupId>
...
|
I cant find it anywhere: the website doesn't point to any repository and the guessed http://repository.codehaus.org/org/codehaus/mojo folder is empty.
|
I'm a long time maven user but have stumbled across a problem constructing maven assemblies that contain built-in maven repository and need a bit of help.
Environment:
- Ubuntu 10.10 - 2.6.32-30-generic ...
|
I'm trying to pass a VM argument into Maven, specifically for a suite of tests run by failsafe.
My pom.xml looks like this:
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
...
|
I'm using Maven 3.0.3. I'm trying to test reading properties from a properties file (this is part of a larger effort, I wanted to get this part right first). ... |
I have a maven multi-module project. The final goal wraps up all the libraries, etc., that we build in a tarball and RPM for distribution. This goal uses the ... |
I'm using the maven-resources-plugin to copy some resources from my project but one of my resources is a binary file. The output says it is Using 'UTF-8' encoding to copy filtered ... |
I've tried a number of ways to get this to work, but I've yet to be successful. Here's what I've found so far. Note that I've tried these settings ... |
in the latest version of easyb (0.9.8.2) it seems to be possible to have "where" and "example" statements to make a Data-driven testing possible.
In my POM, I'm using the latest ... |
My primary goal is to get code coverage using EMMA on a running web application using CTL coverage.get.
I use emma maven plugin.
So, I deploy my web application with instrumented ... |
Note: this thread is about writing a custom Mojo, not using a plugin.
I maintain a testing plugin for Maven. Unfortunately, for almost a year now, I've let this particular ... |
I'm writing a plugin which in part takes as an input groupId:artifactId:version, and interrogates it POM.
In Maven2, there was an option to use MavenProjectBuilder. I could download the pom for the ... |
I'm making use of the maven-assembly-plugin to zip up couple of folders. Following is my code:
pom.xml
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<configuration>
<descriptors>
...
|
In my Khatami project I'm using maven to both manage compilation and package up the result into a runnable artifact: executable shell-script at the top-level, bin/ containing the executable ... |
I've written a maven plugin for jslint4java. One of my users is reporting that the plugin fails for him. It transpires that maven is injecting ... |
I'm rebundling dependent artifacts to an new jar for automatically supporting all libs within an eclipse plugin project. Therefore I'm using in the assembly plugin the dependencySet option.
<assembly ...>
...
|
I've set up the buildnumber-maven-plugin to pull the version number from SVN and stash it away in the META-INF/MANIFEST.MF inside the jar. That works ok.
But when I try to use ... |
I have the following directory hierarchy:
generated
|
| -->java
Java directory has the following package: com.model
that contains java models that I copy/paste from ... |
I'm using antlr3-maven-plugin (v.3.3) with Maven 3. It has only one goal named antlr wchich, due to documentation:
Binds by default to the lifecycle phase: generate-sources
However when I invoke ... |
I'm using the maven-assembly-plugin to produce a zip file for some database scripts. I am having an intermittent problem in that if my build fails for whatever reason, when I come ... |
We have many modules in our project and we want to enable test-jar creation for some of those. I tried adding maven jar plugin to the parent pom's pluginmanagement
<plugins>
<pluginManagement>
...
|