You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nik Everett (JIRA)" <ji...@codehaus.org> on 2008/10/31 18:58:51 UTC

[jira] Created: (MNG-3811) Report plugins don't inherit configuration

Report plugins don't inherit configuration
------------------------------------------

                 Key: MNG-3811
                 URL: http://jira.codehaus.org/browse/MNG-3811
             Project: Maven 2
          Issue Type: Bug
          Components: POM
    Affects Versions: 2.0.9, 2.0.11
         Environment: Ubuntu x64
java version "1.6.0_0"
OpenJDK  Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)

            Reporter: Nik Everett
            Priority: Minor
         Attachments: bug.tar.gz

'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
parent/pom.xml has
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

child/pom.xml has
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links combine.children="append">
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

After installing the parent, mvn help:effective-pom for the child yeilds:
 <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

I expected it to look like:
 <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>


I'd be happy to make a test case for this if someone would point me in the right direction.

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

        

[jira] Updated: (MNG-3811) Report plugins don't inherit configuration

Posted by "Nik Everett (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nik Everett updated MNG-3811:
-----------------------------

    Attachment: MNG-3811-maven-project.patch

This looks like it fixes the problem.

> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: http://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Priority: Minor
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> child/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> After installing the parent, mvn help:effective-pom for the child yeilds:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I expected it to look like:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I'd be happy to make a test case for this if someone would point me in the right direction.

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

        

[jira] Updated: (MNG-3811) Report plugins don't inherit configuration

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3811:
------------------------------

      Fix Version/s: 2.0.11
    Patch Submitted: [Yes]

> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: http://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Priority: Minor
>             Fix For: 2.0.11
>
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> child/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> After installing the parent, mvn help:effective-pom for the child yeilds:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I expected it to look like:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I'd be happy to make a test case for this if someone would point me in the right direction.

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

        

[jira] Commented: (MNG-3811) Report plugins don't inherit configuration

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157812#action_157812 ] 

Paul Benedict commented on MNG-3811:
------------------------------------

I'd like to inherit the UmlGraphDoc doclet from a parent's configuration, but cannot do this bug.

> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: http://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Priority: Minor
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> child/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> After installing the parent, mvn help:effective-pom for the child yeilds:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I expected it to look like:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I'd be happy to make a test case for this if someone would point me in the right direction.

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

        

[jira] Closed: (MNG-3811) Report plugins don't inherit configuration

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3811.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: http://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 2.0.11, 2.1.0
>
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> child/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> After installing the parent, mvn help:effective-pom for the child yeilds:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I expected it to look like:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I'd be happy to make a test case for this if someone would point me in the right direction.

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

        

[jira] Updated: (MNG-3811) Report plugins don't inherit configuration

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MNG-3811:
-------------------------------

    Description: 
'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
parent/pom.xml has
{code:xml}
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>{code}

child/pom.xml has
{code:xml}  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links combine.children="append">
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>{code}

After installing the parent, mvn help:effective-pom for the child yeilds:
{code:xml} <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>{code}

I expected it to look like:
{code:xml} <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
{code}

I'd be happy to make a test case for this if someone would point me in the right direction.

  was:
'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
parent/pom.xml has
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

child/pom.xml has
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links combine.children="append">
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

After installing the parent, mvn help:effective-pom for the child yeilds:
 <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <links>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

I expected it to look like:
 <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <silent>true</silent>
          <links>
            <link>parentLink</link>
            <link>childLink</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>


I'd be happy to make a test case for this if someone would point me in the right direction.


> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: https://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 2.0.11, 2.1.0
>
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
> {code:xml}
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>{code}
> child/pom.xml has
> {code:xml}  <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>{code}
> After installing the parent, mvn help:effective-pom for the child yeilds:
> {code:xml} <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>{code}
> I expected it to look like:
> {code:xml} <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> {code}
> I'd be happy to make a test case for this if someone would point me in the right direction.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-3811) Report plugins don't inherit configuration

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167149#action_167149 ] 

Brett Porter commented on MNG-3811:
-----------------------------------

thanks for the patch!

> Report plugins don't inherit configuration
> ------------------------------------------
>
>                 Key: MNG-3811
>                 URL: http://jira.codehaus.org/browse/MNG-3811
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Ubuntu x64
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>            Reporter: Nik Everett
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 2.0.11, 2.1.0
>
>         Attachments: bug.tar.gz, MNG-3811-maven-project.patch
>
>
> 'm trying to set up reporting plugin inheritance and not having any luck.  I'm using Maven 2.0.9 on Java 1.6.0_07.  Here is my problem:
> parent/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> child/pom.xml has
>   <reporting>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links combine.children="append">
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> After installing the parent, mvn help:effective-pom for the child yeilds:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <links>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I expected it to look like:
>  <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <silent>true</silent>
>           <links>
>             <link>parentLink</link>
>             <link>childLink</link>
>           </links>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>
> I'd be happy to make a test case for this if someone would point me in the right direction.

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