summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--pom.xml58
2 files changed, 56 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 2f7896d..e69de29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +0,0 @@
-target/
diff --git a/pom.xml b/pom.xml
index bb04278..da0125c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,19 +4,33 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>bjc</groupId>
+ <groupId>io.github.bculkin2442</groupId>
<artifactId>everge</artifactId>
<version>1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
<name>everge</name>
+ <description>Simple regex-based text processin</description>
<url>http://www.github.com/bculkin2442/everge</url>
+ <scm>
+ <url>http://www.github.com/bculkin2442/everge</url>
+ </scm>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
+ <!-- github server corresponds to entry in ~/.m2/settings.xml -->
+ <github.global.server>github</github.global.server>
</properties>
-
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -56,6 +70,9 @@
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
+ <configuration>
+ <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
+ </configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
@@ -65,6 +82,35 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
+ <plugin>
+ <groupId>com.github.github</groupId>
+ <artifactId>site-maven-plugin</artifactId>
+ <version>0.11</version>
+ <configuration>
+ <message>Maven artifacts for ${project.version}</message>
+ <noJekyll>true</noJekyll>
+ <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
+ <branch>refs/heads/mvn-repo</branch>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <repositoryName>
+ everge
+ </repositoryName>
+ <repositoryOwner>
+ bculkin2442
+ </repositoryOwner>
+ </configuration>
+ <executions>
+ <!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
+ <execution>
+ <goals>
+ <goal>site</goal>
+ </goals>
+ <phase>deploy</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
@@ -79,4 +125,12 @@
</resource>
</resources>
</build>
+
+ <distributionManagement>
+ <repository>
+ <id>internal.repo</id>
+ <name>Temporary Staging Repository</name>
+ <url>file://${project.build.directory}/mvn-repo</url>
+ </repository>
+ </distributionManagement>
</project>