annotate tests-chapter-1b/pom.xml @ 421:3c94746a6abf

JCStress 0.5
author shade
date Tue, 27 Nov 2018 15:22:02 +0100
parents 6a9ce3b8ccc4
children ce04374d7cb9
rev   line source
shade@289 1 <!--
shade@289 2 Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
shade@289 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
shade@289 4
shade@289 5 This code is free software; you can redistribute it and/or modify it
shade@289 6 under the terms of the GNU General Public License version 2 only, as
shade@289 7 published by the Free Software Foundation. Oracle designates this
shade@289 8 particular file as subject to the "Classpath" exception as provided
shade@289 9 by Oracle in the LICENSE file that accompanied this code.
shade@289 10
shade@289 11 This code is distributed in the hope that it will be useful, but WITHOUT
shade@289 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
shade@289 13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
shade@289 14 version 2 for more details (a copy is included in the LICENSE file that
shade@289 15 accompanied this code).
shade@289 16
shade@289 17 You should have received a copy of the GNU General Public License version
shade@289 18 2 along with this work; if not, write to the Free Software Foundation,
shade@289 19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
shade@289 20
shade@289 21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
shade@289 22 or visit www.oracle.com if you need additional information or have any
shade@289 23 questions.
shade@289 24 -->
shade@289 25
shade@289 26 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
shade@289 27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
shade@289 28 <modelVersion>4.0.0</modelVersion>
shade@289 29
shade@289 30 <parent>
shade@289 31 <groupId>org.openjdk.jcstress</groupId>
shade@289 32 <artifactId>jcstress-parent</artifactId>
shade@421 33 <version>0.5</version>
shade@289 34 </parent>
shade@289 35 <artifactId>jcstress-tests-chapter-1b</artifactId>
shade@289 36 <packaging>jar</packaging>
shade@289 37
shade@372 38 <name>Chapter 1.b: VarHandles: Operation Atomicity</name>
shade@289 39 <url>http://maven.apache.org</url>
shade@289 40
shade@289 41 <scm>
shade@289 42 <connection>scm:hg:http://hg.openjdk.java.net/code-tools/jcstress/</connection>
shade@289 43 </scm>
shade@289 44
shade@289 45 <properties>
shade@289 46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@289 47 </properties>
shade@289 48
shade@289 49 <build>
shade@289 50 <plugins>
shade@289 51 <plugin>
shade@289 52 <groupId>org.apache.maven.plugins</groupId>
shade@289 53 <artifactId>maven-compiler-plugin</artifactId>
shade@289 54 <configuration>
shade@289 55 <source>1.9</source>
shade@289 56 <target>1.9</target>
shade@289 57 <debug>false</debug>
shade@289 58 <fork>true</fork>
shade@289 59 </configuration>
shade@289 60 </plugin>
shade@289 61 <plugin>
shade@289 62 <groupId>org.codehaus.mojo</groupId>
shade@289 63 <artifactId>exec-maven-plugin</artifactId>
shade@289 64 <executions>
shade@289 65 <execution>
shade@289 66 <id>gen</id>
shade@289 67 <goals>
shade@289 68 <goal>exec</goal>
shade@289 69 </goals>
shade@289 70 <phase>
shade@289 71 generate-sources
shade@289 72 </phase>
shade@289 73 <configuration>
shade@289 74 <executable>${java.home}/bin/java</executable>
shade@289 75 <arguments>
shade@289 76 <argument>-jar</argument>
shade@295 77 <argument>../jcstress-test-gen/target/operationAtomic-generator.jar</argument>
shade@289 78 <argument>${project.build.directory}/generated-sources/tests/</argument>
shade@289 79 </arguments>
shade@289 80 </configuration>
shade@289 81 </execution>
shade@289 82 </executions>
shade@289 83 </plugin>
shade@289 84 <plugin>
shade@289 85 <groupId>org.codehaus.mojo</groupId>
shade@289 86 <artifactId>build-helper-maven-plugin</artifactId>
shade@289 87 <executions>
shade@289 88 <execution>
shade@289 89 <id>add-source</id>
shade@289 90 <phase>generate-sources</phase>
shade@289 91 <goals>
shade@289 92 <goal>add-source</goal>
shade@289 93 </goals>
shade@289 94 <configuration>
shade@289 95 <sources>
shade@289 96 <source>${project.build.directory}/generated-sources/tests/</source>
shade@289 97 </sources>
shade@289 98 </configuration>
shade@289 99 </execution>
shade@289 100 </executions>
shade@289 101 </plugin>
shade@289 102 <plugin>
shade@289 103 <groupId>org.apache.maven.plugins</groupId>
shade@289 104 <artifactId>maven-shade-plugin</artifactId>
shade@289 105 </plugin>
shade@289 106 <plugin>
shade@289 107 <groupId>com.mycila.maven-license-plugin</groupId>
shade@289 108 <artifactId>maven-license-plugin</artifactId>
shade@289 109 </plugin>
shade@289 110 <plugin>
shade@289 111 <groupId>org.codehaus.mojo</groupId>
shade@289 112 <artifactId>buildnumber-maven-plugin</artifactId>
shade@289 113 </plugin>
shade@289 114 <plugin>
shade@289 115 <groupId>org.apache.maven.plugins</groupId>
shade@289 116 <artifactId>maven-jar-plugin</artifactId>
shade@289 117 </plugin>
shade@289 118 <plugin>
shade@289 119 <groupId>org.apache.maven.plugins</groupId>
shade@289 120 <artifactId>maven-enforcer-plugin</artifactId>
shade@289 121 </plugin>
shade@289 122 </plugins>
shade@289 123 </build>
shade@289 124
shade@289 125 <dependencies>
shade@289 126 <dependency>
shade@289 127 <groupId>org.openjdk.jcstress</groupId>
shade@289 128 <artifactId>jcstress-core</artifactId>
shade@289 129 <version>${project.version}</version>
shade@289 130 </dependency>
shade@289 131 <dependency>
shade@289 132 <groupId>org.openjdk.jcstress</groupId>
shade@289 133 <artifactId>jcstress-test-gen</artifactId>
shade@289 134 <version>${project.version}</version>
shade@289 135 <scope>provided</scope>
shade@289 136 </dependency>
shade@289 137 </dependencies>
shade@289 138 </project>