Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BiS9LM + umask 022 + cd /home/davidx/rpmbuild/BUILD + cd /home/davidx/rpmbuild/BUILD + rm -rf javax.el-api-3.0 + /usr/bin/tar -xf - + /usr/bin/xz -dc /home/davidx/rpmbuild/SOURCES/javax.el-api-3.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd javax.el-api-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /home/davidx/rpmbuild/SOURCES/LICENSE-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8m76C4 + umask 022 + cd /home/davidx/rpmbuild/BUILD + cd javax.el-api-3.0 + mvn-rpmbuild install javadoc:javadoc /usr/lib/jvm/java [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for javax.el:javax.el-api:jar:3.0-b06 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 181, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 144, column 21 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Expression Language 3.0 API 3.0-b06 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ javax.el-api --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.809s [INFO] Finished at: Thu Mar 07 16:11:32 HKT 2013 [INFO] Final Memory: 12M/29M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default) on project javax.el-api: Resources archive cannot be found. The repository system is offline but the artifact org.glassfish:legal:jar:1.1 is not available in the local repository. [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.glassfish -DartifactId=legal -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.glassfish -DartifactId=legal -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.glassfish:legal:jar:1.1 [ERROR] [ERROR] from the specified remote repositories: [ERROR] jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots, releases=false, snapshots=true), [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [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/MojoExecutionException error: Bad exit status from /var/tmp/rpm-tmp.8m76C4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8m76C4 (%build)