Skip to content

Commit 01e27cb

Browse files
d.bogatkod.bogatko
authored andcommitted
updated pom file with necessary metadata to be able to deploy on sonatype
1 parent 9c2384c commit 01e27cb

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed

pom.xml

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<groupId>com.github.aquality-automation</groupId>
88
<artifactId>aquality-appium-mobile</artifactId>
99
<version>1.0.0</version>
10+
<packaging>jar</packaging>
11+
<name>Aquality Appium Mobile</name>
12+
<description>Library with core functions simplifying work with Appium-controlled applications.</description>
13+
<url>https://github.com/aquality-automation/aquality-appium-mobile-java</url>
1014

1115
<distributionManagement>
1216
<snapshotRepository>
@@ -19,6 +23,47 @@
1923
</repository>
2024
</distributionManagement>
2125

26+
<scm>
27+
<connection>scm:git:[email protected]:aquality-automation/aquality-appium-mobile-java.git</connection>
28+
<developerConnection>scm:git:[email protected]:aquality-automation/aquality-appium-mobile-java.git</developerConnection>
29+
<url>https://github.com/aquality-automation/aquality-appium-mobile-java</url>
30+
</scm>
31+
32+
<licenses>
33+
<license>
34+
<name>The Apache Software License, Version 2.0</name>
35+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
36+
<distribution>repo</distribution>
37+
</license>
38+
</licenses>
39+
40+
<developers>
41+
<developer>
42+
<id>DmitryBogatko</id>
43+
<name>Dmitry Bogatko</name>
44+
</developer>
45+
<developer>
46+
<id>pavelanihimovsky</id>
47+
<name>Pavel Anihimovsky</name>
48+
</developer>
49+
<developer>
50+
<id>Nikikuzi</id>
51+
<name>Nikita Kuznetsov</name>
52+
</developer>
53+
<developer>
54+
<id>mialeska</id>
55+
<name>Alaksiej Mialeška</name>
56+
</developer>
57+
<developer>
58+
<id>sunigos</id>
59+
<name>Igor Sontsa</name>
60+
</developer>
61+
<developer>
62+
<id>knysh</id>
63+
<name>Sergey Knysh</name>
64+
</developer>
65+
</developers>
66+
2267
<build>
2368
<plugins>
2469
<plugin>
@@ -29,8 +74,103 @@
2974
<target>8</target>
3075
</configuration>
3176
</plugin>
77+
<plugin>
78+
<groupId>org.jacoco</groupId>
79+
<artifactId>jacoco-maven-plugin</artifactId>
80+
<version>0.8.4</version>
81+
<executions>
82+
<execution>
83+
<id>pre-unit-test</id>
84+
<goals>
85+
<goal>prepare-agent</goal>
86+
</goals>
87+
<configuration>
88+
<destFile>${project.build.directory}/jacoco/jacoco-ut.exec</destFile>
89+
<propertyName>surefireArgLine</propertyName>
90+
</configuration>
91+
</execution>
92+
<execution>
93+
<id>post-unit-test</id>
94+
<phase>test</phase>
95+
<goals>
96+
<goal>report</goal>
97+
</goals>
98+
<configuration>
99+
<dataFile>${project.build.directory}/jacoco/jacoco-ut.exec</dataFile>
100+
<outputDirectory>${project.build.directory}/coverage-report</outputDirectory>
101+
</configuration>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-assembly-plugin</artifactId>
108+
<executions>
109+
<execution>
110+
<goals>
111+
<goal>attached</goal>
112+
</goals>
113+
<phase>package</phase>
114+
<configuration>
115+
<descriptorRefs>
116+
<descriptorRef>jar-with-dependencies</descriptorRef>
117+
</descriptorRefs>
118+
</configuration>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-source-plugin</artifactId>
125+
<executions>
126+
<execution>
127+
<id>attach-sources</id>
128+
<goals>
129+
<goal>jar</goal>
130+
</goals>
131+
</execution>
132+
</executions>
133+
</plugin>
134+
<plugin>
135+
<groupId>org.apache.maven.plugins</groupId>
136+
<artifactId>maven-javadoc-plugin</artifactId>
137+
<executions>
138+
<execution>
139+
<id>attach-javadocs</id>
140+
<goals>
141+
<goal>jar</goal>
142+
</goals>
143+
</execution>
144+
</executions>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-gpg-plugin</artifactId>
149+
<version>1.6</version>
150+
<executions>
151+
<execution>
152+
<id>sign-artifacts</id>
153+
<phase>verify</phase>
154+
<goals>
155+
<goal>sign</goal>
156+
</goals>
157+
</execution>
158+
</executions>
159+
</plugin>
160+
<plugin>
161+
<groupId>org.sonatype.plugins</groupId>
162+
<artifactId>nexus-staging-maven-plugin</artifactId>
163+
<version>1.6.8</version>
164+
<extensions>true</extensions>
165+
<configuration>
166+
<serverId>ossrh</serverId>
167+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
168+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
169+
</configuration>
170+
</plugin>
32171
</plugins>
33172
</build>
173+
34174
<dependencies>
35175
<dependency>
36176
<groupId>com.github.aquality-automation</groupId>

0 commit comments

Comments
 (0)