Skip to content

Commit

Permalink
jcabi-maven-plugin:0.14 use org.aspectj:aspectjtools:1.8.6
Browse files Browse the repository at this point in the history
This version can have problem with java8 and later for weaving class, throwing exception like

	org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'module-info.class': Invalid byte tag in constant pool: 19

As explained in this jcabi issue jcabi/jcabi-maven-plugin#58, we update aspectjtools dependency to 1.9.1 for jcabi maven plugin only
  • Loading branch information
rdenarie committed Feb 25, 2021
1 parent e86cbd2 commit db99d3a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<version.jaxb2.plugin>2.2</version.jaxb2.plugin>
<!-- PAR-362: weaves .class files with AspectJ aspects available in classpath (binary weaving) -->
<version.jcabi.plugin>0.14</version.jcabi.plugin>
<version.jcabi.aspectj.dependencies.plugin>1.9.1</version.jcabi.aspectj.dependencies.plugin>
<version.jdepend.plugin>2.0</version.jdepend.plugin>
<!-- PAR-222 : jdocbook 2.3.6+ has a perf issue. See MPJDOCBOOK-84 -->
<version.jdocbook.plugin>2.3.5</version.jdocbook.plugin>
Expand Down Expand Up @@ -694,6 +695,23 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down

0 comments on commit db99d3a

Please sign in to comment.