[Bug 2024497] New: there is no 'report' and 'help' goal
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2024497
Bug ID: 2024497
Summary: there is no 'report' and 'help' goal
Product: Fedora
Version: rawhide
Status: NEW
Component: maven-plugin-tools
Assignee: mizdebsk(a)redhat.com
Reporter: didiksupriadi41(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, jaromir.capik(a)email.cz,
java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, yyang(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
According to site [1], there are 5 goals of maven-plugin-plugin:
1 plugin:addPluginArtifactMetadata
2 plugin:descriptor
3 plugin:help
4 plugin:helpmojo
5 plugin:report
but apparently, in fedora, it only has 3 goals as follows:
[ERROR] UndeclaredThrowableException: InvocationTargetException: Could not find
goal 'report' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.6.0
among available goals addPluginArtifactMetadata, descriptor, helpmojo
Version-Release number of selected component (if applicable):
3.6.0-10
How reproducible:
always
Steps to Reproduce:
1. pom.xml that requires `maven-plugin-plugin` with goal `report` or `help`
2. run i.e. `mvn clean package`
Actual results:
[ERROR] UndeclaredThrowableException: InvocationTargetException: Could not find
goal 'report' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.6.0
among available goals addPluginArtifactMetadata, descriptor, helpmojo
Expected results:
Run without error
Additional info:
[1] https://maven.apache.org/plugin-tools/maven-plugin-plugin/plugin-info.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2024497
2 years, 5 months
[Bug 2017738] New: F36FailsToInstall: mysql-connector-java
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2017738
Bug ID: 2017738
Summary: F36FailsToInstall: mysql-connector-java
Product: Fedora
Version: rawhide
Status: NEW
Component: mysql-connector-java
Assignee: hhorak(a)redhat.com
Reporter: mhroncok(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: hhorak(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
jjanco(a)redhat.com, ljavorsk(a)redhat.com,
mschorm(a)redhat.com, odubaj(a)redhat.com,
puntogil(a)libero.it, steve.traylen(a)cern.ch,
xjakub(a)fi.muni.cz
Blocks: 1992487 (F36FailsToInstall,RAWHIDEFailsToInstall)
Target Milestone: ---
Classification: Fedora
Hello,
Please note that this comment was generated automatically. If you feel that
this output has mistakes, please contact me via email (mhroncok(a)redhat.com).
Your package (mysql-connector-java) Fails To Install in Fedora 36:
can't install mysql-connector-java:
- nothing provides mvn(com.google.protobuf:protobuf-java) needed by
mysql-connector-java-1:8.0.27-1.fc36.noarch
If you know about this problem and are planning on fixing it, please
acknowledge so by setting the bug status to ASSIGNED. If you don't have time to
maintain this package, consider orphaning it, so maintainers of dependent
packages realize the problem.
If you don't react accordingly to the policy for FTBFS/FTI bugs
(https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fai...),
your package may be orphaned in 8+ weeks.
P.S. The data was generated solely from koji buildroot, so it might be newer
than the latest compose or the content on mirrors.
P.P.S. If this bug has been reported in the middle of upgrading multiple
dependent packages, please consider using side tags:
https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter...
Thanks!
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1992487
[Bug 1992487] Fedora 36 Fails To install Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2017738
2 years, 5 months
[Bug 2020478] New: mvn overrides JAVA_HOME so compilation fails
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2020478
Bug ID: 2020478
Summary: mvn overrides JAVA_HOME so compilation fails
Product: Fedora
Version: 35
Hardware: All
OS: Linux
Status: NEW
Component: maven
Severity: medium
Assignee: mizdebsk(a)redhat.com
Reporter: vk2bea+fedora(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com
Target Milestone: ---
Classification: Fedora
Setting of JAVA_HOME is overwritten by mvn.
/usr/bin/mvn is a script that sources /etc/java/maven.conf which overrides
JAVA_HOME. If maven-openjdk11 is installed then this is Java 11, if
maven-openjdk17 is installed it is Java 17 regardless of the user's setting of
JAVA_HOME.
This means that the compilation of a Java source file with features
incompatible with the version set in /etc/java/maven.conf will fail.
e.g:
1. install maven-openjdk11
3. use 'alternatives' to set java to java 17 (JAVA_HOME set to
/usr/lib/jvm/java-17-openjdk-17.0.1.0.12-1.rolling.fc35.x86_64)
4. Attempt to use maven to compile Java that has Java 17 features
5. Compilation fails
If MAVEN_SKIP_RC environment variable is set then /etc/mavenrc, /etc/mavenrc
and "$HOME/.mavenrc" are ignored. This will mean that JAVA_HOME is not
overwritten but maven may then run with a (possible) incompatible version.
(setting JAVA_HOME in
"$HOME/.mavenrc" will also do this)
In /usr/bin/mvn, maven is run with the java specified in JAVACMD.
if [ -z "$JAVA_HOME" ] ; then
JAVACMD=`which java`
else
JAVACMD="$JAVA_HOME/bin/java"
fi
It looks to me that a better solution is to set JAVACMD to specific Java
version of the installed maven libraries (e.g. 11) and leave alone JAVA_HOME so
that the user java files are compiled as expected.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2020478
2 years, 5 months