您的位置:首页 > 编程语言 > ASP

使用Maven来构建AspectJ工程

2012-05-03 21:31 363 查看
看网上加了一下依赖,可是依旧构建不成功,烦死了

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>aspectj-maven-plugin</artifactId>

<version>1.4</version>

<configuration>

<verbose>true</verbose>

<privateScope>true</privateScope>

<showWeaveInfo>false</showWeaveInfo>

<source>1.5</source>

<target>1.5</target>

<complianceLevel>1.5</complianceLevel>

<encoding>UTF-8</encoding>

</configuration>

<executions>

<execution>

<goals>

<goal>compile</goal> <!-- use this goal to weave all your main classes -->

</goals>

</execution>

</executions>

</plugin>

<dependency>

<groupId>org.aspectj</groupId>

<artifactId>aspectjrt</artifactId>

<version>1.6.11</version>

</dependency>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: