Upgrade POM to 2.0-SNAPSHOT
[jvstm.git] / pom.xml
blob0a051ca172a528ab7c983c28710e3f2792123e90
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/maven-v4_0_0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>jvstm</groupId>
5     <artifactId>jvstm</artifactId>
6     <packaging>jar</packaging>
7     <version>2.0-SNAPSHOT</version>
8     <name>JVSTM (lock-free)</name>
9     <url>http://inesc-id-esw.github.com/JVSTM</url>
11     <properties>
12         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15         <version.guice>2.0</version.guice>
16         <version.junit>4.10</version.junit>
17         <version.jwormbench>1.0</version.jwormbench>
18         <version.maven.exec-plugin>1.2.1</version.maven.exec-plugin>
19     </properties>
21     <scm>
22         <connection>scm:git:git@github.com:inesc-id-esw/JVSTM.git</connection>
23         <developerConnection>scm:git:git@github.com:inesc-id-esw/JVSTM.git</developerConnection>
24         <url>http://inesc-id-esw.github.com/JVSTM</url>
25         <tag>HEAD</tag>
26     </scm>
28     <build>
29         <pluginManagement>
30             <plugins>
31                 <plugin>
32                     <groupId>org.apache.maven.plugins</groupId>
33                     <artifactId>maven-surefire-plugin</artifactId>
34                     <version>2.13</version>
35                     <configuration>
36                         <argLine>-Xms1G -Xmx1G</argLine>
37                         <systemPropertyVariables>
38                             <jvstm.aom.reversion>true</jvstm.aom.reversion>
39                         </systemPropertyVariables>
40                         <includes>
41                             <!-- Add the defaults -->
42                             <include>**/Test*.java</include>
43                             <include>**/*Test.java</include>
44                             <include>**/*TestCase.java</include>
46                             <!-- Add the nonstandard names -->
47                             <include>jvstm/test/point/utests/PointTestForAomDouble.java</include>
48                             <include>jvstm/test/point/utests/PointTestForAomInt.java</include>
49                             <include>jvstm/test/point/utests/PointTestForAomInteger.java</include>
50                             <include>jvstm/test/point/utests/PointTestForAomShort.java</include>
51                             <include>jvstm/test/point/utests/gc/AomGcTestForDoublePoint.java</include>
52                             <include>jvstm/test/point/utests/gc/AomGcTestForIntegerPoint.java</include>
53                             <include>jvstm/test/point/utests/gc/AomGcTestForIntPoint.java</include>
54                             <include>jvstm/test/point/utests/gc/AomGcTestForShortPoint.java</include>
55                         </includes>
56                         <excludes>
57                             <exclude>jvstm/test/jwormbench/utest/*.java</exclude>
58                         </excludes>
59                     </configuration>
60                 </plugin>
61             </plugins>
62         </pluginManagement>
64         <plugins>
65             <plugin>
66                 <artifactId>maven-release-plugin</artifactId>
67                 <version>2.4.1</version>
68                 <configuration>
69                     <pushChanges>false</pushChanges>
70                 </configuration>
71             </plugin>
73             <plugin>
74                 <groupId>org.apache.maven.plugins</groupId>
75                 <artifactId>maven-compiler-plugin</artifactId>
76                 <version>2.0.2</version>
77                 <configuration>
78                     <source>1.6</source>
79                     <target>1.6</target>
80                 </configuration>
81             </plugin>
83             <!-- Generate the AtomicInstance and ProcessAtomicAnnotations immediatly after compiling -->
84             <plugin>
85                 <groupId>org.codehaus.mojo</groupId>
86                 <artifactId>exec-maven-plugin</artifactId>
87                 <version>${version.maven.exec-plugin}</version>
88                 <!-- Generate AtomicInstance -->
89                 <executions>
90                     <execution>
91                         <id>generate-atomic-instance</id>
92                         <phase>process-classes</phase>
93                         <goals>
94                             <goal>java</goal>
95                         </goals>
96                         <configuration>
97                             <mainClass>pt.ist.esw.advice.GenerateAnnotationInstance</mainClass>
98                             <arguments>
99                                 <argument>jvstm.Atomic</argument>
100                                 <argument>${project.build.outputDirectory}</argument>
101                             </arguments>
102                         </configuration>
103                     </execution>
104                     <!-- Process Atomic Annotations in the main code -->
105                     <execution>
106                         <id>process-annotations</id>
107                         <phase>process-classes</phase>
108                         <goals>
109                             <goal>java</goal>
110                         </goals>
111                         <configuration>
112                             <mainClass>pt.ist.esw.advice.ProcessAnnotations</mainClass>
113                             <arguments>
114                                 <argument>-a</argument>
115                                 <argument>jvstm.Atomic</argument>
116                                 <argument>${project.build.outputDirectory}</argument>
117                             </arguments>
118                         </configuration>
119                     </execution>
120                     <!-- Process Atomic Annotations in the test code -->
121                     <execution>
122                         <id>process-test-annotations</id>
123                         <phase>process-test-classes</phase>
124                         <goals>
125                             <goal>java</goal>
126                         </goals>
127                         <configuration>
128                             <mainClass>pt.ist.esw.advice.ProcessAnnotations</mainClass>
129                             <arguments>
130                                 <argument>-a</argument>
131                                 <argument>jvstm.Atomic</argument>
132                                 <argument>${project.build.testOutputDirectory}</argument>
133                             </arguments>
134                         </configuration>
135                     </execution>
136                 </executions>
137             </plugin>
139         </plugins>
140     </build>
142     <repositories>
143         <repository>
144             <id>advice-repository</id>
145             <url>http://inesc-id-esw.github.com/advice/maven-repo/</url>
146         </repository>
147         <repository>
148             <id>local-repo</id>
149             <url>file://${basedir}/local-maven-repo</url>
150         </repository>
151     </repositories>
153     <dependencies>
154         <dependency>
155             <groupId>pt.ist.esw</groupId>
156             <artifactId>advice</artifactId>
157             <version>1.5</version>
158         </dependency>
159         <dependency>
160             <groupId>junit</groupId>
161             <artifactId>junit</artifactId>
162             <version>${version.junit}</version>
163             <scope>test</scope>
164         </dependency>
165         <dependency>
166             <groupId>jwormbench</groupId>
167             <artifactId>jwormbench</artifactId>
168             <version>${version.jwormbench}</version>
169             <scope>test</scope>
170         </dependency>
171         <dependency>
172             <groupId>com.google.inject</groupId>
173             <artifactId>guice</artifactId>
174             <version>${version.guice}</version>
175             <scope>test</scope>
176         </dependency>
177     </dependencies>
179     <distributionManagement>
180         <repository>
181             <id>jvstm-release</id>
182             <url>https://fenix-ashes.ist.utl.pt/nexus/content/repositories/jvstm-release</url>
183         </repository>
184         <snapshotRepository>
185             <id>jvstm-snapshot</id>
186             <url>https://fenix-ashes.ist.utl.pt/nexus/content/repositories/jvstm-snapshot</url>
187         </snapshotRepository>
188     </distributionManagement>
190 </project>