Skip to content

Commit 6ad31cb

Browse files
committed
[master] - released Automotion to the Central maven repo
1 parent 7a345fe commit 6ad31cb

File tree

4 files changed

+129
-51
lines changed

4 files changed

+129
-51
lines changed

LICENSE

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Apache License
1+
2+
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
45

@@ -88,7 +89,44 @@ Apache License
8889

8990
4. Redistribution. You may reproduce and distribute copies of the
9091
Work or Derivative Works thereof in any medium, with or without
91-
modifications, and in Source or Object form.
92+
modifications, and in Source or Object form, provided that You
93+
meet the following conditions:
94+
95+
(a) You must give any other recipients of the Work or
96+
Derivative Works a copy of this License; and
97+
98+
(b) You must cause any modified files to carry prominent notices
99+
stating that You changed the files; and
100+
101+
(c) You must retain, in the Source form of any Derivative Works
102+
that You distribute, all copyright, patent, trademark, and
103+
attribution notices from the Source form of the Work,
104+
excluding those notices that do not pertain to any part of
105+
the Derivative Works; and
106+
107+
(d) If the Work includes a "NOTICE" text file as part of its
108+
distribution, then any Derivative Works that You distribute must
109+
include a readable copy of the attribution notices contained
110+
within such NOTICE file, excluding those notices that do not
111+
pertain to any part of the Derivative Works, in at least one
112+
of the following places: within a NOTICE text file distributed
113+
as part of the Derivative Works; within the Source form or
114+
documentation, if provided along with the Derivative Works; or,
115+
within a display generated by the Derivative Works, if and
116+
wherever such third-party notices normally appear. The contents
117+
of the NOTICE file are for informational purposes only and
118+
do not modify the License. You may add Your own attribution
119+
notices within Derivative Works that You distribute, alongside
120+
or as an addendum to the NOTICE text from the Work, provided
121+
that such additional attribution notices cannot be construed
122+
as modifying the License.
123+
124+
You may add Your own copyright statement to Your modifications and
125+
may provide additional or different license terms and conditions
126+
for use, reproduction, or distribution of Your modifications, or
127+
for any such Derivative Works as a whole, provided Your use,
128+
reproduction, and distribution of the Work otherwise complies with
129+
the conditions stated in this License.
92130

93131
5. Submission of Contributions. Unless You explicitly state otherwise,
94132
any Contribution intentionally submitted for inclusion in the Work
@@ -161,4 +199,4 @@ Apache License
161199
distributed under the License is distributed on an "AS IS" BASIS,
162200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
163201
See the License for the specific language governing permissions and
164-
limitations under the License.
202+
limitations under the License.

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
mvn clean deploy -DperformRelease=true -DconnectionUrl=scm:git:https://github.com/dzaiats/java.automation.library.git

pom.xml

Lines changed: 83 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,64 +4,112 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

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+
1036
<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>
1340
</properties>
41+
1442
<build>
1543
<plugins>
1644
<plugin>
1745
<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>
2356
</plugin>
57+
2458
<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>
2763
<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> &lt;!&ndash;Staging&ndash;&gt;-->
67+
<stagingProfileId>7edbe315063867</stagingProfileId> <!--Central staging-->
68+
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
69+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
3070
</configuration>
3171
</plugin>
72+
3273
<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>
4889
<executions>
49-
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
5090
<execution>
91+
<id>attach-javadocs</id>
5192
<goals>
52-
<goal>site</goal>
93+
<goal>jar</goal>
5394
</goals>
54-
<phase>deploy</phase>
5595
</execution>
5696
</executions>
97+
<configuration>
98+
<additionalparam>-Xdoclint:none</additionalparam>
99+
</configuration>
57100
</plugin>
101+
58102
</plugins>
59103
</build>
104+
60105
<distributionManagement>
106+
<snapshotRepository>
107+
<id>ossrh</id>
108+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
109+
</snapshotRepository>
61110
<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>
65113
</repository>
66114
</distributionManagement>
67115

readme.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,12 @@ This is JAVA library for the running of mobile, web or API automated tests.
33

44
### Steps to connect ###
55
- Repo:
6-
* add repository:
7-
8-
<repository>
9-
<id>io.automotion</id>
10-
<url>https://raw.github.com/dzaiats/java.automation.library/mvn-repo/</url>
11-
<snapshots>
12-
<enabled>true</enabled>
13-
<updatePolicy>always</updatePolicy>
14-
</snapshots>
15-
</repository>
166
* add dependecy:
177

188
<dependency>
19-
<groupId>io.automotion</groupId>
20-
<artifactId>automation.framework</artifactId>
21-
<version>1.1.1</version>
9+
<groupId>net.itarray</groupId>
10+
<artifactId>automotion</artifactId>
11+
<version>1.2.0</version>
2212
</dependency>
2313

2414
### Steps of adding to the project ###

0 commit comments

Comments
 (0)