You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Chris Hagmann (JIRA)" <ji...@codehaus.org> on 2006/01/10 17:31:01 UTC

[jira] Created: (MNG-1951) Ability to have different plugin configuration per goal

Ability to have different plugin configuration per goal
-------------------------------------------------------

         Key: MNG-1951
         URL: http://jira.codehaus.org/browse/MNG-1951
     Project: Maven 2
        Type: Improvement

  Components: Plugins and Lifecycle  
    Versions: 2.0.1    
    Reporter: Chris Hagmann


Curently it seems impossible to have a different plugin configuration per goal, only per phase.

Simple use case for this requirement: I need to generate Javadoc with an output directory of "target/mhave/docs/apidocs", and then also create a javadoc archive of the previously generated Javadoc, but this needs to go into "target/dist". As the plugin maven-javadoc-plugin uses outputDirectory for both goals, I need to be able to have different plugin configurations. This is possible as long as they are attached to different lifecycle phases, but not if they are attached to the same lifecycle phase.





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


[jira] Closed: (MJAVADOC-44) outputDirectory configuration clashes between javadoc:javadoc and javadoc:jar

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-44?page=all ]
     
Brett Porter closed MJAVADOC-44:
--------------------------------

      Assign To: Brett Porter
     Resolution: Duplicate
    Fix Version:     (was: 2.0)

> outputDirectory configuration clashes between javadoc:javadoc and javadoc:jar
> -----------------------------------------------------------------------------
>
>          Key: MJAVADOC-44
>          URL: http://jira.codehaus.org/browse/MJAVADOC-44
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Reporter: Chris Hagmann
>     Assignee: Brett Porter

>
>
> Curently it seems impossible to have a different plugin configuration per goal, only per phase.
> Simple use case for this requirement: I need to generate Javadoc with an output directory of "target/mhave/docs/apidocs", and then also create a javadoc archive of the previously generated Javadoc, but this needs to go into "target/dist". As the plugin maven-javadoc-plugin uses outputDirectory for both goals, I need to be able to have different plugin configurations. This is possible as long as they are attached to different lifecycle phases, but not if they are attached to the same lifecycle phase.

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


[jira] Commented: (MJAVADOC-44) Ability to have different plugin configuration per goal

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAVADOC-44?page=comments#action_55489 ] 

Brett Porter commented on MJAVADOC-44:
--------------------------------------

moved to javadoc as its a problem specific to that plugin. On the maven end, it is by design (though we are considering alternative ways of configuring this in 2.1).

> Ability to have different plugin configuration per goal
> -------------------------------------------------------
>
>          Key: MJAVADOC-44
>          URL: http://jira.codehaus.org/browse/MJAVADOC-44
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Reporter: Chris Hagmann

>
>
> Curently it seems impossible to have a different plugin configuration per goal, only per phase.
> Simple use case for this requirement: I need to generate Javadoc with an output directory of "target/mhave/docs/apidocs", and then also create a javadoc archive of the previously generated Javadoc, but this needs to go into "target/dist". As the plugin maven-javadoc-plugin uses outputDirectory for both goals, I need to be able to have different plugin configurations. This is possible as long as they are attached to different lifecycle phases, but not if they are attached to the same lifecycle phase.

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


[jira] Updated: (MJAVADOC-44) outputDirectory configuration clashes between javadoc:javadoc and javadoc:jar

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-44?page=all ]

Brett Porter updated MJAVADOC-44:
---------------------------------

    Fix Version: 2.0
        Summary: outputDirectory configuration clashes between javadoc:javadoc and javadoc:jar  (was: Ability to have different plugin configuration per goal)

one of them needs to be renamed

> outputDirectory configuration clashes between javadoc:javadoc and javadoc:jar
> -----------------------------------------------------------------------------
>
>          Key: MJAVADOC-44
>          URL: http://jira.codehaus.org/browse/MJAVADOC-44
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Reporter: Chris Hagmann
>      Fix For: 2.0

>
>
> Curently it seems impossible to have a different plugin configuration per goal, only per phase.
> Simple use case for this requirement: I need to generate Javadoc with an output directory of "target/mhave/docs/apidocs", and then also create a javadoc archive of the previously generated Javadoc, but this needs to go into "target/dist". As the plugin maven-javadoc-plugin uses outputDirectory for both goals, I need to be able to have different plugin configurations. This is possible as long as they are attached to different lifecycle phases, but not if they are attached to the same lifecycle phase.

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