Skip to content
Permalink
Browse files

[java] fix javadoc configuration (#3302)

* [java] fix javadoc configuration

* [java-pkmst-microservice] fix generated javadoc
  • Loading branch information...
jmini authored and wing328 committed Jul 8, 2019
1 parent 3f9e374 commit 3943d1cc9d77d8d2461df08e7f35e4e41e4d08be
Showing with 94 additions and 69 deletions.
  1. +1 −0 CI/circle_parallel.sh
  2. +4 −0 modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.gradle.mustache
  3. +9 −9 modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pom.mustache
  4. +4 −0 modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
  5. +9 −9 modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
  6. +1 −1 modules/openapi-generator/src/main/resources/java-pkmst/config/appconfig.mustache
  7. +1 −1 ...les/openapi-generator/src/main/resources/java-pkmst/security/oAuth2SecurityConfiguration.mustache
  8. +1 −1 ...les/openapi-generator/src/main/resources/java-pkmst/security/resourceServerConfiguration.mustache
  9. +9 −9 samples/client/petstore/java/jersey2-java6/pom.xml
  10. +4 −0 samples/client/petstore/java/jersey2-java8/build.gradle
  11. +9 −9 samples/client/petstore/java/jersey2-java8/pom.xml
  12. +4 −0 samples/client/petstore/java/jersey2/build.gradle
  13. +9 −9 samples/client/petstore/java/jersey2/pom.xml
  14. +4 −0 samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
  15. +9 −9 samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
  16. +4 −0 samples/client/petstore/java/okhttp-gson/build.gradle
  17. +9 −9 samples/client/petstore/java/okhttp-gson/pom.xml
  18. +1 −1 samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/config/AppConfig.java
  19. +1 −1 ...er/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/security/OAuth2SecurityConfiguration.java
  20. +1 −1 ...er/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/security/ResourceServerConfiguration.java
@@ -12,6 +12,7 @@ if [ "$NODE_INDEX" = "1" ]; then
#cp CI/pom.xml.circleci pom.xml
java -version
mvn --quiet verify -Psamples.circleci
mvn --quiet javadoc:javadoc -Psamples.circleci

# generate all petstore samples (client, servers, doc)
./bin/run-all-petstore
@@ -161,3 +161,7 @@ dependencies {
{{/java8}}
testCompile "junit:junit:$junit_version"
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -170,17 +170,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -143,3 +143,7 @@ dependencies {
{{/threetenbp}}
testCompile 'junit:junit:4.12'
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -149,17 +149,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -87,7 +87,7 @@ public class AppConfig extends WebMvcConfigurerAdapter {
* .exposedHeaders("header1", "header2")
* .allowCredentials(false).maxAge(3600);
*
* @return
* @return a new WebMvcConfigurer instance
*/
@Bean
public WebMvcConfigurer corsConfigurer() {
@@ -18,7 +18,7 @@ import org.springframework.security.oauth2.provider.request.DefaultOAuth2Request
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
/**
* Provides a convenient base class for creating a {@link WebSecurityConfigurer}
* Provides a convenient base class for creating a WebSecurityConfigurer
* instance. The implementation allows customization by overriding methods.
*
* @see EnableWebSecurity
@@ -10,7 +10,7 @@ import org.springframework.http.HttpMethod;
/**
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
* one wins. The configurers are sorted by {@link Order} before being applied.
* one wins. The configurers are sorted by Order before being applied.
*
* @author pkmst
*
@@ -151,17 +151,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -112,3 +112,7 @@ dependencies {
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
testCompile "junit:junit:$junit_version"
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -151,17 +151,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -114,3 +114,7 @@ dependencies {
compile "com.brsanthu:migbase64:2.2"
testCompile "junit:junit:$junit_version"
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -151,17 +151,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -108,3 +108,7 @@ dependencies {
compile 'org.threeten:threetenbp:1.3.5'
testCompile 'junit:junit:4.12'
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -142,17 +142,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -108,3 +108,7 @@ dependencies {
compile 'org.threeten:threetenbp:1.3.5'
testCompile 'junit:junit:4.12'
}

javadoc {
options.tags = [ "http.response.details:a:Http Response Details" ]
}
@@ -142,17 +142,17 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>http.response.details</name>
<placement>a</placement>
<head>Http Response Details:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -20,7 +20,7 @@
* .exposedHeaders("header1", "header2")
* .allowCredentials(false).maxAge(3600);
*
* @return
* @return a new WebMvcConfigurer instance
*/
@Bean
public WebMvcConfigurer corsConfigurer() {
@@ -18,7 +18,7 @@
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
/**
* Provides a convenient base class for creating a {@link WebSecurityConfigurer}
* Provides a convenient base class for creating a WebSecurityConfigurer
* instance. The implementation allows customization by overriding methods.
*
* @see EnableWebSecurity
@@ -10,7 +10,7 @@
/**
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
* one wins. The configurers are sorted by {@link Order} before being applied.
* one wins. The configurers are sorted by Order before being applied.
*
* @author pkmst
*

0 comments on commit 3943d1c

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