directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: [Studio] heads up
Date Sun, 21 Dec 2014 07:59:29 GMT
Le 20/12/14 17:54, Stefan Seelmann a écrit :
> Hi Emmanuel,
> I think there is no need to run the full "install" lifecycle, isn't it
> enought to run the bundle:manifest goal only to generate the manifests?
> Then also no order is required and no compilation will happen.
>     mvn -f pom-first.xml bundle:manifest

Oh, that's right... Anyway, I fixed the order, which does the trick too.

Now I'm facing an issue when building with M27-SNAPSHOT :

[ERROR] Manifest
: The default package '.' is not permitted by the Import-Package syntax.
 This can be caused by compile errors in Eclipse because Eclipse creates
valid class files regardless of compile errors.
The following package(s) import from the default package
[ERROR] Error(s) found in manifest configuration
[INFO] Reactor Summary:
[INFO] parent ............................................ SUCCESS [ 
0.322 s]
[INFO] parent-plugins .................................... SUCCESS [ 
0.004 s]
[INFO] Apache Directory Studio Common Core Manifest Generation  SUCCESS
[  0.509 s]
[INFO] Apache Directory Studio LDIF Parser Manifest Generation  SUCCESS
[  0.213 s]
[INFO] Apache Directory Studio Common UI Manifest Generation  SUCCESS [ 
0.109 s]
[INFO] Apache Directory Studio ApacheDS Configuration Manifest
Generation  SUCCESS [  1.301 s]
[INFO] Apache Directory Studio Connection Core Manifest Generation 
FAILURE [  0.205 s]

> The main build is then be done by the "normal" pom.xml and Tycho:
>     mvn clean install

mvn -f pom-first.xml bundle:manifest
followed by
mvn clean install

in a shell script or a bat script is most certainly the way to go.

View raw message