Skip to content

Commit

Permalink
Release setup changes - change shaded javadoc builds to not include j…
Browse files Browse the repository at this point in the history
…akarta deps in the javadoc jar
  • Loading branch information
manovotn committed Aug 27, 2024
1 parent 3d52b0c commit 367edec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 4 additions & 8 deletions environments/se/build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<sourceFileExcludes>
<!-- Skip module-info as multiple would be included -->
<sourceFileExclude>**/module-info.java</sourceFileExclude>
</sourceFileExcludes>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>org.jboss.weld:*</dependencySourceInclude>
<dependencySourceInclude>org.jboss.weld.se:*</dependencySourceInclude>
<dependencySourceInclude>jakarta.enterprise:*</dependencySourceInclude>
<dependencySourceInclude>jakarta.inject:*</dependencySourceInclude>
</dependencySourceIncludes>
<additionalDependencies>
<additionalDependency>
Expand All @@ -144,12 +146,6 @@
<artifactId>bcel</artifactId>
<version>${apache.bcel.version}</version>
</additionalDependency>
<!-- Temporary until there is release with https://github.com/eclipse-ee4j/cdi/pull/449 -->
<additionalDependency>
<groupId>jakarta.ejb</groupId>
<artifactId>jakarta.ejb-api</artifactId>
<version>4.0.0-RC2</version>
</additionalDependency>
</additionalDependencies>
</configuration>
<executions>
Expand Down
6 changes: 4 additions & 2 deletions environments/servlet/build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<sourceFileExcludes>
<!-- Skip module-info as multiple would be included -->
<sourceFileExclude>**/module-info.java</sourceFileExclude>
</sourceFileExcludes>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>org.jboss.weld:*</dependencySourceInclude>
<dependencySourceInclude>org.jboss.weld.module:*</dependencySourceInclude>
<dependencySourceInclude>org.jboss.weld.servlet:*</dependencySourceInclude>
<dependencySourceInclude>jakarta.enterprise:*</dependencySourceInclude>
<dependencySourceInclude>jakarta.inject:*</dependencySourceInclude>
</dependencySourceIncludes>
<additionalDependencies>
<additionalDependency>
Expand Down

0 comments on commit 367edec

Please sign in to comment.