aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShigeru Chiba <chibash@users.noreply.github.com>2023-12-31 10:07:03 +0900
committerGitHub <noreply@github.com>2023-12-31 10:07:03 +0900
commit7302b8b0a09f04d344a26ebe57f29f3db43f2a3e (patch)
tree374aeea3d4a28199a5050dc1becc81d367295cc2
parent9ad05535d365fe5e39b221ed59516eaceb7e37ad (diff)
parentda2e3dd3bed7939cb213d48f402849c8fb8e3411 (diff)
downloadjavassist-7302b8b0a09f04d344a26ebe57f29f3db43f2a3e.tar.gz
javassist-7302b8b0a09f04d344a26ebe57f29f3db43f2a3e.zip
Merge pull request #477 from oldratlee/improve-pom
improve pom
-rw-r--r--pom.xml30
1 files changed, 28 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 01e9f88c..d13fee29 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,7 @@
simple. It is a class library for editing bytecodes in Java.
</description>
<url>https://www.javassist.org/</url>
+ <inceptionYear>1999</inceptionYear>
<licenses>
<!-- this is the license under which javassist is usually distributed
@@ -224,7 +225,7 @@
<attach>true</attach>
<excludePackageNames>javassist.compiler:javassist.convert:javassist.scopedpool:javassist.bytecode.stackmap</excludePackageNames>
<bottom><![CDATA[<i>Javassist, a Java-bytecode translator toolkit.<br>
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
+Copyright (C) ${project.inceptionYear}- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
<show>public</show>
<nohelp>true</nohelp>
<doclint>none</doclint>
@@ -232,6 +233,30 @@ Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.4.1</version>
+ <executions>
+ <execution>
+ <id>enforces</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <!-- official docs: https://maven.apache.org/enforcer/enforcer-rules/index.html -->
+ <requireMavenVersion>
+ <version>3.2.5</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>11</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
@@ -281,6 +306,7 @@ Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
+ <version>3.1.0</version>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
<useAgent>${gpg.useAgent}</useAgent>
@@ -300,7 +326,7 @@ Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
</profile>
<!-- profiles to add tools jar containing com.sun.jdi code
needed by sample code
- -->
+ -->
<profile>
<id>default-tools</id>
<activation>