Skip to content

Commit

Permalink
shipping all platform JARs as empty JARs, fixes jakartaee#133
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed May 17, 2023
1 parent 855e61b commit be9de89
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
8 changes: 8 additions & 0 deletions jakartaee-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<sourcepath>${project.build.directory}/sources-dependency
:../jakartaee-web-api/target/sources-dependency</sourcepath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
23 changes: 3 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,24 +121,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resource-files</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.build.directory}/sources-dependency</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-javadoc-resources</id>
<phase>process-resources</phase>
Expand Down Expand Up @@ -230,7 +212,7 @@
<id>unpack-sources</id>
<phase>process-sources</phase>
<configuration>
<attachSources>true</attachSources>
<attachSources>false</attachSources>
<excludeArtifactIds>tools-jar,servlet-api,jakarta.faces</excludeArtifactIds>
<excludes>${extra.excludes}</excludes>
<includes>jakarta/**, resources/**</includes>
Expand Down Expand Up @@ -276,9 +258,10 @@
<header><![CDATA[<br>${project.name} v${project.version}]]></header>
<bottom>
<![CDATA[
<p align="left">Copyright &#169; 2018,2022 Eclipse Foundation.<br>Use is subject to
<p align="left">Copyright &#169; 2018,2023 Eclipse Foundation.<br>Use is subject to
<a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
</bottom>
<sourcepath>${project.build.directory}/sources-dependency</sourcepath>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit be9de89

Please sign in to comment.