Excluding generated-sources from javadoc gen in rpc-grpc pom.xml
Change-Id: I8739a251fa1e333c8948ffd1b0d50541121b2bd6
Showing
1 changed file
with
13 additions
and
2 deletions
| ... | @@ -122,6 +122,18 @@ | ... | @@ -122,6 +122,18 @@ |
| 122 | </extensions> | 122 | </extensions> |
| 123 | 123 | ||
| 124 | <plugins> | 124 | <plugins> |
| 125 | + <!-- TODO This is included to suppress the generation of javadocs for | ||
| 126 | + this package. There is a problem when we try to package the | ||
| 127 | + auto-generated code's javadoc into a jar. --> | ||
| 128 | + <plugin> | ||
| 129 | + <groupId>org.apache.maven.plugins</groupId> | ||
| 130 | + <artifactId>maven-javadoc-plugin</artifactId> | ||
| 131 | + <configuration> | ||
| 132 | + <sourcepath>${basedir}/src/main/java/</sourcepath> | ||
| 133 | + <excludePackageNames>org.onosproject.incubator.rpc.grpc</excludePackageNames> | ||
| 134 | + </configuration> | ||
| 135 | + </plugin> | ||
| 136 | + | ||
| 125 | <plugin> | 137 | <plugin> |
| 126 | <groupId>org.apache.felix</groupId> | 138 | <groupId>org.apache.felix</groupId> |
| 127 | <artifactId>maven-bundle-plugin</artifactId> | 139 | <artifactId>maven-bundle-plugin</artifactId> |
| ... | @@ -224,8 +236,7 @@ | ... | @@ -224,8 +236,7 @@ |
| 224 | </configuration> | 236 | </configuration> |
| 225 | </execution> | 237 | </execution> |
| 226 | </executions> | 238 | </executions> |
| 227 | - </plugin> | 239 | + </plugin> |
| 228 | - | ||
| 229 | </plugins> | 240 | </plugins> |
| 230 | </build> | 241 | </build> |
| 231 | 242 | ... | ... |
-
Please register or login to post a comment