]> git.bitcoin.ninja Git - ldk-java/commitdiff
Skip javadoc generation on OSX since its broken v0.0.100.2
authorMatt Corallo <git@bluematt.me>
Wed, 25 Aug 2021 06:05:00 +0000 (06:05 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 25 Aug 2021 19:42:29 +0000 (19:42 +0000)
build-release-jar.sh
pom.xml

index de3bf6294c44b3a1e8758e707c4d39f8103771e8..4b7367305c116aad7385da75bab1e7130b3e09a7 100755 (executable)
@@ -12,7 +12,7 @@ ls src/main/resources/liblightningjni_MacOSX-aarch64.nativelib
 export LANG=C
 
 mvn clean
-faketime 2021-01-01 mvn -DskipTests=true package
+faketime 2021-01-01 mvn -DskipTests=true -Dorg.lightningdevkit.skipdocs=false package
 
 mkdir ziptmp
 cd ziptmp
diff --git a/pom.xml b/pom.xml
index 3972186a6a04753f6a7f61bc9b2b9944c93c6563..c81572ea07dc881fff760a9d854b5ba80dac9cb3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -65,6 +65,7 @@
     <properties>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
+        <org.lightningdevkit.skipdocs>true</org.lightningdevkit.skipdocs>
     </properties>
 
     <build>
@@ -84,6 +85,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <skip>${org.lightningdevkit.skipdocs}</skip>
+                </configuration>
                 <executions>
                     <execution>
                         <id>attach-javadocs</id>