]> source.dussan.org Git - aspectj.git/commitdiff
Centrally manage ASM version in parent POM
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 9 Apr 2021 08:03:28 +0000 (15:03 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 9 Apr 2021 08:03:28 +0000 (15:03 +0700)
There is a warning because 'asm-renamed' uses
<version>${asm.version}</version> in its artifact descriptor instead of
a fixed version. but as long as Maven still permits it, let us use it
this way. Flatten Maven plugin replaces it by a resolved number anyway
for the dependency-reduced POM.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
asm-renamed/pom.xml
pom.xml

index 85b02d488e477c271aeb4e01799da50901037f84..bb29f7838cd036bb41018146c7325cb45f8be313 100644 (file)
     <dependency>
       <groupId>org.ow2.asm</groupId>
       <artifactId>asm</artifactId>
-      <version>${asm.version}</version>
     </dependency>
   </dependencies>
 
diff --git a/pom.xml b/pom.xml
index 76dfc707cd45074c2cf0d22e31b419fa55161f22..48fd940604b178a622697822e57faef2874807fe 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <artifactId>commons-beanutils</artifactId>
                                <version>${lib.commons.beanutils.version}</version>
                        </dependency>
+                       <dependency>
+                               <groupId>org.ow2.asm</groupId>
+                               <artifactId>asm</artifactId>
+                               <version>${asm.version}</version>
+                       </dependency>
                        <dependency>
                                <groupId>org.aspectj</groupId>
                                <artifactId>asm-renamed</artifactId>