1 <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/maven-v4_0_0.xsd">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>jvstm</groupId>
4 <artifactId>jvstm</artifactId>
5 <packaging>jar</packaging>
6 <version>2.1-SNAPSHOT</version>
7 <name>JVSTM (lock-free)</name>
8 <url>http://inesc-id-esw.github.com/JVSTM</url>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14 <project.deploy.maven-repo>file:///${basedir}/../JVSTM-pages/maven-repo</project.deploy.maven-repo>
16 <version.guice>2.0</version.guice>
17 <version.junit>4.10</version.junit>
18 <version.jwormbench>1.0</version.jwormbench>
19 <version.maven.exec-plugin>1.2.1</version.maven.exec-plugin>
23 <connection>scm:git:git@github.com:inesc-id-esw/JVSTM.git</connection>
24 <developerConnection>scm:git:git@github.com:inesc-id-esw/JVSTM.git</developerConnection>
25 <url>http://inesc-id-esw.github.com/JVSTM</url>
33 <groupId>org.apache.maven.plugins</groupId>
34 <artifactId>maven-surefire-plugin</artifactId>
35 <version>2.13</version>
37 <argLine>-Xms1G -Xmx1G</argLine>
38 <systemPropertyVariables>
39 <jvstm.aom.reversion>true</jvstm.aom.reversion>
40 </systemPropertyVariables>
42 <!-- Add the defaults -->
43 <include>**/Test*.java</include>
44 <include>**/*Test.java</include>
45 <include>**/*TestCase.java</include>
47 <!-- Add the nonstandard names -->
48 <include>jvstm/test/point/utests/PointTestForAomDouble.java</include>
49 <include>jvstm/test/point/utests/PointTestForAomInt.java</include>
50 <include>jvstm/test/point/utests/PointTestForAomInteger.java</include>
51 <include>jvstm/test/point/utests/PointTestForAomShort.java</include>
52 <include>jvstm/test/point/utests/gc/AomGcTestForDoublePoint.java</include>
53 <include>jvstm/test/point/utests/gc/AomGcTestForIntegerPoint.java</include>
54 <include>jvstm/test/point/utests/gc/AomGcTestForIntPoint.java</include>
55 <include>jvstm/test/point/utests/gc/AomGcTestForShortPoint.java</include>
58 <exclude>jvstm/test/jwormbench/utest/*.java</exclude>
67 <artifactId>maven-release-plugin</artifactId>
68 <version>2.4.1</version>
70 <pushChanges>false</pushChanges>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-compiler-plugin</artifactId>
77 <version>2.0.2</version>
84 <!-- Generate the AtomicInstance and ProcessAtomicAnnotations immediatly after compiling -->
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>exec-maven-plugin</artifactId>
88 <version>${version.maven.exec-plugin}</version>
89 <!-- Generate AtomicInstance -->
92 <id>generate-atomic-instance</id>
93 <phase>process-classes</phase>
98 <mainClass>pt.ist.esw.advice.GenerateAnnotationInstance</mainClass>
100 <argument>jvstm.Atomic</argument>
101 <argument>${project.build.outputDirectory}</argument>
105 <!-- Process Atomic Annotations in the main code -->
107 <id>process-annotations</id>
108 <phase>process-classes</phase>
113 <mainClass>pt.ist.esw.advice.ProcessAnnotations</mainClass>
115 <argument>-a</argument>
116 <argument>jvstm.Atomic</argument>
117 <argument>${project.build.outputDirectory}</argument>
121 <!-- Process Atomic Annotations in the test code -->
123 <id>process-test-annotations</id>
124 <phase>process-test-classes</phase>
129 <mainClass>pt.ist.esw.advice.ProcessAnnotations</mainClass>
131 <argument>-a</argument>
132 <argument>jvstm.Atomic</argument>
133 <argument>${project.build.testOutputDirectory}</argument>
145 <id>advice-repository</id>
146 <url>http://inesc-id-esw.github.com/advice/maven-repo/</url>
150 <url>file://${basedir}/local-maven-repo</url>
156 <groupId>org.slf4j</groupId>
157 <artifactId>slf4j-api</artifactId>
158 <version>1.7.5</version>
161 <groupId>org.slf4j</groupId>
162 <artifactId>slf4j-log4j12</artifactId>
163 <version>1.7.5</version>
166 <groupId>pt.ist.esw</groupId>
167 <artifactId>advice</artifactId>
168 <version>1.5</version>
171 <groupId>junit</groupId>
172 <artifactId>junit</artifactId>
173 <version>${version.junit}</version>
177 <groupId>jwormbench</groupId>
178 <artifactId>jwormbench</artifactId>
179 <version>${version.jwormbench}</version>
183 <groupId>com.google.inject</groupId>
184 <artifactId>guice</artifactId>
185 <version>${version.guice}</version>
191 note: making a release of this software on GitHub's gh-pages branch
192 requires an existing clone of such branch in another directory in your
193 computer, and then to configure the property
194 ${project.deploy.maven-repo} to point to the maven repository within
204 Then just run `mvn clean deploy` in the checkout you wish to deploy :-)
207 <distributionManagement>
210 <url>${project.deploy.maven-repo}</url>
214 <url>${project.deploy.maven-repo}</url>
215 </snapshotRepository>
216 </distributionManagement>