Skip to content

Commit d35d843

Browse files
committed
Add pom/settings
1 parent f87595d commit d35d843

File tree

2 files changed

+160
-0
lines changed

2 files changed

+160
-0
lines changed

cd/mvnsettings.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<settings>
2+
<servers>
3+
<server>
4+
<id>ossrh</id>
5+
<username>${env.OSSRH_JIRA_USERNAME}</username>
6+
<password>${env.OSSRH_JIRA_PASSWORD}</password>
7+
</server>
8+
</servers>
9+
10+
<profiles>
11+
<profile>
12+
<id>ossrh</id>
13+
<activation>
14+
<activeByDefault>true</activeByDefault>
15+
</activation>
16+
<properties>
17+
<gpg.executable>gpg</gpg.executable>
18+
<gpg.keyname>${env.GPG_KEY_NAME}</gpg.keyname>
19+
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
20+
</properties>
21+
22+
</profile>
23+
</profiles>
24+
</settings>

pom.xml

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<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">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.assertthat</groupId>
6+
<artifactId>selenium-shutterbug</artifactId>
7+
<version>0.9.1-SNAPSHOT</version>
8+
<name>selenium-shutterbug</name>
9+
<description>Utility library to create customized screenshots using Selenium WebDriver and Java AWT</description>
10+
<url>http://www.assertthat.com</url>
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<maven.compiler.source>1.8</maven.compiler.source>
14+
<maven.compiler.target>1.8</maven.compiler.target>
15+
</properties>
16+
<licenses>
17+
<license>
18+
<name>MIT License</name>
19+
<url>http://www.opensource.org/licenses/mit-license.php</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
<scm>
24+
<url>https://github.com/assertthat/selenium-shutterbug</url>
25+
<connection>scm:git:git://github.com/assertthat/selenium-shutterbug.git</connection>
26+
<developerConnection>scm:git:git@github.com:assertthat/selenium-shutterbug.git</developerConnection>
27+
<tag>v0.9.1</tag>
28+
</scm>
29+
<developers>
30+
<developer>
31+
<id>glib-briia</id>
32+
<name>Glib Briia</name>
33+
<email>glib.briia@assertthat.com</email>
34+
</developer>
35+
</developers>
36+
<dependencies>
37+
<dependency>
38+
<groupId>junit</groupId>
39+
<artifactId>junit</artifactId>
40+
<version>4.11</version>
41+
<scope>test</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.seleniumhq.selenium</groupId>
45+
<artifactId>selenium-java</artifactId>
46+
<version>3.9.1</version>
47+
<scope>compile</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>commons-io</groupId>
51+
<artifactId>commons-io</artifactId>
52+
<version>2.6</version>
53+
</dependency>
54+
</dependencies>
55+
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.sonatype.plugins</groupId>
60+
<artifactId>nexus-staging-maven-plugin</artifactId>
61+
<version>1.6.6</version>
62+
<extensions>true</extensions>
63+
<configuration>
64+
<serverId>ossrh</serverId>
65+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
66+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
67+
</configuration>
68+
</plugin>
69+
</plugins>
70+
</build>
71+
<distributionManagement>
72+
<snapshotRepository>
73+
<id>ossrh</id>
74+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
75+
</snapshotRepository>
76+
</distributionManagement>
77+
<profiles>
78+
<profile>
79+
<id>sign</id>
80+
<build>
81+
<plugins>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-gpg-plugin</artifactId>
85+
<version>1.6</version>
86+
<executions>
87+
<execution>
88+
<id>sign-artifacts</id>
89+
<phase>verify</phase>
90+
<goals>
91+
<goal>sign</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
</plugins>
97+
</build>
98+
</profile>
99+
<profile>
100+
<id>build-extras</id>
101+
<activation>
102+
<activeByDefault>true</activeByDefault>
103+
</activation>
104+
<build>
105+
<plugins>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-source-plugin</artifactId>
109+
<version>2.4</version>
110+
<executions>
111+
<execution>
112+
<id>attach-sources</id>
113+
<goals>
114+
<goal>jar-no-fork</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-javadoc-plugin</artifactId>
122+
<version>2.10.3</version>
123+
<executions>
124+
<execution>
125+
<id>attach-javadocs</id>
126+
<goals>
127+
<goal>jar</goal>
128+
</goals>
129+
</execution>
130+
</executions>
131+
</plugin>
132+
</plugins>
133+
</build>
134+
</profile>
135+
</profiles>
136+
</project>

0 commit comments

Comments
 (0)