Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ontopia/pom.xml contains duplicate maven-javadoc-plugin dependency #422

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link

The maven-javadoc-plugin near line 226 should be removed from ontopia/pom.xml.  
There is a more complete definition for the same dependency right below.  The 
duplicate dependency causes a maven warning.

Original issue reported on code.google.com by faseidl2...@gmail.com on 26 Oct 2011 at 9:33

@GoogleCodeExporter
Copy link
Author

The reason for the double declaration is the additional 

<inherited>false</inherited>

setting in the second. The second part is only executed by the parent pom. The 
first part is executed for all the modules. Removing either might cause loss of 
javadoc. So we need to test if a full, and partial build will still create the 
correct javadocs before we remove anything.

Original comment by q.sieb...@morpheus.mssm.nl on 27 Oct 2011 at 1:57

@GoogleCodeExporter
Copy link
Author

There are actually three declarations of this plug-in in the file.  I think I 
got my line numbers messed up in the original post, but what I meant was this...

The first declaration is fine; but below that is this:

        <plugins>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <!-- seperate execution for parent aggregation of javadoc, not inherited by modules -->
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <id>javadoc-parent</id>
                        <phase>site</phase>
                        <goals>
                            <goal>aggregate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

It's the second that seems spurious and is causing a warning.  The third 
(containing the inherited=false) is fine.

Original comment by fase...@myst-technology.com on 27 Oct 2011 at 3:01

@GoogleCodeExporter
Copy link
Author

Fixed in r2310

Original comment by qsieb...@gmail.com on 17 Jul 2013 at 10:19

  • Changed state: Fixed
  • Added labels: Release5.2.2

@GoogleCodeExporter
Copy link
Author

Original comment by qsieb...@gmail.com on 1 Aug 2013 at 12:07

  • Added labels: Release5.3.0
  • Removed labels: Release5.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant