import CS objectweb-asm-9.7.1-4.module_el9+1171+eb38a622

This commit is contained in:
eabdullin 2025-03-13 14:04:58 +00:00
parent 9e0b3f4ffa
commit d1da567a0b
16 changed files with 447 additions and 507 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/objectweb-asm-7.2.tar.gz SOURCES/objectweb-asm-9.7.1.tar.gz

View File

@ -1 +1 @@
35d476b1dace20fd180269067a06f7c7b1c1932a SOURCES/objectweb-asm-7.2.tar.gz 7aa64fdfc299c0c31dae34f87db45c5446ffbcdc SOURCES/objectweb-asm-9.7.1.tar.gz

58
SOURCES/aggregator.pom Normal file
View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd'>
<modelVersion>4.0.0</modelVersion>
<groupId>org.fedoraproject.xmvn.objectweb-asm</groupId>
<artifactId>aggregator</artifactId>
<version>any</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<modules>
<module>asm</module>
<module>asm-analysis</module>
<module>asm-commons</module>
<module>asm-tree</module>
<module>asm-util</module>
<module>tools/retrofitter</module>
</modules>
<build>
<pluginManagement>
<plugins>
<!-- Run the retrofitter tool which:
* downgrades the class bytecode version to 1.5
* generates module-info.class files in each .jar
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>any</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<java classname="org.objectweb.asm.tools.Retrofitter" failonerror="true">
<arg value="${project.build.directory}/classes"/>
<arg value="${project.version}"/>
<classpath>
<path refid="maven.compile.classpath"/>
</classpath>
</java>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

75
SOURCES/asm-9.7.1.pom Normal file
View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.7.1</version>
<name>asm</name>
<description>ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url>
<inceptionYear>2000</inceptionYear>
<organization>
<name>OW2</name>
<url>http://www.ow2.org/</url>
</organization>
<licenses>
<license>
<name>BSD-3-Clause</name>
<url>https://asm.ow2.io/license.html</url>
</license>
</licenses>
<developers>
<developer>
<id>ebruneton</id>
<name>Eric Bruneton</name>
<email>ebruneton@free.fr</email>
<roles>
<role>Creator</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>eu</id>
<name>Eugene Kuleshov</name>
<email>eu@javatx.org</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>forax</id>
<name>Remi Forax</name>
<email>forax@univ-mlv.fr</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>ASM Users List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm</subscribe>
<post>asm@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm/</archive>
</mailingList>
<mailingList>
<name>ASM Team List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm-team</subscribe>
<post>asm-team@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm-team/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://gitlab.ow2.org/asm/asm/</connection>
<developerConnection>scm:git:https://gitlab.ow2.org/asm/asm/</developerConnection>
<url>https://gitlab.ow2.org/asm/asm/</url>
</scm>
<issueManagement>
<url>https://gitlab.ow2.org/asm/asm/issues</url>
</issueManagement>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>@VERSION@</version>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>@VERSION@</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>@VERSION@</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>@VERSION@</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>@VERSION@</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>@VERSION@</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,15 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId> <artifactId>asm-analysis</artifactId>
<version>7.2</version> <version>9.7.1</version>
<name>asm-analysis</name> <name>asm-analysis</name>
<description>Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework</description> <description>Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url> <url>http://asm.ow2.io/</url>
@ -77,26 +71,13 @@
<dependency> <dependency>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId> <artifactId>asm-tree</artifactId>
<version>7.2</version> <version>9.7.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project> </project>

