You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Rainer Schamm (JIRA)" <ji...@apache.org> on 2014/07/23 19:15:40 UTC

[jira] [Created] (ARIES-1230) Manifest start-order bug in esa maven plugin

Rainer Schamm created ARIES-1230:
------------------------------------

             Summary: Manifest start-order bug in esa maven plugin
                 Key: ARIES-1230
                 URL: https://issues.apache.org/jira/browse/ARIES-1230
             Project: Aries
          Issue Type: Bug
          Components: Subsystem
    Affects Versions: subsystem-1.0.1
            Reporter: Rainer Schamm
            Priority: Minor


There is a small bug in the esa maven plugin. 

Note the ":=" in the below diff.

See page 894 in the OSGi Compendium 5.0.0 for an example.

The entry should look like this: 

start-order:=2

but the plugin creates this:

start-order=2

Note that the aries subsytem implementation does not work with the latter notation either.

Diff:

svn diff esa-maven-plugin/src/main/java/org/apache/aries/plugin/esa/EsaMojo.java
Index: esa-maven-plugin/src/main/java/org/apache/aries/plugin/esa/EsaMojo.java
===================================================================
--- esa-maven-plugin/src/main/java/org/apache/aries/plugin/esa/EsaMojo.java	(revision 1612842)
+++ esa-maven-plugin/src/main/java/org/apache/aries/plugin/esa/EsaMojo.java	(working copy)
@@ -425,7 +425,7 @@
                 }
                 String entry = info.getContentLine();
                 if ("dependencies".equals(startOrder)) {
-                    entry += ";start-order=\"" + order + "\"";                  
+                    entry += ";start-order:=\"" + order + "\"";                  
                 }
                 if (iter.hasNext()) {
                     entry += ",\n ";





--
This message was sent by Atlassian JIRA
(v6.2#6252)