Debian Codegraph @

src/it/MASPECTJ-110/pom.xml

raw
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.codehaus.mojo.aspectj.it</groupId>
5 <artifactId>MASPECTJ-110</artifactId>
6 <version>0.0.1-SNAPSHOT</version>
7 <description>Verifies that nonexistent directories are not added to compile or testCompile source
8 roots. Also verifies that directories are not added twice.</description>
9
10 <dependencies>
11 <dependency>
12 <groupId>org.aspectj</groupId>
13 <artifactId>aspectjrt</artifactId>
14 <version>@aspectjVersion@</version>
15 </dependency>
16 </dependencies>
17
18 <build>
19 <plugins>
20 <plugin>
21 <groupId>org.apache.maven.plugins</groupId>
22 <artifactId>maven-compiler-plugin</artifactId>
23 <version>2.3.2</version>
24 </plugin>
25 <plugin>
26 <groupId>org.codehaus.mojo</groupId>
27 <artifactId>aspectj-maven-plugin</artifactId>
28 <version>@project.version@</version>
29 <executions>
30 <execution>
31 <id>compile_with_nonexistent_aspect_directory</id>
32 <goals>
33 <goal>compile</goal>
34 </goals>
35 <configuration>
36 <forceAjcCompile>true</forceAjcCompile>
37 <aspectDirectory>src/main/nonexistentCompileDirectory</aspectDirectory>
38 <complianceLevel>1.5</complianceLevel>
39 </configuration>
40 </execution>
41 <execution>
42 <id>compile_with_proper_aspect_directory</id>
43 <goals>
44 <goal>compile</goal>
45 </goals>
46 <configuration>
47 <forceAjcCompile>true</forceAjcCompile>
48 <aspectDirectory>src/main/trivialaspects</aspectDirectory>
49 <complianceLevel>1.5</complianceLevel>
50 </configuration>
51 </execution>
52 <execution>
53 <id>testcompile_with_nonexistent_aspect_directory</id>
54 <goals>
55 <goal>test-compile</goal>
56 </goals>
57 <configuration>
58 <forceAjcCompile>true</forceAjcCompile>
59 <aspectDirectory>src/main/trivialaspects</aspectDirectory>
60 <testAspectDirectory>src/test/nonexistentTestCompileDirectory</testAspectDirectory>
61 <complianceLevel>1.5</complianceLevel>
62 </configuration>
63 </execution>
64 <execution>
65 <id>testcompile_with_proper_aspect_directory</id>
66 <goals>
67 <goal>test-compile</goal>
68 </goals>
69 <configuration>
70 <forceAjcCompile>true</forceAjcCompile>
71 <testAspectDirectory>src/test/trivialtestaspects</testAspectDirectory>
72 <complianceLevel>1.5</complianceLevel>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77
78 <!--
79 Use the Antrun plugin to write some properties *after* the AspectJ plugin has run.
80 -->
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-antrun-plugin</artifactId>
84 <version>1.1</version>
85 <executions>
86 <execution>
87 <phase>package</phase>
88 <goals>
89 <goal>run</goal>
90 </goals>
91 <configuration>
92 <tasks>
93 <echo>[compileSourceRoots] ${project.compileSourceRoots}</echo>
94 <echo>[testCompileSourceRoots] ${project.testCompileSourceRoots}</echo>
95 </tasks>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102 </project>