Now that esa-maven-plugin 1.0.0 is released (thanks Guillaume!), I updated the documentation at http://aries.apache.org/modules/esamavenpluginproject.html a little to include the above and some other small improvements.
David On 3 October 2014 12:26, David Bosschaert <[email protected]> wrote: > Thanks Carsten, that did the trick! > > David > > On 3 October 2014 09:40, Carsten Ziegeler <[email protected]> wrote: >> You have to switch the packaging to "esa" and add >> <extensions>true</extensions> to the plugin section (between version and >> configuation) >> >> Carsten >> >> 2014-09-26 17:43 GMT+02:00 David Bosschaert <[email protected]>: >>> >>> Hi all, >>> >>> I'm just trying to create a minimal project that uses the >>> esa-maven-plugin to create a subsystem.esa file for me, but I have >>> trouble getting it to work, after looking at the documentation at >>> http://aries.apache.org/modules/esamavenpluginproject.html ... I have >>> built the 0.1-SNAPSHOT version of the plugin locally, but the below >>> pom doesn't seem to do anything... >>> >>> I guess I would expect a .esa file to be created with my dependencies >>> inside? >>> >>> What am I doing wrong? >>> >>> Cheers, >>> >>> David >>> >>> My pom looks like this: >>> <project> >>> <modelVersion>4.0.0</modelVersion> >>> >>> <groupId>org.something</groupId> >>> <artifactId>esa-maven-plugin-test</artifactId> >>> <version>1.0.0-SNAPSHOT</version> >>> <packaging>jar</packaging> >>> >>> <dependencies> >>> <!-- Some deps here --> >>> </dependencies> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>org.apache.aries</groupId> >>> <artifactId>esa-maven-plugin</artifactId> >>> <version>0.1-SNAPSHOT</version> >>> <configuration> >>> <generateManifest>true</generateManifest> >>> <instructions> >>> <Subsystem-Type>feature</Subsystem-Type> >>> </instructions> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> </project> >> >> >> >> >> -- >> Carsten Ziegeler >> Adobe Research Switzerland >> [email protected]