View File

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>7.2</version>
<name>asm-commons</name>
<description>Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url>
<inceptionYear>2000</inceptionYear>
<organization>
<name>OW2</name>
<url>http://www.ow2.org/</url>
</organization>
<licenses>
<license>
<name>BSD-3-Clause</name>
<url>https://asm.ow2.io/license.html</url>
</license>
</licenses>
<developers>
<developer>
<id>ebruneton</id>
<name>Eric Bruneton</name>
<email>ebruneton@free.fr</email>
<roles>
<role>Creator</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>eu</id>
<name>Eugene Kuleshov</name>
<email>eu@javatx.org</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>forax</id>
<name>Remi Forax</name>
<email>forax@univ-mlv.fr</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>ASM Users List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm</subscribe>
<post>asm@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm/</archive>
</mailingList>
<mailingList>
<name>ASM Team List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm-team</subscribe>
<post>asm-team@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm-team/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://gitlab.ow2.org/asm/asm/</connection>
<developerConnection>scm:git:https://gitlab.ow2.org/asm/asm/</developerConnection>
<url>https://gitlab.ow2.org/asm/asm/</url>
</scm>
<issueManagement>
<url>https://gitlab.ow2.org/asm/asm/issues</url>
</issueManagement>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>9.7.1</version>
<name>asm-commons</name>
<description>Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url>
<inceptionYear>2000</inceptionYear>
<organization>
<name>OW2</name>
<url>http://www.ow2.org/</url>
</organization>
<licenses>
<license>
<name>BSD-3-Clause</name>
<url>https://asm.ow2.io/license.html</url>
</license>
</licenses>
<developers>
<developer>
<id>ebruneton</id>
<name>Eric Bruneton</name>
<email>ebruneton@free.fr</email>
<roles>
<role>Creator</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>eu</id>
<name>Eugene Kuleshov</name>
<email>eu@javatx.org</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>forax</id>
<name>Remi Forax</name>
<email>forax@univ-mlv.fr</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>ASM Users List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm</subscribe>
<post>asm@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm/</archive>
</mailingList>
<mailingList>
<name>ASM Team List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm-team</subscribe>
<post>asm-team@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm-team/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://gitlab.ow2.org/asm/asm/</connection>
<developerConnection>scm:git:https://gitlab.ow2.org/asm/asm/</developerConnection>
<url>https://gitlab.ow2.org/asm/asm/</url>
</scm>
<issueManagement>
<url>https://gitlab.ow2.org/asm/asm/issues</url>
</issueManagement>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.7.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>9.7.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project>

View File

@ -1,15 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId> <artifactId>asm-test</artifactId>
<version>7.2</version> <version>9.7.1</version>
<name>asm-test</name> <name>asm-test</name>
<description>Utilities for testing ASM, a very small and fast Java bytecode manipulation framework</description> <description>Utilities for testing ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url> <url>http://asm.ow2.io/</url>
@ -77,20 +71,19 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>5.3.2</version> <version>5.10.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId> <artifactId>junit-jupiter-params</artifactId>
<version>5.3.2</version> <version>5.10.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project> </project>

View File

@ -1,15 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId> <artifactId>asm-tree</artifactId>
<version>7.2</version> <version>9.7.1</version>
<name>asm-tree</name> <name>asm-tree</name>
<description>Tree API of ASM, a very small and fast Java bytecode manipulation framework</description> <description>Tree API of ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url> <url>http://asm.ow2.io/</url>
@ -77,26 +71,13 @@
<dependency> <dependency>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId> <artifactId>asm</artifactId>
<version>7.2</version> <version>9.7.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project> </project>

View File

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
<version>7.2</version>
<name>asm-util</name>
<description>Utilities for ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url>
<inceptionYear>2000</inceptionYear>
<organization>
<name>OW2</name>
<url>http://www.ow2.org/</url>
</organization>
<licenses>
<license>
<name>BSD-3-Clause</name>
<url>https://asm.ow2.io/license.html</url>
</license>
</licenses>
<developers>
<developer>
<id>ebruneton</id>
<name>Eric Bruneton</name>
<email>ebruneton@free.fr</email>
<roles>
<role>Creator</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>eu</id>
<name>Eugene Kuleshov</name>
<email>eu@javatx.org</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<id>forax</id>
<name>Remi Forax</name>
<email>forax@univ-mlv.fr</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>ASM Users List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm</subscribe>
<post>asm@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm/</archive>
</mailingList>
<mailingList>
<name>ASM Team List</name>
<subscribe>https://mail.ow2.org/wws/subscribe/asm-team</subscribe>
<post>asm-team@objectweb.org</post>
<archive>https://mail.ow2.org/wws/arc/asm-team/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://gitlab.ow2.org/asm/asm/</connection>
<developerConnection>scm:git:https://gitlab.ow2.org/asm/asm/</developerConnection>
<url>https://gitlab.ow2.org/asm/asm/</url>
</scm>
<issueManagement>
<url>https://gitlab.ow2.org/asm/asm/issues</url>
</issueManagement>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>7.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>3.0.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId>
<version>7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -1,17 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5</version>
</parent>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId> <artifactId>asm-util</artifactId>
<version>7.2</version> <version>9.7.1</version>
<name>asm</name> <name>asm-util</name>
<description>ASM, a very small and fast Java bytecode manipulation framework</description> <description>Utilities for ASM, a very small and fast Java bytecode manipulation framework</description>
<url>http://asm.ow2.io/</url> <url>http://asm.ow2.io/</url>
<inceptionYear>2000</inceptionYear> <inceptionYear>2000</inceptionYear>
<organization> <organization>
@ -76,21 +70,26 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm-test</artifactId> <artifactId>asm</artifactId>
<version>7.2</version> <version>9.7.1</version>
<scope>test</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>asm-tree</artifactId>
<version>5.3.2</version> <version>9.7.1</version>
<scope>test</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>junit-jupiter-params</artifactId> <artifactId>asm-analysis</artifactId>
<version>5.3.2</version> <version>9.7.1</version>
<scope>test</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<parent>
<groupId>org.ow2</groupId>
<artifactId>ow2</artifactId>
<version>1.5.1</version>
</parent>
</project> </project>

