annotate tests-chapter-1a/pom.xml @ 236:49d7d2c14b2f

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