1 <?xml version="1.0" encoding="utf-8"?> 2 <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/xsd/maven-4.0.0.xsd"> 3 <!-- 4 Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. 5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 7 This code is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License version 2 only, as 9 published by the Free Software Foundation. Oracle designates this 10 particular file as subject to the "Classpath" exception as provided 11 by Oracle in the LICENSE file that accompanied this code. 12 13 This code is distributed in the hope that it will be useful, but WITHOUT 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 16 version 2 for more details (a copy is included in the LICENSE file that 17 accompanied this code). 18 19 You should have received a copy of the GNU General Public License version 20 2 along with this work; if not, write to the Free Software Foundation, 21 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 23 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 24 or visit www.oracle.com if you need additional information or have any 25 questions. 26 --> 27 <modelVersion>4.0.0</modelVersion> 28 <groupId>org.adoptopenjdk</groupId> 29 <artifactId>jemmy</artifactId> 30 <version>1.0.2</version> 31 <packaging>pom</packaging> 32 <name>${project.groupId}:${project.artifactId}</name> 33 <description>UI test automation library</description> 34 <url>http://openjdk.java.net/projects/code-tools</url> 35 <licenses> 36 <license> 37 <name>GNU General Public License</name> 38 <url>http://www.gnu.org/licenses/gpl2.html</url> 39 </license> 40 </licenses> 41 <developers> 42 <developer> 43 <organization>Oracle</organization> 44 <organizationUrl>http://www.oracle.com</organizationUrl> 45 </developer> 46 </developers> 47 <scm> 48 <connection>scm:hg:http://hg.openjdk.java.net/code-tools/jemmy/v3</connection> 49 <developerConnection>scm:hg:http://hg.openjdk.java.net/code-tools/jemmy/v3</developerConnection> 50 <url>http://hg.openjdk.java.net/code-tools/jemmy/v3</url> 51 </scm> 52 <modules> 53 <module>./core/JemmyCore</module> 54 <module>./core/JemmyAWTInput</module> 55 <module>./core/JemmyBrowser</module> 56 <module>./SWT/JemmySWT</module> 57 </modules> 58 <properties> 59 <maven.compiler.source>1.8</maven.compiler.source> 60 <maven.compiler.target>1.8</maven.compiler.target> 61 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 62 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 63 <changeSet>0</changeSet> 64 <timestamp>${maven.build.timestamp}</timestamp> 65 <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format> 66 </properties> 67 <profiles> 68 <profile> 69 <id>setbuildnumber</id> 70 <activation> 71 <property> 72 <name>!buildnumber</name> 73 </property> 74 </activation> 75 <properties> 76 <buildnumber>${timestamp}</buildnumber> 77 </properties> 78 </profile> 79 </profiles> 80 <dependencies> 81 <dependency> 82 <groupId>org.testng</groupId> 83 <artifactId>testng</artifactId> 84 <version>6.14.2</version> 85 <scope>test</scope> 86 </dependency> 87 </dependencies> 88 <distributionManagement> 89 <snapshotRepository> 90 <id>ossrh</id> 91 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 92 </snapshotRepository> 93 <repository> 94 <id>ossrh</id> 95 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 96 </repository> 97 </distributionManagement> 98 <build> 99 <sourceDirectory>./src</sourceDirectory> 100 <testSourceDirectory>./test</testSourceDirectory> 101 <resources> 102 <resource> 103 <directory>src</directory> 104 <filtering>true</filtering> 105 <includes> 106 <include>**/jemmy.properties</include> 107 </includes> 108 </resource> 109 <resource> 110 <directory>src</directory> 111 <filtering>false</filtering> 112 <excludes> 113 <exclude>**/jemmy.properties</exclude> 114 </excludes> 115 </resource> 116 </resources> 117 <plugins> 118 <plugin> 119 <groupId>org.apache.maven.plugins</groupId> 120 <artifactId>maven-surefire-plugin</artifactId> 121 <version>2.21.0</version> 122 <configuration> 123 <reuseForks>false</reuseForks> 124 </configuration> 125 </plugin> 126 <plugin> 127 <groupId>org.apache.maven.plugins</groupId> 128 <artifactId>maven-jar-plugin</artifactId> 129 <version>3.1.0</version> 130 <configuration> 131 <archive> 132 <manifestEntries> 133 <Automatic-Module-Name>${project.groupId}.${project.artifactId}</Automatic-Module-Name> 134 <Main-Class>${version.class}</Main-Class> 135 </manifestEntries> 136 </archive> 137 <excludes> 138 <exclude>**/*.java</exclude> 139 </excludes> 140 </configuration> 141 </plugin> 142 <plugin> 143 <groupId>org.apache.maven.plugins</groupId> 144 <artifactId>maven-source-plugin</artifactId> 145 <version>3.0.1</version> 146 <executions> 147 <execution> 148 <id>attach-sources</id> 149 <goals> 150 <goal>jar-no-fork</goal> 151 </goals> 152 </execution> 153 </executions> 154 </plugin> 155 <plugin> 156 <groupId>org.apache.maven.plugins</groupId> 157 <artifactId>maven-javadoc-plugin</artifactId> 158 <version>3.0.1</version> 159 <executions> 160 <execution> 161 <id>attach-javadocs</id> 162 <goals> 163 <goal>jar</goal> 164 </goals> 165 </execution> 166 </executions> 167 </plugin> 168 <plugin> 169 <groupId>org.apache.maven.plugins</groupId> 170 <artifactId>maven-gpg-plugin</artifactId> 171 <version>1.6</version> 172 <executions> 173 <execution> 174 <id>sign-artifacts</id> 175 <phase>verify</phase> 176 <goals> 177 <goal>sign</goal> 178 </goals> 179 </execution> 180 </executions> 181 </plugin> 182 </plugins> 183 </build> 184 </project>