mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
prepare pom for maven central
This commit is contained in:
commit
bfdc75c79a
6 changed files with 116 additions and 68 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>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<groupId>jsprit</groupId>
|
||||
<groupId>com.graphhopper</groupId>
|
||||
<artifactId>jsprit</artifactId>
|
||||
<version>1.6.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
|||
172
pom.xml
172
pom.xml
|
|
@ -1,26 +1,26 @@
|
|||
|
||||
<!--
|
||||
~ Licensed to GraphHopper GmbH under one or more contributor
|
||||
~ license agreements. See the NOTICE file distributed with this work for
|
||||
~ additional information regarding copyright ownership.
|
||||
~
|
||||
~ GraphHopper GmbH licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except in
|
||||
~ compliance with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
~ Licensed to GraphHopper GmbH under one or more contributor
|
||||
~ license agreements. See the NOTICE file distributed with this work for
|
||||
~ additional information regarding copyright ownership.
|
||||
~
|
||||
~ GraphHopper GmbH licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except in
|
||||
~ compliance with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<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>
|
||||
|
||||
|
|
@ -50,29 +50,17 @@
|
|||
</prerequisites>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
||||
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
||||
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
||||
<connection>scm:git:git@github.com:graphhopper/jsprit.git</connection>
|
||||
<developerConnection>scm:git:https://github.com/graphhopper/jsprit.git</developerConnection>
|
||||
<url>http://github.com/graphhopper/jsprit/tree/master</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<issueManagement>
|
||||
<system>github</system>
|
||||
<url>https://github.com/jsprit/jsprit/issues</url>
|
||||
<url>https://github.com/graphhopper/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>
|
||||
|
|
@ -147,21 +135,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>
|
||||
|
|
@ -173,16 +146,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>
|
||||
|
||||
|
||||
|
|
@ -199,7 +162,6 @@
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
|
@ -217,5 +179,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