Skip to content
Permalink
Browse files

Fixed javadoc generation and set subproject autoversioning

  • Loading branch information...
mss
mss committed Jun 4, 2015
1 parent 40e8203 commit f549019305511e233a2bc38dcad380692c2e3c82
@@ -54,7 +54,7 @@ public static NodeTraverser create(Document doc) {

/** Will create a NodeTraverser for accessing the indicated node. If the current node does
* exist it will be created.
* @param element The tag for the element to make available, eg. <crawl-order>.....
* @param element The tag for the element to make available.
* @param name A optional name attribute to add to the element if created.
* @return The NodeTraverser reference, which can be used to create further child nodes.
*/
@@ -68,6 +68,7 @@ protected static synchronized DocumentBuilder getParser() {

/**
* Creates a default XmlDoc based on the order.xml file on the classpath.
* @return The loaded default XmlDoc.
*/
protected static synchronized Document parseFile(String name) {
try {
22 pom.xml
@@ -318,7 +318,7 @@

<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<version>2.10.3</version>
</plugin>

<plugin>
@@ -331,6 +331,11 @@
<version>2.4.1</version>
</plugin>

<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
@@ -406,13 +411,13 @@
</plugin>

<!-- Generate javadoc jar. Note: Java 8 (doclint) check has been disabled. -->
<!--plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<linksource>true</linksource>
<quiet>true</quiet-->
<quiet>true</quiet>
<!-- Note: This fails with a JVM older than Java 8 -->
<!--additionalparam>-Xdoclint:none</additionalparam>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
@@ -423,7 +428,7 @@
</goals>
</execution>
</executions>
</plugin-->
</plugin>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
@@ -472,6 +477,13 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoversionsubmodules>true</autoversionsubmodules>
</configuration>
</plugin>
</plugins>
</build>

0 comments on commit f549019

Please sign in to comment.
You can’t perform that action at this time.