Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 29 Jan 2020 21:21:50 +0000 (23:21 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 29 Jan 2020 21:21:50 +0000 (23:21 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 11eb907..ec37f0d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,16 +7,18 @@
     <name>JavaInspect</name>
     <description>Utility to visualize Java code</description>
 
-    <organization>
-        <name>svjatoslav.eu</name>
-        <url>http://svjatoslav.eu</url>
-    </organization>
-
     <properties>
+        <java.version>1.8</java.version>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
 
+    <organization>
+        <name>svjatoslav.eu</name>
+        <url>http://svjatoslav.eu</url>
+    </organization>
 
     <build>
         <finalName>javainspect</finalName>
             <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>
+                    <optimize>true</optimize>
                     <encoding>UTF-8</encoding>
                 </configuration>
             </plugin>
@@ -49,7 +52,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>
+                </configuration>
             </plugin>
 
             <plugin>
         <snapshotRepository>
             <id>svjatoslav.eu</id>
             <name>svjatoslav.eu</name>
-            <url>scpexe://163.172.91.72:10006/srv/maven</url>
+            <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
         </snapshotRepository>
         <repository>
             <id>svjatoslav.eu</id>
             <name>svjatoslav.eu</name>
-            <url>scpexe://163.172.91.72:10006/srv/maven</url>
+            <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
         </repository>
     </distributionManagement>
 
         <repository>
             <id>svjatoslav.eu</id>
             <name>Svjatoslav repository</name>
-            <url>http://www2.svjatoslav.eu/maven/</url>
+            <url>https://www2.svjatoslav.eu/maven/</url>
         </repository>
     </repositories>