orphan or not apache-ivy ?
by Sérgio Basto
Hi,
After all apache-ivy is required by the new xmvn-connector-ivy-
0:4.0.0~20210707.d300ce6-1.fc35.src ??? and ant-contrib [1]
ant-contrib is required by [2]
After find that in java the correct repo queries are done in repo
rawhide-source with --arch=src , (we query the buildrequires)
So why we need xmvn-connector-ivy ? and can ant-contrib be retired ?
https://en.wikipedia.org/wiki/Apache_Ivy maven seems that supersede and
ivy seems to me that need java 1.7, not even 1.8 [3]
and I can't find a way to build apache-ivy in rawhide [4]
If we retire apache-ivy, we need also want retire ant-contrib,
note that ant-contrib is complete dead upstream (last release is from
2008 , and we should inform the 4 projects that still requires ant-
contrib ...
Note the main problem for me is I don't see how we will build apache-
ivy
[1]
dnf repoquery --disablerepo='*' --enablerepo=rawhide-source --arch=src
--whatrequires apache-ivy
dnf repoquery --disablerepo='*' --enablerepo=rawhide-source --arch=src
--whatrequires "mvn(org.apache.ivy:ivy)"
[2]
dnf repoquery --disablerepo='*' --enablerepo=rawhide-source --arch=src
--whatrequires ant-contrib
eclipse-gef-0:3.11.0-16.fc34.src
forbidden-apis-0:2.5-10.fc34.src
java-sleep-0:2.1-22.fc34.src
jmol-0:14.31.44-1.fc35.src
[3]
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 7
[javac] /builddir/build/BUILD/apache-ivy-
2.5.0/src/java/org/apache/ivy/util/FileUtil.java:49: warning: [removal]
Pack200 in java.util.jar has been deprecated and marked for removal
[javac] import static java.util.jar.Pack200.newUnpacker;
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 warnings
[4]
init-ivy:
[ivy:configure] impossible to define new type: class not found:
org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader
[ivy:configure] impossible to define new type: class not found:
org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader
[ivy:configure] impossible to define new type: class not found:
org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in
[] nor Ivy classloader
[ivy:configure] impossible to define new type: class not found:
org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader
[ivy:configure] :: Apache Ivy 2.5.0-local-19700112153424 -
19700112153424 :: https://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /etc/ivy/ivysettings.xml
BUILD FAILED
/builddir/build/BUILD/apache-ivy-2.5.0/build.xml:55: impossible to
configure ivy:settings with given file: /etc/ivy/ivysettings.xml :
java.text.ParseException: failed to load settings from
file:/etc/ivy/ivysettings.xml: impossible to define new type: class not
found: org.fedoraproject.xmvn.connector.ivy.IvyResolver in [] nor Ivy
classloader
2 years, 4 months
Successful Mail Delivery Report
by Mail Delivery System
This is the mail system at host mailman01.iad2.fedoraproject.org.
Your message was successfully delivered to the destination(s)
listed below. If the message was delivered to mailbox you will
receive no further notifications. Otherwise you may still receive
notifications of mail delivery errors from other systems.
The mail system
<java-devel(a)lists.fedoraproject.org>: delivery via spamassassin: delivered via
spamassassin service
2 years, 4 months
jakarta-annotation without spec-version-maven-plugin
by Jerry James
I could use some advice on how to handle the mass rebuild failure of
jakarta-json (https://koji.fedoraproject.org/koji/taskinfo?taskID=72383615).
The failure looks like this:
[INFO] --- maven-bundle-plugin:5.1.1:bundle (default-bundle) @ jsonp-jaxrs ---
[WARNING] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : No
translation found for macro: range;[==,+)
[ERROR] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : Invalid syntax
for version: , for cmd: range, arguments; [range, [==,+)]
[ERROR] Error(s) found in bundle configuration
Running the build with -X shows:
[DEBUG] Final Manifest:
#-----------------------------------------------------------------------
Manifest-Version: 1.0
Bnd-LastModified: 1627075105810
Build-Jdk-Spec: 11
Bundle-Description: Jakarta RESTful Web Services MessageBodyReader and M
essageBodyWriter to support JsonValue API of Jakarta JSON Processing
Bundle-License: https://projects.eclipse.org/license/epl-2.0, https://pr
ojects.eclipse.org/license/secondary-gpl-2.0-cp
Bundle-ManifestVersion: 2
Bundle-Name: Jakarta JSON Processing Media for Jakarta RESTful Web Servi
ces
Bundle-SymbolicName: org.glassfish.jsonp-jaxrs
Bundle-Version: 1.1.5
Created-By: Apache Maven Bundle Plugin
Export-Package: org.glassfish.json.jaxrs;uses:="javax.json,javax.ws.rs,j
avax.ws.rs.core,javax.ws.rs.ext";version="1.1.5"
Import-Package:
javax.annotation;version="${range;[==,+)}",
javax.json;version="[1.1,2)",
javax.ws.rs;version="[2.1,3)",
javax.ws.rs.core;version="[2.1,3)",
javax.ws.rs.ext;version="[2.1,3)"
Tool: Bnd-5.2.0
#-----------------------------------------------------------------------
The version of javax.annotation is missing. This is due to the
removal of spec-version-maven-plugin support from the
jakarta-annotation package, isn't it? How do I fix the build failure?
Thanks,
--
Jerry James
http://www.jamezone.org/
2 years, 4 months
Successful Mail Delivery Report
by Mail Delivery System
This is the mail system at host mailman01.iad2.fedoraproject.org.
Your message was successfully delivered to the destination(s)
listed below. If the message was delivered to mailbox you will
receive no further notifications. Otherwise you may still receive
notifications of mail delivery errors from other systems.
The mail system
<java-devel(a)lists.fedoraproject.org>: delivery via spamassassin: delivered via
spamassassin service
2 years, 4 months
Build openjfx8 that need openjdk 1.8 impossible on rawhide
by Nicolas De Amicis
Hello,
I'm trying to build the package openjfx8 on rawhide but it seems that
with the new version of xmvn, it's impossible.
In the past, this instuction was sufficent before build:
export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk
%mvn_build
The problem is that in pom.xml, I have (for example) the instruction
-bootclasspath with the openjdk 1.8 but xmvn replace it by openjdk 11:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-bootclasspath</arg>
<arg>${java.home}/lib/rt.jar</arg>
<arg>-XDignore.symbol.file</arg>
<arg>-XDuseUnsharedTable=true</arg>
<arg>-proc:none</arg>
<arg>-g:source,lines,vars</arg>
<arg>-h</arg>
<arg>modules/graphics/build/gensrc/headers/</arg>
</compilerArgs>
</configuration>
</plugin>
Here the log of the build:
[DEBUG] -d
/builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes
-classpath
/builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes:/builddir/build/BUILD/rt-8u202-b07/buildSrc/target/buildSrc-8.0.202.jar:/usr/share/java/antlr3.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/stringtemplate4/ST4.jar:/usr/share/java/stringtemplate.jar:/usr/share/java/antlr.jar:
-sourcepath
/builddir/build/BUILD/rt-8u202-b07/modules/base/src/main/java:/builddir/build/BUILD/rt-8u202-b07/modules/base/target/generated-sources/annotations:
-s
/builddir/build/BUILD/rt-8u202-b07/modules/base/target/generated-sources/annotations
-g -nowarn -target 1.8 -source 1.8 -bootclasspath
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-5.fc35.x86_64/lib/rt.jar:/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-5.fc35.x86_64/lib/jce.jar
-XDignore.symbol.file -XDuseUnsharedTable=true -proc:none
-g:source,lines,vars
[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 283 source files to
/builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Help is appreciate, thanks
Nicolas De Amicis
2 years, 4 months