View File

@ -6,15 +6,15 @@ version="$(sed -n 's/Version:\s*//p' *.spec)"
gittag="ASM_${version//./_}" gittag="ASM_${version//./_}"
# RETRIEVE # RETRIEVE
wget "https://gitlab.ow2.org/asm/asm/repository/${gittag}/archive.tar.gz#/${name}-${version}.tar.gz" -O "${name}-${version}.orig.tar.gz" wget "https://gitlab.ow2.org/asm/asm/-/archive/${gittag}/asm-${gittag}.tar.gz" -O "${name}-${version}.orig.tar.gz"
rm -rf tarball-tmp rm -rf tarball-tmp
mkdir tarball-tmp mkdir tarball-tmp
cd tarball-tmp pushd tarball-tmp
tar xf "../${name}-${version}.orig.tar.gz" tar -xzf "../${name}-${version}.orig.tar.gz"
# Rename dir not to contain commit # Rename dir not to contain commit
mv asm-${gittag}-* ${name}-${version} mv asm-${gittag} ${name}-${version}
# CLEAN TARBALL # CLEAN TARBALL
# Remove all jar files # Remove all jar files
@ -23,6 +23,6 @@ find -name '*.jar' -delete
find */asm{,-analysis,-commons} -name '*.class' -delete find */asm{,-analysis,-commons} -name '*.class' -delete
rm -r */gradle rm -r */gradle
tar cf "../${name}-${version}.tar.gz" * tar -czf "../${name}-${version}.tar.gz" *
cd .. popd
rm -r tarball-tmp "${name}-${version}.orig.tar.gz" rm -r tarball-tmp "${name}-${version}.orig.tar.gz"

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd'>
<modelVersion>4.0.0</modelVersion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-aggregator</artifactId>
<version>1</version>
<packaging>pom</packaging>
<modules>
<module>asm</module>
<module>asm-analysis</module>
<module>asm-commons</module>
<module>asm-test</module>
<module>asm-tree</module>
<module>asm-util</module>
<module>asm-all</module>
</modules>
</project>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd'>
<modelVersion>4.0.0</modelVersion>
<groupId>org.fedoraproject.xmvn.objectweb-asm</groupId>
<artifactId>tools-retrofitter</artifactId>
<version>any</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>any</version>
</dependency>
</dependencies>
</project>

View File

