aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2011-11-25 09:59:56 (EST)
committerMickael Istria2011-11-25 09:59:56 (EST)
commitf0f426b4c1c8826a809931e1e582145ea4b7d406 (patch)
tree91febb2f27a0f3fe2f62b7b008fa6193fae7c5ba
parent67339d51f993e93dcf816c7feefdc16f51cede8a (diff)
downloadorg.eclipse.gmf-tooling-f0f426b4c1c8826a809931e1e582145ea4b7d406.zip
org.eclipse.gmf-tooling-f0f426b4c1c8826a809931e1e582145ea4b7d406.tar.gz
org.eclipse.gmf-tooling-f0f426b4c1c8826a809931e1e582145ea4b7d406.tar.bz2
bug 364842: Put Javadoc into a profile
-rwxr-xr-xpom.xml67
1 files changed, 38 insertions, 29 deletions
diff --git a/pom.xml b/pom.xml
index 1652f3f..f62d872 100755
--- a/pom.xml
+++ b/pom.xml
@@ -121,35 +121,6 @@
</environments>
</configuration>
</plugin>
-
- <!-- TODO: move to plugins folder.
- mistria: gave a try, but nothing generated when this is defined in plugins/pom.xml
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <minmemory>128m</minmemory>
- <maxmemory>1g</maxmemory>
- </configuration>
- <executions>
- <execution>
- <id>aggregate</id>
- <goals>
- <goal>aggregate</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <minmemory>128m</minmemory>
- <maxmemory>1024m</maxmemory>
- <reportOutputDirectory>doc/org.eclipse.gmf.doc/reference</reportOutputDirectory>
- <destDir>api</destDir>
- <excludePackageNames>*.internal:*.internal.*:*.tests:*.tests.*:*.examples:*.examples.*</excludePackageNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
@@ -193,6 +164,44 @@
</repository>
</repositories>
</profile>
+ <profile>
+ <id>javadoc</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!-- TODO: move to plugins folder.
+ mistria: gave a try, but nothing generated when this is defined in plugins/pom.xml
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8</version>
+ <configuration>
+ <minmemory>128m</minmemory>
+ <maxmemory>1g</maxmemory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>aggregate</id>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <minmemory>128m</minmemory>
+ <maxmemory>1024m</maxmemory>
+ <reportOutputDirectory>doc/org.eclipse.gmf.doc/reference</reportOutputDirectory>
+ <destDir>api</destDir>
+ <excludePackageNames>*.internal:*.internal.*:*.tests:*.tests.*:*.examples:*.examples.*</excludePackageNames>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>