Skip to content

Commit

Permalink
Using packaging=jar instead of packaging=bundle for all jar projects.
Browse files Browse the repository at this point in the history
OSGI manifest entries are still added, however.

This change is required since maven-bundle-plugin has been adding entries with a constant and hard-coded timestamp of 1980-02-01.
  • Loading branch information
ao-apps committed Aug 17, 2023
1 parent e2ee2b6 commit 51f46e4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion book/pom.xml
Expand Up @@ -30,7 +30,7 @@ along with ao-servlet-firewall-path-space. If not, see <https://www.gnu.org/lic
</parent>

<groupId>com.aoapps</groupId><artifactId>ao-servlet-firewall-path-space-book</artifactId><version>0.1.1-POST-SNAPSHOT</version>
<packaging>bundle</packaging>
<packaging>jar</packaging>

<properties>
<module.name>com.aoapps.servlet.firewall.pathspace.book</module.name>
Expand Down Expand Up @@ -151,6 +151,14 @@ along with ao-servlet-firewall-path-space. If not, see <https://www.gnu.org/lic
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/module-info.class</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down
10 changes: 9 additions & 1 deletion pom.xml
Expand Up @@ -30,7 +30,7 @@ along with ao-servlet-firewall-path-space. If not, see <https://www.gnu.org/lic
</parent>

<groupId>com.aoapps</groupId><artifactId>ao-servlet-firewall-path-space</artifactId><version>0.1.1-POST-SNAPSHOT</version>
<packaging>bundle</packaging>
<packaging>jar</packaging>

<properties>
<module.name>com.aoapps.servlet.firewall.pathspace</module.name>
Expand Down Expand Up @@ -249,6 +249,14 @@ along with ao-servlet-firewall-path-space. If not, see <https://www.gnu.org/lic
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/module-info.class</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 51f46e4

Please sign in to comment.