keycloak-developers
Details
diff --git a/distribution/server-overlay/assembly.xml b/distribution/server-overlay/assembly.xml
index 88d8fe9..a85813a 100755
--- a/distribution/server-overlay/assembly.xml
+++ b/distribution/server-overlay/assembly.xml
@@ -57,7 +57,7 @@
<outputDirectory>docs/javadocs</outputDirectory>
</fileSet>
<fileSet>
- <directory>../../services/target/site/apidocs</directory>
+ <directory>../../services/target/apidocs</directory>
<outputDirectory>docs/rest-api</outputDirectory>
</fileSet>
<fileSet>
pom.xml 41(+25 -16)
diff --git a/pom.xml b/pom.xml
index 8bf033d..c098507 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1042,22 +1042,6 @@
</plugin>
</plugins>
</pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <minmemory>128m</minmemory>
- <maxmemory>1024m</maxmemory>
- <quiet>false</quiet>
- <aggregate>true</aggregate>
- <excludePackageNames>
- se.unlogic.*:com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.*
- </excludePackageNames>
- </configuration>
- </plugin>
- </plugins>
</build>
<profiles>
@@ -1067,6 +1051,31 @@
<module>docbook</module>
<module>distribution</module>
</modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>aggregate</id>
+ <phase>package</phase>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ <configuration>
+ <minmemory>128m</minmemory>
+ <maxmemory>1024m</maxmemory>
+ <aggregate>true</aggregate>
+ <excludePackageNames>
+ se.unlogic.*:com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.*
+ </excludePackageNames>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>
</project>
services/pom.xml 49(+20 -29)
diff --git a/services/pom.xml b/services/pom.xml
index bc5762f..2fa148d 100755
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -183,35 +183,26 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-service-docs</id>
- <phase>generate-resources</phase>
- <configuration>
- <subpackages>org.keycloak.services.resources.admin:org.keycloak.protocol.oidc</subpackages>
- <doclet>com.lunatech.doclets.jax.jaxrs.JAXRSDoclet</doclet>
- <docletArtifacts>
- <docletArtifact>
- <groupId>com.lunatech.jax-doclets</groupId>
- <artifactId>doclets</artifactId>
- <version>0.10.2</version>
- </docletArtifact>
- </docletArtifacts>
- <detectOfflineLinks>false</detectOfflineLinks>
- <offlineLinks>
- <offlineLink>
- <url>../javadocs</url>
- <location>${project.basedir}/../target/site/apidocs</location>
- </offlineLink>
- </offlineLinks>
- <additionalparam>-disablejavascriptexample</additionalparam>
- <additionalparam>-pathexcludefilter '/admin/.*index.*' -pathexcludefilter '/admin' -pathexcludefilter '/admin/\\{realm\\}/console.*'</additionalparam>
- </configuration>
- <goals>
- <goal>javadoc</goal>
- </goals>
- </execution>
- </executions>
+ <configuration>
+ <subpackages>org.keycloak.services.resources.admin:org.keycloak.protocol.oidc</subpackages>
+ <doclet>com.lunatech.doclets.jax.jaxrs.JAXRSDoclet</doclet>
+ <docletArtifacts>
+ <docletArtifact>
+ <groupId>com.lunatech.jax-doclets</groupId>
+ <artifactId>doclets</artifactId>
+ <version>0.10.2</version>
+ </docletArtifact>
+ </docletArtifacts>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <offlineLinks>
+ <offlineLink>
+ <url>../javadocs</url>
+ <location>${project.basedir}/../target/site/apidocs</location>
+ </offlineLink>
+ </offlineLinks>
+ <additionalparam>-disablejavascriptexample</additionalparam>
+ <additionalparam>-pathexcludefilter '/admin/.*index.*' -pathexcludefilter '/admin' -pathexcludefilter '/admin/\\{realm\\}/console.*'</additionalparam>
+ </configuration>
</plugin>
</plugins>
</build>