Skip to content

Commit 44ab229

Browse files
#1: prepared project for maven central deployment
1 parent 1244e7f commit 44ab229

File tree

2 files changed

+145
-15
lines changed

2 files changed

+145
-15
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
/target/
2+
3+
# Eclipse and Maven
4+
.classpath
5+
.project
6+
bin
7+
target
8+
.cache
9+
10+
# Intellij
11+
.idea
12+
# Intellij recommends to share iml files, however, better don't share files which might be outdated
13+
*.iml

pom.xml

Lines changed: 133 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,159 @@
77
<version>${product.version}</version>
88
<name>Test utilities for `java.util.logging`</name>
99
<description>This project provides utilities that help testing software that uses `java.util.logging` as its logging framework.</description>
10+
<url>https://github.com/exasol/java-util-logging-testing</url>
1011
<properties>
1112
<product.version>2.2.0</product.version>
1213
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1314
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1415
<java.version>9</java.version>
1516
<junit.version>5.4.2</junit.version>
1617
<junit.platform.version>1.4.2</junit.platform.version>
17-
<maven.surefire.version>2.22.1</maven.surefire.version>
18-
<vscommon.version>7.3.0</vscommon.version>
19-
<vsjdbc.version>1.0.0</vsjdbc.version>
18+
<maven.surefire.version>3.0.0-M3</maven.surefire.version>
19+
<gpg.skip>true</gpg.skip>
2020
</properties>
21+
<licenses>
22+
<license>
23+
<name>MIT</name>
24+
<url>https://opensource.org/licenses/MIT</url>
25+
<distribution>repo</distribution>
26+
</license>
27+
</licenses>
28+
<developers>
29+
<developer>
30+
<name>Exasol</name>
31+
<email>opensource@exasol.com</email>
32+
<organization>Exasol AG</organization>
33+
<organizationUrl>https://www.exasol.com/</organizationUrl>
34+
</developer>
35+
</developers>
36+
<scm>
37+
<connection>scm:git:https://github.com/exasol/java-util-logging-testing.git</connection>
38+
<developerConnection>scm:git:https://github.com/exasol/java-util-logging-testing.git</developerConnection>
39+
<url>https://github.com/exasol/java-util-logging-testing/tree/master</url>
40+
</scm>
41+
<distributionManagement>
42+
<snapshotRepository>
43+
<id>ossrh</id>
44+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
45+
</snapshotRepository>
46+
<repository>
47+
<id>ossrh</id>
48+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
49+
</repository>
50+
</distributionManagement>
51+
<repositories>
52+
<repository>
53+
<id>maven.exasol.com</id>
54+
<url>https://maven.exasol.com/artifactory/exasol-releases</url>
55+
<snapshots>
56+
<enabled>false</enabled>
57+
</snapshots>
58+
</repository>
59+
<repository>
60+
<id>maven.exasol.com-snapshots</id>
61+
<url>https://maven.exasol.com/artifactory/exasol-snapshots</url>
62+
<snapshots>
63+
<enabled>true</enabled>
64+
</snapshots>
65+
</repository>
66+
</repositories>
2167
<dependencies>
2268
<dependency>
2369
<groupId>org.junit.jupiter</groupId>
2470
<artifactId>junit-jupiter-engine</artifactId>
2571
<version>${junit.version}</version>
2672
<scope>test</scope>
2773
</dependency>
28-
<dependency>
29-
<groupId>org.junit.platform</groupId>
30-
<artifactId>junit-platform-runner</artifactId>
31-
<version>${junit.platform.version}</version>
32-
<scope>test</scope>
33-
</dependency>
34-
<dependency>
35-
<groupId>org.junit.jupiter</groupId>
36-
<artifactId>junit-jupiter-params</artifactId>
37-
<version>${junit.version}</version>
38-
<scope>test</scope>
39-
</dependency>
4074
<dependency>
4175
<groupId>org.hamcrest</groupId>
4276
<artifactId>hamcrest</artifactId>
4377
<version>2.1</version>
4478
<scope>test</scope>
4579
</dependency>
4680
</dependencies>
81+
<build>
82+
<plugins>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-compiler-plugin</artifactId>
86+
<version>3.2</version>
87+
<configuration>
88+
<source>${java.version}</source>
89+
<target>${java.version}</target>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.jacoco</groupId>
94+
<artifactId>jacoco-maven-plugin</artifactId>
95+
<version>0.8.3</version>
96+
<executions>
97+
<execution>
98+
<goals>
99+
<goal>prepare-agent</goal>
100+
</goals>
101+
</execution>
102+
<execution>
103+
<id>report</id>
104+
<phase>test</phase>
105+
<goals>
106+
<goal>report</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-surefire-plugin</artifactId>
114+
<version>${maven.surefire.version}</version>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-source-plugin</artifactId>
119+
<version>3.0.1</version>
120+
<executions>
121+
<execution>
122+
<id>attach-sources</id>
123+
<goals>
124+
<goal>jar</goal>
125+
</goals>
126+
</execution>
127+
</executions>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-javadoc-plugin</artifactId>
132+
<version>3.0.1</version>
133+
<executions>
134+
<execution>
135+
<id>attach-javadocs</id>
136+
<goals>
137+
<goal>jar</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
<configuration>
142+
<charset>UTF-8</charset>
143+
<doclint />
144+
<serialwarn>true</serialwarn>
145+
<failOnError>true</failOnError>
146+
<failOnWarnings>true</failOnWarnings>
147+
</configuration>
148+
</plugin>
149+
<plugin>
150+
<groupId>org.apache.maven.plugins</groupId>
151+
<artifactId>maven-gpg-plugin</artifactId>
152+
<version>1.6</version>
153+
<executions>
154+
<execution>
155+
<id>sign-artifacts</id>
156+
<phase>verify</phase>
157+
<goals>
158+
<goal>sign</goal>
159+
</goals>
160+
</execution>
161+
</executions>
162+
</plugin>
163+
</plugins>
164+
</build>
47165
</project>

0 commit comments

Comments
 (0)