1
是否可以從AspectJ weaveDependencies中創建異常(即,要排除的內容)? 像下面大寫字母那樣的行嗎?從Maven aspectj中排除某些軟件包weave依賴關係
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.5</version>
<configuration>
<weaveDependencies>
<weaveDependency>
<groupId>org.agroup</groupId>
<artifactId>to-weave</artifactId>
***<EXCLUDE>WE.DONT.NEED.THIS.SUB.PACKAGE </EXCLUDE>***
</weaveDependency>
</weaveDependencies>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
可能: 它沒有雖然SOVE我的問題.. –
你想從使用排除方面,或定義它不織布,應嘗試包? – sheltem
定義未嘗試編織的軟件包 –