Skip to content

Commit

Permalink
Update to ASM 9.6 + POM and code refresh (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
  • Loading branch information
rfelcman committed Oct 10, 2023
1 parent 21032e1 commit 2e9ce91
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Expand Up @@ -31,15 +31,15 @@ jobs:

strategy:
matrix:
java_version: [ 17 ]
java_version: [ 17, 21 ]

steps:
- name: Checkout for build
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
cache: maven
- name: Verify
Expand Down
24 changes: 12 additions & 12 deletions org.eclipse.persistence.asm/pom.xml
Expand Up @@ -27,7 +27,7 @@

<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.asm</artifactId>
<version>9.5.0-SNAPSHOT</version>
<version>9.6.0-SNAPSHOT</version>

<name>EclipseLink ASM</name>
<description>EclipseLink extension for Java bytecode manipulation and analysis framework</description>
Expand Down Expand Up @@ -83,10 +83,10 @@
<properties>
<legal.doc.source>${project.basedir}/..</legal.doc.source>
<!-- 2.6.x has Java SE 7 as min supported JDK -->
<base.java.level>7</base.java.level>
<base.java.level>8</base.java.level>
<upper.java.level>9</upper.java.level>
<!-- CQ #24269 -->
<asm.version>9.5</asm.version>
<asm.version>9.6</asm.version>
<junit.version>4.13.2</junit.version>
</properties>

Expand Down Expand Up @@ -159,32 +159,32 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>com.sun.wts.tools.ant</groupId>
<artifactId>package-rename-task</artifactId>
<version>1.5.2</version>
<version>1.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.8</version>
<version>5.1.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -199,7 +199,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -209,7 +209,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -494,7 +494,7 @@
<plugin>
<groupId>org.eclipse.dash</groupId>
<artifactId>license-tool-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.3-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Expand Up @@ -68,7 +68,7 @@ private static int getLatestOPCodeVersion() {
final Map<String, Integer> versionMap = new LinkedHashMap<>();
Pattern searchPattern = Pattern.compile("^V\\d((_\\d)?|\\d*)");
try {
Class opcodesClazz = Opcodes.class;
Class<Opcodes> opcodesClazz = Opcodes.class;
for (Field f : opcodesClazz.getDeclaredFields()) {
if (searchPattern.matcher(f.getName()).matches()) {
versionMap.put(f.getName().replace("V","").replace('_', '.'), f.getInt(opcodesClazz));
Expand Down

0 comments on commit 2e9ce91

Please sign in to comment.