David Hoffer wrote:
This works for us, try this in your parent pom:

<build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>2.5</version>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>

<reporting>
...
<plugin>
                <!--Provides javadocs-->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                    <aggregate>true</aggregate>
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                </configuration>
            </plugin>

</reporting>

Isn't that deprecated now? Just using the aggregate-jar target does no good... I'll try using this. Maybe using the older version also helps.

--
Sam Barnett-Cormack

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to