|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | | - <groupId>io.automotion</groupId> |
8 | | - <artifactId>automation.framework</artifactId> |
9 | | - <version>1.1.1</version> |
| 7 | + <groupId>net.itarray</groupId> |
| 8 | + <artifactId>automotion</artifactId> |
| 9 | + <version>1.2.0</version> |
| 10 | + <name>Automotion</name> |
| 11 | + <description>Library for automation testing</description> |
| 12 | + <url>https://www.itarray.net</url> |
| 13 | + |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>Apache-2.0</name> |
| 17 | + <url>https://github.com/dzaiats/java.automation.library/blob/master/LICENSE</url> |
| 18 | + </license> |
| 19 | + </licenses> |
| 20 | + |
| 21 | + <developers> |
| 22 | + <developer> |
| 23 | + <name>ITArray</name> |
| 24 | + <email>denys.zaiats@gmail.com</email> |
| 25 | + <organization>FACEY.TOP</organization> |
| 26 | + <organizationUrl>https://www.itarray.net</organizationUrl> |
| 27 | + </developer> |
| 28 | + </developers> |
| 29 | + |
| 30 | + <scm> |
| 31 | + <connection>scm:git:git@github.com:dzaiats/java.automation.library.git</connection> |
| 32 | + <developerConnection>scm:git:git@github.com:dzaiats/java.automation.library.git</developerConnection> |
| 33 | + <url>git@github.com:dzaiats/java.automation.library.git</url> |
| 34 | + </scm> |
| 35 | + |
10 | 36 | <properties> |
11 | | - <!-- github server corresponds to entry in ~/.m2/settings.xml --> |
12 | | - <github.global.server>github</github.global.server> |
| 37 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | + <maven.compiler.target>1.8</maven.compiler.target> |
13 | 40 | </properties> |
| 41 | + |
14 | 42 | <build> |
15 | 43 | <plugins> |
16 | 44 | <plugin> |
17 | 45 | <groupId>org.apache.maven.plugins</groupId> |
18 | | - <artifactId>maven-compiler-plugin</artifactId> |
19 | | - <configuration> |
20 | | - <source>1.7</source> |
21 | | - <target>1.7</target> |
22 | | - </configuration> |
| 46 | + <artifactId>maven-gpg-plugin</artifactId> |
| 47 | + <executions> |
| 48 | + <execution> |
| 49 | + <id>sign-artifacts</id> |
| 50 | + <phase>verify</phase> |
| 51 | + <goals> |
| 52 | + <goal>sign</goal> |
| 53 | + </goals> |
| 54 | + </execution> |
| 55 | + </executions> |
23 | 56 | </plugin> |
| 57 | + |
24 | 58 | <plugin> |
25 | | - <artifactId>maven-deploy-plugin</artifactId> |
26 | | - <version>2.8.1</version> |
| 59 | + <groupId>org.sonatype.plugins</groupId> |
| 60 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 61 | + <version>1.6.3</version> |
| 62 | + <extensions>true</extensions> |
27 | 63 | <configuration> |
28 | | - <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo |
29 | | - </altDeploymentRepository> |
| 64 | + <serverId>ossrh</serverId> |
| 65 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 66 | + <!--<stagingProfileId>22f8da536d8418</stagingProfileId> <!–Staging–>--> |
| 67 | + <stagingProfileId>7edbe315063867</stagingProfileId> <!--Central staging--> |
| 68 | + <skipStagingRepositoryClose>true</skipStagingRepositoryClose> |
| 69 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
30 | 70 | </configuration> |
31 | 71 | </plugin> |
| 72 | + |
32 | 73 | <plugin> |
33 | | - <groupId>com.github.github</groupId> |
34 | | - <artifactId>site-maven-plugin</artifactId> |
35 | | - <version>0.11</version> |
36 | | - <configuration> |
37 | | - <message>Maven artifacts for ${project.version}</message> <!-- git commit message --> |
38 | | - <noJekyll>true</noJekyll> <!-- disable webpage processing --> |
39 | | - <outputDirectory>${project.build.directory}/mvn-repo |
40 | | - </outputDirectory> <!-- matches distribution management repository url above --> |
41 | | - <branch>refs/heads/mvn-repo</branch> <!-- remote branch name --> |
42 | | - <includes> |
43 | | - <include>**/*</include> |
44 | | - </includes> |
45 | | - <repositoryName>java.automation.library</repositoryName> <!-- github repo name --> |
46 | | - <repositoryOwner>dzaiats</repositoryOwner> <!-- github username --> |
47 | | - </configuration> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-source-plugin</artifactId> |
| 76 | + <executions> |
| 77 | + <execution> |
| 78 | + <id>attach-sources</id> |
| 79 | + <goals> |
| 80 | + <goal>jar</goal> |
| 81 | + </goals> |
| 82 | + </execution> |
| 83 | + </executions> |
| 84 | + </plugin> |
| 85 | + |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-javadoc-plugin</artifactId> |
48 | 89 | <executions> |
49 | | - <!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --> |
50 | 90 | <execution> |
| 91 | + <id>attach-javadocs</id> |
51 | 92 | <goals> |
52 | | - <goal>site</goal> |
| 93 | + <goal>jar</goal> |
53 | 94 | </goals> |
54 | | - <phase>deploy</phase> |
55 | 95 | </execution> |
56 | 96 | </executions> |
| 97 | + <configuration> |
| 98 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 99 | + </configuration> |
57 | 100 | </plugin> |
| 101 | + |
58 | 102 | </plugins> |
59 | 103 | </build> |
| 104 | + |
60 | 105 | <distributionManagement> |
| 106 | + <snapshotRepository> |
| 107 | + <id>ossrh</id> |
| 108 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 109 | + </snapshotRepository> |
61 | 110 | <repository> |
62 | | - <id>internal.repo</id> |
63 | | - <name>Temporary Staging Repository</name> |
64 | | - <url>file://${project.build.directory}/mvn-repo</url> |
| 111 | + <id>ossrh</id> |
| 112 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
65 | 113 | </repository> |
66 | 114 | </distributionManagement> |
67 | 115 |
|
|
0 commit comments