diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-06-11 21:58:45 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-06-11 21:58:45 -0400 |
| commit | 94e6474619dbd6b2d3215b59cb8ab86825532fb3 (patch) | |
| tree | 71dc122eaaf43384a8fdbd902e2e0a5b2d3a2e2c | |
| parent | efbcfd63cfbac6f715cef245f9d68d6fd12fde2d (diff) | |
Update POM to be better
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | pom.xml | 58 |
2 files changed, 56 insertions, 3 deletions
@@ -1 +0,0 @@ -target/ @@ -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> |
