[fedora-java] Packaging m2e-wtp

Julius Schwartzenberg julius.schwartzenberg at abz.nl
Thu Mar 19 09:58:19 UTC 2015


On 03/19/2015 10:17 AM, Mat Booth wrote:
> On 19 March 2015 at 08:28, Julius Schwartzenberg
> <julius.schwartzenberg at abz.nl <mailto:julius.schwartzenberg at abz.nl>> wrote:
>
>     On 03/18/2015 09:11 PM, Roland Grunberg wrote:
>     >> On 03/15/2015 02:07 AM, gil wrote:
>     >>> Bundle-ClassPath (as for Class-Path) is not allowed in Fedora.
>     >>> You should (read must) remove this instruction from felix (or war plugin)
>
>     > I just asked Mat Booth about this and it seems you should be fine to use
>     > Bundle-ClassPath. In fact, the Eclipse plugin packaging guidelines refer
>     > to this exact case [1].

> Can you post the exact error you are seeing or your spec file so far?

I've attached my spec file.

Here is the error:
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jar:1.1.0-SNAPSHOT has 
system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier,
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.source:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.feature:jar:1.1.0-SNAPSHOT has 
system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.jaxrs:jar:1.1.0-SNAPSHOT has 
system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.jaxrs.feature:jar:1.1.0-SNAPSHOT 
has system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.jsf:jar:1.1.0-SNAPSHOT has 
system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.jsf.feature:jar:1.1.0-SNAPSHOT 
has system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[ERROR] Reactor project 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.sdk.feature:jar:1.1.0-SNAPSHOT 
has system-scoped dependencies: [
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier,
 
org.eclipse.m2e.wtp:org.eclipse.m2e.wtp.source:jars/maven-war-plugin-2.1.1.jar:jar:1.1.0.qualifier
]
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] M2E-WTP :: Parent .................................. FAILURE [ 
0.271 s]
[INFO] M2E-WTP :: Overlay Core ............................ SUCCESS [ 
3.383 s]
[INFO] M2E-WTP :: Overlay UI .............................. SUCCESS [ 
0.570 s]
[INFO] M2E-WTP :: Core .................................... SUCCESS [ 
2.689 s]
[INFO] M2E-WTP :: Core Feature ............................ SUCCESS [ 
0.628 s]
[INFO] M2E-WTP :: JAX-RS Support .......................... SUCCESS [ 
0.872 s]
[INFO] M2E-WTP :: JAX-RS Support Feature .................. SUCCESS [ 
0.286 s]
[INFO] M2E-WTP :: JSF Support ............................. SUCCESS [ 
0.865 s]
[INFO] M2E-WTP :: JSF Support Feature ..................... SUCCESS [ 
0.299 s]
[INFO] M2E-WTP :: Core SDK Feature (Optional) ............. SUCCESS [ 
0.224 s]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 54.976 s
[INFO] Finished at: 2015-03-14T23:52:28+01:00
[INFO] Final Memory: 47M/112M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.fedoraproject.xmvn:xmvn-mojo:2.0.1:install (default-cli) on project 
org.eclipse.m2e.wtp.parent: Some reactor artifacts have dependencies 
with scope "system". Such dependencies are not supported by XMvn 
installer. You should either remove any dependencies with scope "system" 
before the build or not run XMvn instaler. -> [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/MojoFailureException
error: Bad exit status from /var/tmp/rpm-tmp.L8QMxe (%build)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eclipse-m2e-wtp.spec
Type: text/x-rpm-spec
Size: 2279 bytes
Desc: eclipse-m2e-wtp.spec
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20150319/c2aa5bc7/attachment.bin>


More information about the java-devel mailing list