1
0
Fork 0
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:
oblonski 2016-08-11 12:14:15 +02:00
commit bfdc75c79a
6 changed files with 116 additions and 68 deletions

View file

@ -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"> <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> <parent>
<groupId>jsprit</groupId> <groupId>com.graphhopper</groupId>
<artifactId>jsprit</artifactId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
</parent> </parent>

View file

@ -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"> <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> <parent>
<groupId>jsprit</groupId> <groupId>com.graphhopper</groupId>
<artifactId>jsprit</artifactId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
</parent> </parent>

View file

@ -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"> <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> <parent>
<groupId>jsprit</groupId> <groupId>com.graphhopper</groupId>
<artifactId>jsprit</artifactId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
</parent> </parent>

View file

@ -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"> <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> <parent>
<groupId>jsprit</groupId> <groupId>com.graphhopper</groupId>
<artifactId>jsprit</artifactId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
</parent> </parent>

View file

@ -21,8 +21,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>jsprit</artifactId> <groupId>com.graphhopper</groupId>
<groupId>jsprit</groupId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

172
pom.xml
View file

@ -1,26 +1,26 @@
<!-- <!--
~ Licensed to GraphHopper GmbH under one or more contributor ~ Licensed to GraphHopper GmbH under one or more contributor
~ license agreements. See the NOTICE file distributed with this work for ~ license agreements. See the NOTICE file distributed with this work for
~ additional information regarding copyright ownership. ~ additional information regarding copyright ownership.
~ ~
~ GraphHopper GmbH licenses this file to you under the Apache License, ~ GraphHopper GmbH licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except in ~ 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 ~ compliance with the License. You may obtain a copy of the License at
~ ~
~ http://www.apache.org/licenses/LICENSE-2.0 ~ http://www.apache.org/licenses/LICENSE-2.0
~ ~
~ Unless required by applicable law or agreed to in writing, software ~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS, ~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ 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"> <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> <modelVersion>4.0.0</modelVersion>
<groupId>jsprit</groupId> <groupId>com.graphhopper</groupId>
<artifactId>jsprit</artifactId> <artifactId>jsprit</artifactId>
<version>1.6.3-SNAPSHOT</version> <version>1.6.3-SNAPSHOT</version>
@ -33,15 +33,15 @@
<licenses> <licenses>
<license> <license>
<name>GNU Lesser General Public Licence, version 3.0</name> <name>Apache License, Version 2.0</name>
<url>http://opensource.org/licenses/LGPL-3.0</url> <url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license> </license>
</licenses> </licenses>
<developers> <developers>
<developer> <developer>
<name>Stefan Schroeder</name> <name>Stefan Schroeder</name>
<email>stefan.schroeder@graphhopper.com</email> <email>my.name@graphhopper.com</email>
</developer> </developer>
</developers> </developers>
@ -50,29 +50,17 @@
</prerequisites> </prerequisites>
<scm> <scm>
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection> <connection>scm:git:git@github.com:graphhopper/jsprit.git</connection>
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection> <developerConnection>scm:git:https://github.com/graphhopper/jsprit.git</developerConnection>
<url>http://github.com/jsprit/jsprit/tree/master</url> <url>http://github.com/graphhopper/jsprit/tree/master</url>
<tag>HEAD</tag> <tag>HEAD</tag>
</scm> </scm>
<issueManagement> <issueManagement>
<system>github</system> <system>github</system>
<url>https://github.com/jsprit/jsprit/issues</url> <url>https://github.com/graphhopper/jsprit/issues</url>
</issueManagement> </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> <modules>
<module>jsprit-core</module> <module>jsprit-core</module>
<module>jsprit-analysis</module> <module>jsprit-analysis</module>
@ -147,21 +135,6 @@
</executions> </executions>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
@ -173,16 +146,6 @@
<version>2.6</version> <version>2.6</version>
</plugin> </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> </plugins>
@ -199,7 +162,6 @@
</plugins> </plugins>
</reporting> </reporting>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -217,5 +179,91 @@
</dependencies> </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> </project>