[Git][java-team/libjsonp-java][master] Drop doc package since it build fails and it is not really needed

Andreas Tille gitlab at salsa.debian.org
Thu Jan 24 18:13:22 GMT 2019


Andreas Tille pushed to branch master at Debian Java Maintainers / libjsonp-java


Commits:
ed4738d5 by Andreas Tille at 2019-01-24T18:13:00Z
Drop doc package since it build fails and it is not really needed

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/no-java-doc.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -7,45 +7,10 @@ libjsonp-java (1.1.2-1) UNRELEASED; urgency=medium
   * debhelper 12
   * Drop unneeded get-orig-source target
   * Secure URI in copyright format
-  TODO:
-    Generating /build/libjsonp-java-1.1.2/api/target/apidocs/help-doc.html...
-    [INFO] Building jar: /build/libjsonp-java-1.1.2/api/target/javax.json-api-1.1.2-javadoc.jar
-    [INFO] 
-    [INFO] ----------------------< org.glassfish:javax.json >----------------------
-    [INFO] Building JSR 374 (JSON Processing) Default Provider 1.1.2          [3/4]
-    [INFO] -------------------------------[ bundle ]-------------------------------
-    [WARNING] The POM for javax.json:javax.json-api:jar:debian is missing, no dependency information available
-    [INFO] 
-    [INFO] ------------------------------------------------------------------------
-    [INFO] Skipping JSR 374 (JSON Processing) RI
-    [INFO] This project has been banned from the build due to previous failures.
-    [INFO] ------------------------------------------------------------------------
-    [INFO] ------------------------------------------------------------------------
-    [INFO] Reactor Summary for JSR 374 (JSON Processing) RI 1.1.2:
-    [INFO] 
-    [INFO] JSR 374 (JSON Processing) RI ....................... SUCCESS [  0.882 s]
-    [INFO] JSR 374 (JSON Processing) API ...................... SUCCESS [ 15.990 s]
-    [INFO] JSR 374 (JSON Processing) Default Provider ......... FAILURE [  0.016 s]
-    [INFO] JSR 374 (JSON Processing) Media for JAX-RS 1.1 ..... SKIPPED
-    [INFO] ------------------------------------------------------------------------
-    [INFO] BUILD FAILURE
-    [INFO] ------------------------------------------------------------------------
-    [INFO] Total time:  18.266 s
-    [INFO] Finished at: 2019-01-14T11:37:22Z
-    [INFO] ------------------------------------------------------------------------
-    [ERROR] Failed to execute goal on project javax.json: Could not resolve dependencies for project org.glassfish:javax.json:bundle:1.1.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.json:javax.json-api:jar:debian has not been downloaded from it before. -> [Help 1]
-    [ERROR] 
-    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
-    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
-    [ERROR] 
-    [ERROR] For more information about the errors and possible solutions, please read the following articles:
-    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
-    [ERROR] 
-    [ERROR] After correcting the problems, you can resume the build with the command
-    [ERROR]   mvn <goals> -rf :javax.json
-    dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/libjsonp-java-1.1.2 -Dcl
- -- Andreas Tille <tille at debian.org>  Wed, 02 May 2018 08:29:19 +0200
-    
+  * Drop doc package since it build fails and it is not really needed
+
+ -- Andreas Tille <tille at debian.org>  Thu, 24 Jan 2019 19:12:02 +0100
+
 libjsonp-java (1.0.4-1) unstable; urgency=medium
 
   * Initial release (Closes: #811074)


=====================================
debian/control
=====================================
@@ -27,18 +27,3 @@ Description: Java API for JSON Processing
  JSR 353 - Java API for JSON Processing. The JSR provides portable APIs
  to parse, generate, transform, and query JSON using the streaming API or
  the object model API.
-
-Package: libjsonp-java-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Recommends: ${maven:DocDepends},
-            ${maven:DocOptionalDepends}
-Suggests: libjsonp-java
-Description: Java API for JSON Processing (documentation)
- JSON Processing project is the open source reference implementation of
- JSR 353 - Java API for JSON Processing. The JSR provides portable APIs
- to parse, generate, transform, and query JSON using the streaming API or
- the object model API.
- .
- This package contains the javadoc documentation files.


=====================================
debian/patches/no-java-doc.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Drop doc package since it build fails and it is not really needed
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 24 Jan 2019 19:12:02 +0100
+
+--- a/pom.xml
++++ b/pom.xml
+@@ -104,6 +104,7 @@
+         <impl_version>1.1.2</impl_version>
+         <new_impl_version>1.2</new_impl_version>
+         <non.final>false</non.final>
++        <maven.javadoc.skip>true</maven.javadoc.skip>
+     </properties>
+ 
+     <build>


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 02-osgi-values.patch
 03-bundle-dependencies.patch
+no-java-doc.patch



View it on GitLab: https://salsa.debian.org/java-team/libjsonp-java/commit/ed4738d5cc3c77a4600ad59099d5c3762425fcfd

-- 
View it on GitLab: https://salsa.debian.org/java-team/libjsonp-java/commit/ed4738d5cc3c77a4600ad59099d5c3762425fcfd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190124/324fcb0f/attachment.html>


More information about the pkg-java-commits mailing list