switched to HTTPS
[svjatoslav_commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index c4b7221..ef82e33 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,59 +1,32 @@
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         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>
     <groupId>eu.svjatoslav</groupId>
     <artifactId>svjatoslavcommons</artifactId>
-    <version>1.5-SNAPSHOT</version>
+    <version>1.10-SNAPSHOT</version>
     <packaging>jar</packaging>
     <name>Svjatoslav Commons</name>
     <description>Collection many small but commonly useful functionalities</description>
-    <url>http://www2.svjatoslav.eu/gitbrowse/svjatoslav_commons/doc/index.html</url>
+    <url>https://www3.svjatoslav.eu/projects/svjatoslav_commons/</url>
 
-    <licenses>
-        <license>
-            <name>version 3 of the GNU Lesser General Public License or later</name>
-            <url>https://www.gnu.org/licenses/lgpl.html</url>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
+    <organization>
+        <name>svjatoslav.eu</name>
+        <url>http://svjatoslav.eu</url>
+    </organization>
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
 
-    <reporting>
-        <plugins>
-            <plugin>
-                <!-- Compile JUnit test coverage report -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <version>2.6</version>
-                <configuration>
-                    <formats>
-                        <format>html</format>
-                        <format>xml</format>
-                    </formats>
-                </configuration>
-            </plugin>
-            <plugin>
-                <!-- Attempt to discover bugs by doing static code analysis -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>2.5.3</version>
-            </plugin>
-        </plugins>
-    </reporting>
-
     <build>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
+                <version>3.8.1</version>
                 <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
+                    <source>8</source>
+                    <target>8</target>
                     <encoding>UTF-8</encoding>
                 </configuration>
             </plugin>
@@ -75,7 +48,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.9</version>
+                <version>2.10.4</version>
                 <executions>
                     <execution>
                         <id>attach-javadocs</id>
                         </goals>
                     </execution>
                 </executions>
+                <configuration>
+                    <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8212233 -->
+                    <javaApiLinks>
+                        <property>
+                            <name>foo</name>
+                            <value>bar</value>
+                        </property>
+                    </javaApiLinks>
+                    <!-- Workaround for https://stackoverflow.com/questions/49472783/maven-is-unable-to-find-javadoc-command -->
+                    <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <version>2.5.2</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.maven.scm</groupId>
+                        <artifactId>maven-scm-provider-gitexe</artifactId>
+                        <version>1.9.4</version>
+                    </dependency>
+                </dependencies>
             </plugin>
 
 
         <snapshotRepository>
             <id>svjatoslav.eu</id>
             <name>svjatoslav.eu</name>
-            <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
+            <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
         </snapshotRepository>
         <repository>
             <id>svjatoslav.eu</id>
             <name>svjatoslav.eu</name>
-            <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
+            <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
         </repository>
     </distributionManagement>
 
     <scm>
-        <connection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/svjatoslav_commons.git</connection>
-        <developerConnection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/svjatoslav_commons.git
-        </developerConnection>
+        <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/svjatoslav_commons.git</connection>
+        <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/svjatoslav_commons.git</developerConnection>
+        <tag>HEAD</tag>
     </scm>
 
 </project>