@ -1,39 +1,34 @@
%bcond_with bootstrap
Name: objectweb-asm Name: objectweb-asm
Version: 7.2 Version: 9.7.1
Release: 2%{?dist} Release: 4%{?dist}
Summary: Java bytecode manipulation and analysis framework Summary: Java bytecode manipulation and analysis framework
License: BSD License: BSD-3-Clause
URL: http://asm.ow2.org/ URL: https://asm.ow2.org/
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
# ./generate-tarball.sh # ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Source1: parent.pom Source1: aggregator.pom
Source2: http://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom Source2: https://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom
Source3: http://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom Source3: https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom
Source4: http://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom Source4: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom
Source5: http://repo1.maven.org/maven2/org/ow2/asm/asm-test/%{version}/asm-test-%{version}.pom Source5: https://repo1.maven.org/maven2/org/ow2/asm/asm-test/%{version}/asm-test-%{version}.pom
Source6: http://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/asm-tree-%{version}.pom Source6: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/asm-tree-%{version}.pom
Source7: http://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom
# We still want to create an "all" uberjar, so this is a custom pom to generate it
# TODO: Fix other packages to no longer depend on "asm-all" so we can drop this
Source8: asm-all.pom
# The source contains binary jars that cannot be verified for licensing and could be proprietary # The source contains binary jars that cannot be verified for licensing and could be proprietary
Source9: generate-tarball.sh Source9: generate-tarball.sh
Source10: tools-retrofitter.pom
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) BuildRequires: mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.ow2:ow2:pom:) %endif
# asm-all needs to be in pluginpath for BND. If this self-dependency
# becomes a problem then ASM core will have to be build from source
# with javac before main maven build, just like bnd-module-plugin
BuildRequires: objectweb-asm >= 6
# Explicit javapackages-tools requires since asm-processor script uses
# /usr/share/java-utils/java-functions
Requires: javapackages-tools
%description %description
ASM is an all purpose Java bytecode manipulation and analysis ASM is an all purpose Java bytecode manipulation and analysis
@ -42,84 +37,39 @@ generate classes, directly in binary form. Provided common
transformations and analysis algorithms allow to easily assemble transformations and analysis algorithms allow to easily assemble
custom complex transformations and code analysis tools. custom complex transformations and code analysis tools.
%package javadoc %package javadoc
Summary: API documentation for %{name} Summary: API documentation for %{name}
%description javadoc %description javadoc
This package provides %{summary}. API documentation for %{name}.
%prep %prep
%setup -q %autosetup -p1
# A custom parent pom to aggregate the build # A custom pom to aggregate the build
cp -p %{SOURCE1} pom.xml cp -p %{SOURCE1} pom.xml
%pom_disable_module asm-test cp -p %{SOURCE10} tools/retrofitter/pom.xml
# Insert poms into modules # Insert poms into modules
for pom in asm asm-analysis asm-commons asm-test asm-tree asm-util; do for pom in asm asm-analysis asm-commons asm-test asm-tree asm-util; do
cp -p $RPM_SOURCE_DIR/${pom}-%{version}.pom $pom/pom.xml cp -p ${RPM_SOURCE_DIR}/${pom}-%{version}.pom ${pom}/pom.xml
# Fix junit5 configuration %pom_add_dep org.fedoraproject.xmvn.objectweb-asm:tools-retrofitter::provided ${pom}
if [ "$pom" != "asm-test" ] ; then %pom_add_plugin org.apache.maven.plugins:maven-antrun-plugin ${pom}
# Make into OSGi bundles %pom_set_parent org.fedoraproject.xmvn.objectweb-asm:aggregator:any ${pom}
bsn="org.objectweb.${pom//-/.}" %pom_xpath_inject pom:parent '<relativePath>..</relativePath>' ${pom}
%pom_xpath_inject pom:project "<packaging>bundle</packaging>" $pom
%pom_add_plugin org.apache.felix:maven-bundle-plugin:3.5.0 $pom \
" <extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>$bsn</Bundle-SymbolicName>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
<_removeheaders>Bnd-LastModified,Build-By,Created-By,Include-Resource,Require-Capability,Tool</_removeheaders>
<_pluginpath>$(pwd)/tools/bnd-module-plugin/bnd-module-plugin.jar, $(find-jar objectweb-asm/asm-all)</_pluginpath>
<_plugin>org.objectweb.asm.tools.ModuleInfoBndPlugin;</_plugin>
</instructions>
</configuration>"
fi
done done
# Disable tests that use unlicensed class files %pom_add_dep org.ow2.asm:asm-tree:%{version} asm-analysis
sed -i -e '/testToByteArray_computeMaxs_largeSubroutines/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm/src/test/java/org/objectweb/asm/ClassWriterTest.java
sed -i -e '/testAnalyze_mergeWithJsrReachableFromTwoDifferentPaths/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-analysis/src/test/java/org/objectweb/asm/tree/analysis/AnalyzerWithBasicInterpreterTest.java
sed -i -e '/testSortLocalVariablesAndInstantiate()/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/LocalVariablesSorterTest.java
sed -i -e '/testAllMethods_issue317586/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/LocalVariablesSorterTest.java
sed -i -e '/testAllMethods_anonymousInnerClass/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/SerialVersionUidAdderTest.java
sed -i -e '/testAllMethods_emptyInterface/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/SerialVersionUidAdderTest.java
sed -i -e '/testAllMethods_enum/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/SerialVersionUidAdderTest.java
sed -i -e '/testAllMethods_class/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/SerialVersionUidAdderTest.java
sed -i -e '/testAllMethods_interface/i@org.junit.jupiter.api.Disabled("missing class file")' \
asm-commons/src/test/java/org/objectweb/asm/commons/SerialVersionUidAdderTest.java
# Insert asm-all pom # Don't ship poms used for build only
mkdir -p asm-all %mvn_package :aggregator __noinstall
sed 's/@VERSION@/%{version}/g' %{SOURCE8} > asm-all/pom.xml %mvn_package :tools-retrofitter __noinstall
# Remove invalid self-dependency
%pom_remove_dep org.ow2.asm:asm-test asm-test
# Compat aliases
%mvn_alias :asm-all org.ow2.asm:asm-debug-all
# No need to ship the custom parent pom
%mvn_package :asm-aggregator __noinstall
# Don't ship the test framework to avoid runtime dep on junit # Don't ship the test framework to avoid runtime dep on junit
%mvn_package :asm-test __noinstall %mvn_package :asm-test __noinstall
%build %build
# Must compile bnd plugin first, which is used to generate Java 9 module-info.class files
pushd tools/bnd-module-plugin
javac -sourcepath ../../asm/src/main/java/ -cp $(build-classpath aqute-bnd) $(find -name *.java)
jar cf bnd-module-plugin.jar -C src/main/java org
popd
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install %install
@ -135,12 +85,126 @@ popd
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.7.1-2
- Drop explicit requires on javapackages-tools
* Mon Oct 07 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.7.1-1
- Update to upstream version 9.7.1
- Resolves: rhbz#2316766
* Fri Aug 23 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.7-1
- Update to upstream version 9.7
- Resolves: rhbz#2271211
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 9.6-5
- Rebuilt for java-21-openjdk as system jdk
* Fri Feb 23 2024 Jiri Vanek <jvanek@redhat.com> - 9.6-4
- bump of release for for java-21-openjdk as system jdk
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Dec 11 2023 Marian Koncek <mkoncek@redhat.com> - 9.6-1
- Update to upstream version 9.6
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.5-3
- Convert License tag to SPDX format
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 05 2023 Marian Koncek <mkoncek@redhat.com> - 9.5-1
- Update to upstream version 9.5
* Thu Feb 23 2023 Marian Koncek <mkoncek@redhat.com> - 9.4-1
- Update to upstream version 9.4
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Sep 02 2022 Marian Koncek <mkoncek@redhat.com> - 9.3-4
- Fix wrong generated module infos
* Mon Aug 29 2022 Marian Koncek <mkoncek@redhat.com> - 9.3-3
- Generate module-info without bnd-plugin
- Resolves: rhbz#2106272
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 09 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.3-1
- Update to upstream version 9.3
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 9.2-3
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.2-1
- Update to upstream version 9.2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.1-2
- Bootstrap build
- Non-bootstrap build
* Fri May 14 2021 Marian Koncek <mkoncek@redhat.com> - 9.1-1
- Update to upstream version 9.1
* Fri Feb 19 2021 Mat Booth <mat.booth@redhat.com> - 9.1-1
- Update to latest upstream release
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Sep 25 2020 Marian Koncek <mkoncek@redhat.com> - 9.0-1
- Update to upstream version 9.0
* Fri Aug 14 2020 Jerry James <loganjerry@gmail.com> - 8.0.1-1
- Version 8.0.1
- Add 0002-Catch-CompileException-in-test.patch to fix compilation of a test
- Make generate-tarball.sh actually compress the tarball
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 7.3.1-3
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Mon Jun 22 2020 Marian Koncek <mkoncek@redhat.com> - 8.0.1-1
- Update to upstream version 8.0.1
* Wed May 06 2020 Mat Booth <mat.booth@redhat.com> - 7.3.1-2
- Revert an upstream change to prevent breaking API change
* Thu Feb 27 2020 Jayashree Huttanagoudat <jhuttana@redhat.com> - 7.3.1-1
- Upgraded to upstream version 7.3.1.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jan 21 2020 Marian Koncek <mkoncek@redhat.com> - 7.3.1-1
- Update to upstream version 7.3.1
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.2-2 * Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.2-2
- Mass rebuild for javapackages-tools 201902 - Mass rebuild for javapackages-tools 201902
* Thu Oct 17 2019 Marian Koncek <mkoncek@redhat.com> - 7.2-1 * Thu Oct 17 2019 Marian Koncek <mkoncek@redhat.com> - 7.2-1
- Update to upstream version 7.2 - Update to upstream version 7.2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.1-2 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.1-2
- Mass rebuild for javapackages-tools 201901 - Mass rebuild for javapackages-tools 201901
@ -318,13 +382,13 @@ popd
* Fri Feb 08 2008 Ralph Apel <r.apel@r-apel.de> - 0:3.1-3jpp * Fri Feb 08 2008 Ralph Apel <r.apel@r-apel.de> - 0:3.1-3jpp
- Add poms and depmap frags with groupId of org.objectweb.asm ! - Add poms and depmap frags with groupId of org.objectweb.asm !
- Add asm-all.jar - Add asm-all.jar
- Add -javadoc Requires post and postun - Add -javadoc Requires post and postun
- Restore Vendor, Distribution - Restore Vendor, Distribution
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-2jpp * Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-2jpp
- Fix EOL of txt files - Fix EOL of txt files
- Add dependency on jaxp - Add dependency on jaxp
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-1jpp * Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-1jpp
- Upgrade to 3.1 - Upgrade to 3.1