Hi, When compiling a simple project [1] using aspectj-maven-plugin, I get the error below. It only happens when the pointcut gets applied. If I make the pointcut intercept nothing [2], it compiles successfully.
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.7:compile (default) on project lambda-control-flow-poc: AJC compiler errors: [ERROR] error at (no source information available) [ERROR] /home/chous/github/LambdaControlFlowPoC/src/main/java/org/acmsl/pocs/lambdafor/ControlFlowDriver.java:0::0 Internal compiler error: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.ConstantUtf8 cannot be cast to org.aspectj.apache.bcel.classfile.ConstantInvokeDynamic at org.aspectj.apache.bcel.generic.InvokeDynamic.getSignature(InvokeDynamic.java:108) [ERROR] abort ABORT -- (ClassCastException) org.aspectj.apache.bcel.classfile.ConstantUtf8 cannot be cast to org.aspectj.apache.bcel.classfile.ConstantInvokeDynamic [ERROR] org.aspectj.apache.bcel.classfile.ConstantUtf8 cannot be cast to org.aspectj.apache.bcel.classfile.ConstantInvokeDynamic [ERROR] java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.ConstantUtf8 cannot be cast to org.aspectj.apache.bcel.classfile.ConstantInvokeDynamic [ERROR] at org.aspectj.apache.bcel.generic.InvokeDynamic.getSignature(InvokeDynamic.java:108) [ERROR] at org.aspectj.apache.bcel.generic.InvokeDynamic.getReturnType(InvokeDynamic.java:99) [ERROR] at org.aspectj.apache.bcel.generic.InvokeInstruction.produceStack(InvokeInstruction.java:107) [ERROR] at org.aspectj.apache.bcel.generic.MethodGen.getMaxStack(MethodGen.java:988) [ERROR] at org.aspectj.apache.bcel.generic.MethodGen.setMaxStack(MethodGen.java:876) [ERROR] at org.aspectj.weaver.bcel.LazyMethodGen.pack(LazyMethodGen.java:1019) The context is: - Project uses lambda expressions. - Java 1.8.11 on gentoo linux 64b. - aspectjrt, aspectjtools 1.8.2 - aspectj-maven-plugin 1.7 [1] https://github.com/rydnr/LambdaControlFlowPoC [2] https://github.com/rydnr/LambdaControlFlowPoC/blob/master/src/main/aspect/org/acmsl/pocs/lambdafor/ForReplacer.aj I'm attaching the effective pom should it helps to figure out the issue. I've downloaded aspectj 1.8.2 sources, and when debugging, the invalid cast is produced by extracting "org/acmsl/pocs/lambdafor/ControlFlowCommand" String from the constant pool at index 62. I've no idea what could be causing this. I've tried adding some defensive programming hacks but it causes one NPE in the caller for each guarding condition. I think InvokeDynamic class is not prepared yet to handle ConstantUtf8 instances, but I'm far from solving this by myself. Thank you very much in advance. Jose.
[INFO] Scanning for projects... [INFO] [36;1m[INFO] ------------------------------------------------------------------------[0m [36;1m[INFO] Building lambda-control-flow-poc latest-SNAPSHOT[0m [36;1m[INFO] ------------------------------------------------------------------------[0m [INFO] [INFO] --- maven-help-plugin:2.2:effective-pom (default-cli) @ lambda-control-flow-poc --- [INFO] Effective POMs, after inheritance, interpolation, and profiles are applied: <?xml version="1.0" encoding="UTF-8"?> <!-- ====================================================================== --> <!-- --> <!-- Generated by Maven Help Plugin on 2014-09-27T07:52:52 --> <!-- See: http://maven.apache.org/plugins/maven-help-plugin/ --> <!-- --> <!-- ====================================================================== --> <!-- ====================================================================== --> <!-- --> <!-- Effective POM for project --> <!-- 'org.acmsl.pocs:lambda-control-flow-poc:jar:latest-SNAPSHOT' --> <!-- --> <!-- ====================================================================== --> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.acmsl</groupId> <artifactId>acmsl-pom</artifactId> <version>latest-SNAPSHOT</version> </parent> <groupId>org.acmsl.pocs</groupId> <artifactId>lambda-control-flow-poc</artifactId> <version>latest-SNAPSHOT</version> <url>http://www.acm-sl.org/projects/acmsl-pom/lambda-control-flow-poc</url> <inceptionYear>2014</inceptionYear> <organization> <name>ACM-SL</name> <url>http://www.acm-sl.org</url> </organization> <licenses> <license> <name>GPL</name> <url>http://www.fsf.org/licensing/licenses/gpl.html</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:http://github.com/rydnr/acmsl-pom.git/lambda-control-flow-poc</connection> <developerConnection>scm:git:http://github.com/rydnr/acmsl-pom.git/lambda-control-flow-poc</developerConnection> <url>scm:git:http://github.com/rydnr/acmsl-pom.git/lambda-control-flow-poc</url> </scm> <issueManagement> <system>github</system> <url>http://github.com/rydnr/acmsl-pom.git/</url> </issueManagement> <ciManagement> <system>Jenkins</system> <url>http://jenkins.acm-sl.org/job/acmsl-pom</url> <notifiers> <notifier> <configuration> <address>jenk...@acm-sl.org</address> </configuration> </notifier> </notifiers> </ciManagement> <distributionManagement> <repository> <id>acmsl-libs-releases</id> <name>acmsl-libs-releases</name> <url>http://maven.acm-sl.org/artifactory/libs-release-local</url> </repository> <snapshotRepository> <id>acmsl-libs-snapshots</id> <name>acmsl-libs-snapshots</name> <url>http://maven.acm-sl.org/artifactory/libs-snapshot-local</url> </snapshotRepository> </distributionManagement> <properties> <antlr4.version>4.3</antlr4.version> <aspect>default</aspect> <backoffice.context.file>/home/chous/servers/nlpbo99/tomcat/conf/Catalina/localhost/backoffice.xml</backoffice.context.file> <backoffice.context.path>backoffice</backoffice.context.path> <backoffice.deploy.path>/home/chous/servers/nlpbo99/webapps/</backoffice.deploy.path> <backoffice.final.name>nlp-backoffice-latest-SNAPSHOT</backoffice.final.name> <backoffice.port>20003</backoffice.port> <backoffice.tomcat.base>/home/chous/servers/nlpbo99/tomcat</backoffice.tomcat.base> <backoffice.tomcat.home>/home/chous/servers/nlpbo99/tomcat</backoffice.tomcat.home> <backoffice.tomcat.work>/home/chous/servers/nlpbo99/tomcat/work</backoffice.tomcat.work> <checkthread.version>1.0.9</checkthread.version> <companies.context.path>ne</companies.context.path> <companies.deploy.path>/home/chous/servers/proc99/webapps/</companies.deploy.path> <companies.final.name>nlp-companies-webapp</companies.final.name> <disable-jspc>true</disable-jspc> <environment>dev</environment> <findbugs-maven-plugin.version>2.5.4</findbugs-maven-plugin.version> <m2repo>${M2_HOME}/repository</m2repo> <maven-pmd-plugin.version>3.1</maven-pmd-plugin.version> <netty.version>5.0.0.Alpha1</netty.version> <oracle-driver.version>12.1.0.1</oracle-driver.version> <powermock.version>1.5.5</powermock.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <version.java-commons>latest-SNAPSHOT</version.java-commons> <version.major>3</version.major> <version.minor>0</version.minor> <version.queryj>latest-SNAPSHOT</version.queryj> <version.queryj-sql>latest-SNAPSHOT</version.queryj-sql> <webapp.deploy.path>/home/chous/servers/proc99/webapps/</webapp.deploy.path> <webapp.final.name>nlp-webapp</webapp.final.name> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-core</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-placeholders</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-template-packaging</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-debugging</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-test</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-ant-task</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-maven-plugin</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-template-packaging-maven-plugin</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-debugging-ant-task</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-debugging-maven-plugin</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-templates</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.checkthread</groupId> <artifactId>checkthread-annotations</artifactId> <version>1.0.9</version> </dependency> <dependency> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-sql</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>org.acmsl</groupId> <artifactId>java-commons</artifactId> <version>latest-SNAPSHOT</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.9.4</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.2.1</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.2.1</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.3</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.3</version> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId> <version>12.1.0.1</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4</artifactId> <version>4.3</version> <exclusions> <exclusion> <artifactId>antlr-runtime</artifactId> <groupId>org.antlr</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>4.3</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-annotations</artifactId> <version>4.3</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>ST4</artifactId> <version>4.0.8</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr</artifactId> <version>3.5.2</version> </dependency> <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>org.beanshell</groupId> <artifactId>bsh</artifactId> <version>2.0b5</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.2</version> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>13.0</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.0.5.RELEASE</version> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> </dependency> <dependency> <groupId>gnu-regexp</groupId> <artifactId>gnu-regexp</artifactId> <version>1.1.4</version> </dependency> <dependency> <groupId>jakarta-regexp</groupId> <artifactId>jakarta-regexp</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>gherkin</artifactId> <version>2.12.2</version> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-core</artifactId> <version>1.1.7</version> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-jvm-deps</artifactId> <version>1.0.3</version> <exclusions> <exclusion> <artifactId>xstream</artifactId> <groupId>com.thoughtworks.xstream</groupId> </exclusion> <exclusion> <artifactId>diffutils</artifactId> <groupId>com.googlecode.java-diff-utils</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-java</artifactId> <version>1.1.7</version> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-junit</artifactId> <version>1.1.7</version> </dependency> <dependency> <groupId>com.rubiconproject.oss</groupId> <artifactId>jchronic</artifactId> <version>0.2.6</version> </dependency> <dependency> <groupId>net.masterthought</groupId> <artifactId>cucumber-reporting</artifactId> <version>0.0.23</version> </dependency> <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> <version>1.10</version> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.5.5</version> <optional>true</optional> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-core</artifactId> <version>1.5.5</version> <optional>true</optional> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-easymock</artifactId> <version>1.5.5</version> <optional>true</optional> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>3.2</version> <optional>true</optional> </dependency> <dependency> <groupId>org.jdogma.junit</groupId> <artifactId>configurable-parallel-computer</artifactId> <version>1.5</version> <optional>true</optional> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.2</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport</artifactId> <version>5.0.0.Alpha1</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-buffer</artifactId> <version>5.0.0.Alpha1</version> </dependency> <dependency> <groupId>mx4j</groupId> <artifactId>mx4j</artifactId> <version>3.0.2</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>3.2.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>3.2.3</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.checkthread</groupId> <artifactId>checkthread-annotations</artifactId> <version>1.0.9</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>13.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.2</version> <scope>compile</scope> </dependency> </dependencies> <repositories> <repository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>libs-releases-local</id> <url>http://maven.v24es.tipp24.net/artifactory/libs-releases-local</url> </repository> <repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>libs-snapshots-local</id> <url>http://maven.v24es.tipp24.net/artifactory/libs-snapshots-local</url> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>acmsl-libs-releases</id> <name>acmsl-libs-releases</name> <url>http://maven.acm-sl.org/artifactory/libs-release-local</url> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>acmsl-ext-releases</id> <name>acmsl-ext-releases</name> <url>http://maven.acm-sl.org/artifactory/ext-release-local</url> </repository> <repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>acmsl-libs-snapshots</id> <name>acmsl-libs-snapshots</name> <url>http://maven.acm-sl.org/artifactory/libs-snapshot-local</url> </repository> <repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>acmsl-ext-snapshots</id> <name>acmsl-ext-snapshots</name> <url>http://maven.acm-sl.org/artifactory/ext-snapshot-local</url> </repository> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Central Repository</name> <url>http://repo.maven.apache.org/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </pluginRepository> <pluginRepository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>plugins-releases-local</id> <url>http://maven.v24es.tipp24.net/artifactory/plugins-releases-local</url> </pluginRepository> <pluginRepository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>plugins-snapshots-local</id> <url>http://maven.v24es.tipp24.net/artifactory/plugins-snapshots-local</url> </pluginRepository> <pluginRepository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>acmsl-plugins-releases</id> <name>acmsl-plugins-releases</name> <url>http://maven.acm-sl.org/artifactory/plugins-release-local</url> </pluginRepository> <pluginRepository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>acmsl-plugins-snapshots</id> <name>acmsl-plugins-snapshots</name> <url>http://maven.acm-sl.org/artifactory/plugins-snapshot-local</url> </pluginRepository> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Central Repository</name> <url>http://repo.maven.apache.org/maven2</url> </pluginRepository> </pluginRepositories> <build> <sourceDirectory>/home/chous/github/LambdaControlFlowPoC/src/main/java</sourceDirectory> <scriptSourceDirectory>/home/chous/github/LambdaControlFlowPoC/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>/home/chous/github/LambdaControlFlowPoC/src/test/java</testSourceDirectory> <outputDirectory>/home/chous/github/LambdaControlFlowPoC/target/classes</outputDirectory> <testOutputDirectory>/home/chous/github/LambdaControlFlowPoC/target/test-classes</testOutputDirectory> <resources> <resource> <directory>/home/chous/github/LambdaControlFlowPoC/src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>/home/chous/github/LambdaControlFlowPoC/src/test/resources</directory> </testResource> </testResources> <directory>/home/chous/github/LambdaControlFlowPoC/target</directory> <finalName>lambda-control-flow-poc-latest-SNAPSHOT</finalName> <pluginManagement> <plugins> <plugin> <groupId>org.acmsl.queryj</groupId> <artifactId>queryj-template-packaging-maven-plugin</artifactId> <version>latest-SNAPSHOT</version> <dependencies> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId> <version>12.1.0.1</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-Xlint:all</compilerArgument> <compilerArgument>-Xdoclint:all</compilerArgument> <compilerArgument>-Xlint:unchecked</compilerArgument> <compilerArgument>-Xlint:deprecation</compilerArgument> </configuration> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>3.3</version> </plugin> <plugin> <groupId>org.antlr</groupId> <artifactId>antlr4-maven-plugin</artifactId> <version>4.3</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>antlr4</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <phase>test</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <taskdef classname="org.checkthread.anttask.CheckThreadTask" name="checkthread" /> <checkthread classpath="/home/chous/github/LambdaControlFlowPoC/target/classes/" targetpath="/home/chous/github/LambdaControlFlowPoC/target/classes/" verbose="true" /> </tasks> <sourceRoot>/home/chous/github/LambdaControlFlowPoC/src/main/java</sourceRoot> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.checkthread</groupId> <artifactId>checkthread-analyzer</artifactId> <version>1.0.9</version> <scope>compile</scope> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.2</version> <configuration> <useFile>false</useFile> <argLine>-Dqueryjroot=${queryjroot}</argLine> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/antlr4</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.7</version> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>1.8.2</version> <scope>compile</scope> </dependency> </dependencies> <configuration> <Xlint>warning</Xlint> <XaddSerialVersionUID>true</XaddSerialVersionUID> <encoding>UTF-8</encoding> <complianceLevel>1.8</complianceLevel> <source>1.8</source> <target>1.8</target> <warn>constructorName,packageDefaultMethod,deprecation,maskedCatchBlocks,unusedLocals,unusedArguments,unusedImports,all</warn> </configuration> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.3</version> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.1</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.4</version> <configuration> <xmlOutput>true</xmlOutput> <xmlOutputDirectory>target/site</xmlOutputDirectory> </configuration> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>3.1</version> <configuration> <linkXref>true</linkXref> <sourceEncoding>utf-8</sourceEncoding> <targetJdk>1.8</targetJdk> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.3</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.7</version> <executions> <execution> <goals> <goal>compile</goal> </goals> <configuration> <warn>constructorName,packageDefaultMethod,deprecation,maskedCatchBlocks,unusedLocals,unusedArguments,unusedImports,all</warn> <Xlint>warning</Xlint> <XaddSerialVersionUID>true</XaddSerialVersionUID> <encoding>UTF-8</encoding> <complianceLevel>1.8</complianceLevel> <source>1.8</source> <target>1.8</target> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>1.8.2</version> <scope>compile</scope> </dependency> </dependencies> <configuration> <warn>constructorName,packageDefaultMethod,deprecation,maskedCatchBlocks,unusedLocals,unusedArguments,unusedImports,all</warn> <Xlint>warning</Xlint> <XaddSerialVersionUID>true</XaddSerialVersionUID> <encoding>UTF-8</encoding> <complianceLevel>1.8</complianceLevel> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> <executions> <execution> <id>default-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>default-testResources</id> <phase>process-test-resources</phase> <goals> <goal>testResources</goal> </goals> </execution> <execution> <id>default-resources</id> <phase>process-resources</phase> <goals> <goal>resources</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>default-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-Xlint:all</compilerArgument> <compilerArgument>-Xdoclint:all</compilerArgument> <compilerArgument>-Xlint:unchecked</compilerArgument> <compilerArgument>-Xlint:deprecation</compilerArgument> </configuration> </execution> <execution> <id>default-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-Xlint:all</compilerArgument> <compilerArgument>-Xdoclint:all</compilerArgument> <compilerArgument>-Xlint:unchecked</compilerArgument> <compilerArgument>-Xlint:deprecation</compilerArgument> </configuration> </execution> </executions> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-Xlint:all</compilerArgument> <compilerArgument>-Xdoclint:all</compilerArgument> <compilerArgument>-Xlint:unchecked</compilerArgument> <compilerArgument>-Xlint:deprecation</compilerArgument> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.2</version> <executions> <execution> <id>default-test</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <useFile>false</useFile> <argLine>-Dqueryjroot=${queryjroot}</argLine> </configuration> </execution> </executions> <configuration> <useFile>false</useFile> <argLine>-Dqueryjroot=${queryjroot}</argLine> </configuration> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.1</version> <executions> <execution> <id>default-install</id> <phase>install</phase> <goals> <goal>install</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.1</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.3</version> <executions> <execution> <id>default-site</id> <phase>site</phase> <goals> <goal>site</goal> </goals> <configuration> <outputDirectory>/home/chous/github/LambdaControlFlowPoC/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.4</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.1</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </execution> <execution> <id>default-deploy</id> <phase>site-deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <outputDirectory>/home/chous/github/LambdaControlFlowPoC/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.4</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.1</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </execution> </executions> <configuration> <outputDirectory>/home/chous/github/LambdaControlFlowPoC/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.4</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.1</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </plugin> </plugins> </build> <reporting> <outputDirectory>/home/chous/github/LambdaControlFlowPoC/target/site</outputDirectory> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.4</version> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>3.1</version> </plugin> </plugins> </reporting> </project> [36;1m[INFO] ------------------------------------------------------------------------[0m [INFO] BUILD SUCCESS [36;1m[INFO] ------------------------------------------------------------------------[0m [INFO] Total time: 2.314s [INFO] Finished at: Sat Sep 27 19:52:52 GMT+01:00 2014 [INFO] Final Memory: 12M/222M [36;1m[INFO] ------------------------------------------------------------------------[0m [33;1m[WARNING] The requested profile "jspc" could not be activated because it does not exist.[0m
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users