Skip to content

Commit

Permalink
Updated the pom
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonstur committed Oct 25, 2019
1 parent ad12d9c commit e14ba27
Showing 1 changed file with 122 additions and 3 deletions.
125 changes: 122 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,134 @@
<artifactId>filldb</artifactId>
<version>0.1.0</version>


<name>${project.groupId}:${project.artifactId}</name>
<description>A tool for filling a mariadb database with test data</description>
<url>https://github.com/codemonstur/filldb</url>

<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:https://github.com/codemonstur/filldb.git</connection>
<developerConnection>scm:git:https://github.com/codemonstur/filldb.git</developerConnection>
<url>https://github.com/codemonstur/filldb</url>
<tag>HEAD</tag>
</scm>

<developers>
<developer>
<id>codemonstur</id>
<name>Jurgen Voorneveld</name>
<email>[email protected]</email>
</developer>
</developers>

<properties>
<project.minimizeJar>false</project.minimizeJar>
<project.mainClass>${project.artifactId}.Main</project.mainClass>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.mainClass>filldb.Main</project.mainClass>
<maven.compiler.source>12</maven.compiler.source>
<maven.compiler.target>12</maven.compiler.target>
<maven.compiler.release>12</maven.compiler.release>
</properties>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus release repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -26,6 +143,7 @@
<phase>package</phase>
<goals><goal>shade</goal></goals>
<configuration>
<finalName>${project.artifactId}</finalName>
<filters>
<filter>
<artifact>*:*</artifact>
Expand All @@ -45,14 +163,15 @@
</manifestEntries>
</transformer>
</transformers>
<minimizeJar>${project.minimizeJar}</minimizeJar>
<minimizeJar>false</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

<dependencies>

<dependency>
Expand Down

0 comments on commit e14ba27

Please sign in to comment.