Good day All, I inherited a packed that was created for an earlier version of of Fedora, now I am trying to package it for Fedora 23; however, under the %build section of the spec file. Apache-maven is used: %build export PATH=$PATH:../apache-maven-3.3.9/bin ( cd constants && mvn -X install && cd - ) || { echo "Constants installation failed" ; exit 1; } ( cd restlet-support && mvn -X install && cd - ) || { echo "restlet- support installation failed" ; exit 1; } ( cd urlfetcher && mvn -X install && cd - ) || { echo "urlfetcher installation failed" ; exit 1; } ( cd syslog-processor && mvn -X install && cd - ) || { echo "syslog- processor installation failed" ; exit 1; } ( cd balcony-tool && mvn -X install && cd - ) || { echo "balcony-tool installation failed" ; exit 1; } I added the '-X' do that I can debug the error and the error that I am getting is: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler- plugin:3.1:compile (default-compile) on project constants: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? The output of mvn -v is as follows: $ mvn -v Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11- 10T17:41:47+01:00) Maven home: /opt/apache-maven-3.3.9 Java version: 1.8.0_91, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91- 2.b14.fc23.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.8-300.fc23.x86_64", arch: "amd64", family: "unix" echo $JAVA_HOME show: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-2.b14.fc23.x86_64 and echo $PATH shows: $ echo $PATH /opt/apache-maven-3.3.9/bin:/usr/lib64/qt- 3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/eramire z/.local/bin:/home/eramirez/bin I spend a few days googling the error and I am seeing the same output for mvn -v and a few recommended that we simply replace the */jre from JAVA_HOME; however, this directory does not exists on Fedora even if I install Oracle Java. Admittedly I'm stuck and utilise all options to get apache-maven to work; therefore, I will like to know if anyone can shed some light on this or can point me into the right direction so that I can get this resolved. I have also use the version of maven that comes with Fedora and I am still not successful. Thanks in advance. -- Earl Ramirez <earlaramirez@xxxxxxxxx> -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org