configuration « plugin « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » plugin » configuration 

1. Best way to access the runtime configuration of a maven plugin from a custom mojo?    stackoverflow.com

I am writing a custom maven2 MOJO. I need to access the runtime configuration of another plugin, from this MOJO. What is the best way to do this?

2. Maven Exec Plugin not reading configuration    stackoverflow.com

I'm trying to execute my project using the Maven exec:exec goal and I've tried to configure it with this snippet:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    ...

3. maven surefire reporting plugin configuration    stackoverflow.com

I have a multi-module maven project. The parent pom.xml is simply a way to reference common information for the 4 subprojects. I have quite a few JUnit tests ...

4. Maven WAR plugin not reading configuration when running in tag    stackoverflow.com

I'm trying to get Maven to perform several executions with the WAR plugin. It works fine as long as it's defined in the following way:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
   ...

5. maven plugin configuration    stackoverflow.com

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 ...

6. impossible to extend maven plugin configuration    stackoverflow.com

I am trying to extend the maven plugin: hibernate3 (org.codehaus). All I want to do is extend their base plugin class and change some functionality. The plugin compiles and ...

7. Override Maven plugin configuration defined in pluginManagement from the command line    stackoverflow.com

The POM that my project inherits contains some <pluginManagement> for the release plugin that specifies some additional arguments. My question is: Is there a way to override the arguments parameter from the ...

8. need maven plugin configuration for building aggregate source jar    stackoverflow.com

I've been fighting with this for a while and reading a lot of docs pages and other questions but still can't get it to work. In my ORMLite project, I ...

9. How does plugin specific configuration gets interpreted during runtime    stackoverflow.com

I have a parent POM which defines maven-compiler-plugin definition/configuration under pluginManagement.plugins.plugin. I have a multi-module project which has a requirement to re-define the configuration for their respective modules (e.g. moduleA, moduleB). Since ...

10. JAXB2 Maven Plugin not reading Configuration    stackoverflow.com

I am trying to generate some JAXB classes via my schema. I have my jaxb2 maven plugin configured the following way.

 <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>jaxb2-maven-plugin</artifactId>
 ...

11. How do I preserve whitespace in a Maven plugin configuration?    stackoverflow.com

I have a plugin configuration parameter named suffix. I would like the user to be able to specify a newline (a literal character produced by pressing the Return key, not ...

12. jaxb2 maven plugin and configuration inside execution tag    stackoverflow.com

I try to use JAXB2 maven plugin to generate java code from a bunch of .xsd files. If I try to generate from all xsds in a single execution I'll get ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.