You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/11/15 05:21:06 UTC
[jira] Updated: (MNG-1446) unable to config goals that are not bound to part of the standard lifecycle
[ http://jira.codehaus.org/browse/MNG-1446?page=all ]
John Casey updated MNG-1446:
----------------------------
Assign To: John Casey
Fix Version: 2.0.1
Complexity: Expert (was: Intermediate)
Remaining Estimate: 2 hours
Original Estimate: 2 hours
> unable to config goals that are not bound to part of the standard lifecycle
> ---------------------------------------------------------------------------
>
> Key: MNG-1446
> URL: http://jira.codehaus.org/browse/MNG-1446
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Dave Sag
> Assignee: John Casey
> Priority: Blocker
> Fix For: 2.0.1
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> My QALab plugin has three different goals and only a few of their config params are in common with each other. so each goal must have its own config.
> So right now, for simplicity's sake, I just want the qalab:merge goal to work when i enter %mvn qalab:merge
> my build section is as follows:
> <build>
> <plugins>
> <plugin>
> <groupId>net.objectlab</groupId>
> <artifactId>maven-qalab-plugin</artifactId>
> <executions>
> <execution>
> <configuration>
> <handler>net.objectlab.qalab.parser.CheckstyleStatMerge</handler>
> <inputFile>${project.build.directory}/checkstyle-result.xml</inputFile>
> </configuration>
> <goals>
> <goal>merge</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> when I try %mvn qalab:merge
> i get
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] One or more required plugin parameters are invalid/missing for 'qalab:merge'
> [0] inside the definition for plugin: 'maven-qalab-plugin'specify the following:
> <configuration>
> ...
> <handler>VALUE</handler>
> </configuration>.
> [1] inside the definition for plugin: 'maven-qalab-plugin'specify the following:
> <configuration>
> ...
> <inputFile>VALUE</inputFile>
> </configuration>.
> if i move the config from the executions block such that it is like so:
> <plugin>
> <groupId>net.objectlab</groupId>
> <artifactId>maven-qalab-plugin</artifactId>
> <configuration>
> <handler>net.objectlab.qalab.parser.CheckstyleStatMerge</handler>
> <inputFile>${project.build.directory}/checkstyle-result.xml</inputFile>
> </configuration>
> </plugin>
> then the params are accepted, but now I can't have different params for the different goals, indeed i can't see how i'd go about specifying different configs for the different goals in such a case. I need goal specific parameter config, not plugin-wide config. or should I make these goals into totally different plugins instead?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org