Add deploying configuration

This commit is contained in:
Mark Vainomaa 2016-08-31 14:47:07 +03:00
parent 151cfcb3db
commit 65656c1ac9

38
pom.xml
View File

@ -38,6 +38,28 @@
</profile> </profile>
</profiles> </profiles>
<!-- Deployement -->
<distributionManagement>
<snapshotRepository>
<id>mikroskeem-repo</id>
<url>https://repo.wut.ee/repository/mikroskeem-repo/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>mikroskeem-repo</id>
<name>mikroskeem Maven Repository</name>
<url>http://repo.wut.ee/repository/mikroskeem-repo/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<build> <build>
<defaultGoal>clean compile test package</defaultGoal> <defaultGoal>clean compile test package</defaultGoal>
<plugins> <plugins>
@ -57,7 +79,6 @@
<configuration> <configuration>
<outputDirectory>${project.build.directory}/javadoc</outputDirectory> <outputDirectory>${project.build.directory}/javadoc</outputDirectory>
<reportOutputDirectory>${project.reporting.outputDirectory}/javadoc</reportOutputDirectory> <reportOutputDirectory>${project.reporting.outputDirectory}/javadoc</reportOutputDirectory>
<version>2.8</version>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
@ -68,6 +89,19 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>