mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
make snapshot deployment working
This commit is contained in:
parent
3d988388e7
commit
250e9a4f24
6 changed files with 112 additions and 124 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<groupId>jsprit</groupId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
|||
192
pom.xml
192
pom.xml
|
|
@ -20,7 +20,7 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU Lesser General Public Licence, version 3.0</name>
|
||||
<url>http://opensource.org/licenses/LGPL-3.0</url>
|
||||
<name>Apache License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Stefan Schroeder</name>
|
||||
<email>stefan.schroeder@graphhopper.com</email>
|
||||
<email>my.name@graphhopper.com</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
|
|
@ -61,18 +61,6 @@
|
|||
<url>https://github.com/jsprit/jsprit/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>jsprit-snapshots</id>
|
||||
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
||||
</snapshotRepository>
|
||||
|
||||
<repository>
|
||||
<id>jsprit-releases</id>
|
||||
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<modules>
|
||||
<module>jsprit-core</module>
|
||||
<module>jsprit-analysis</module>
|
||||
|
|
@ -110,67 +98,7 @@
|
|||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<!--<pluginManagement>-->
|
||||
<!--<plugins>-->
|
||||
<!--<plugin>-->
|
||||
<!--<groupId>org.eclipse.m2e</groupId>-->
|
||||
<!--<artifactId>lifecycle-mapping</artifactId>-->
|
||||
<!--<version>1.0.0</version>-->
|
||||
<!--<configuration>-->
|
||||
<!--<lifecycleMappingMetadata>-->
|
||||
<!--<pluginExecutions>-->
|
||||
<!--<pluginExecution>-->
|
||||
<!--<pluginExecutionFilter>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-enforcer-plugin</artifactId>-->
|
||||
<!--<versionRange>[1.0.0,)</versionRange>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>enforce</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</pluginExecutionFilter>-->
|
||||
<!--<action>-->
|
||||
<!--<ignore />-->
|
||||
<!--</action>-->
|
||||
<!--</pluginExecution>-->
|
||||
<!--</pluginExecutions>-->
|
||||
<!--</lifecycleMappingMetadata>-->
|
||||
<!--</configuration>-->
|
||||
<!--</plugin>-->
|
||||
<!--</plugins>-->
|
||||
<!--</pluginManagement>-->
|
||||
<plugins>
|
||||
|
||||
<!--<plugin>-->
|
||||
<!--<artifactId>maven-enforcer-plugin</artifactId>-->
|
||||
<!--<version>1.3.1</version>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<id>enforce-versions</id>-->
|
||||
<!--<phase>initialize</phase>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>enforce</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--<configuration>-->
|
||||
<!--<fail>true</fail>-->
|
||||
<!--<rules>-->
|
||||
<!--<requireMavenVersion>-->
|
||||
<!--Some plugin features require a recent Maven runtime to work properly-->
|
||||
<!--<message>Current version of Maven ${maven.version} required to build the project-->
|
||||
<!--should be ${project.prerequisites.maven}, or higher!-->
|
||||
<!--</message>-->
|
||||
<!--<version>[${project.prerequisites.maven},)</version>-->
|
||||
<!--</requireMavenVersion>-->
|
||||
<!--<requireJavaVersion>-->
|
||||
<!--<message>Current JDK version ${java.version} should be ${jdkVersion}, or higher!-->
|
||||
<!--</message>-->
|
||||
<!--<version>${jdkVersion}</version>-->
|
||||
<!--</requireJavaVersion>-->
|
||||
<!--</rules>-->
|
||||
<!--</configuration>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
|
@ -212,21 +140,6 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.10.3</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
|
|
@ -238,16 +151,6 @@
|
|||
<version>2.6</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<tagNameFormat>v@{project.version}</tagNameFormat>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
</plugins>
|
||||
|
||||
|
||||
|
|
@ -264,7 +167,6 @@
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
|
@ -282,5 +184,91 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<!--
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>jsprit-snapshots</id>
|
||||
<url>https://github.com/jsprit/mvn-rep/raw/master/snapshots</url>
|
||||
</snapshotRepository>
|
||||
|
||||
<repository>
|
||||
<id>jsprit-releases</id>
|
||||
<url>https://github.com/jsprit/mvn-rep/raw/master/releases</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
-->
|
||||
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<!-- mvn clean deploy -P release -->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.6.7</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>ossrh</serverId>
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.10.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue