You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2011/05/31 14:47:00 UTC
[INFO] Karaf features-maven-plugin validate goal
Hi all,
FYI, I fixed KARAF-651.
Now, the features-maven-plugin (and karaf-maven-plugin on Karaf
3.0.0-SNAPSHOT) now embeds by default the Karaf standard and enterprise
features descriptors.
It means that it's no more required to add:
<repository>mvn:org.apache.karaf.assemblies.features/standard/x.x.x/xml/features</repository>
<repository>mvn:org.apache.karaf.assemblies.features/enterprise/x.x.x/xml/features</repository>
in your features descriptor to validate your features, it's made
automatically by the plugin.
It means that now, your features descriptors is not linked to only one
Karaf version.
By default, the plugin will use its version to get the Karaf core
features descriptors, but you can also define the target Karaf version
with the karafVersion attribute.
For instance, you can use something like:
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.2.2-SNAPSHOT</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>validate</goal>
</goals>
<configuration>
<file>target/classes/features.xml</file>
<karafVersion>2.2.0</karafVersion>
</configuration>
<execution>
<executions>
</plugin>
Regards
JB
Re: [INFO] Karaf features-maven-plugin validate goal
Posted by Willem Jiang <wi...@gmail.com>.
It's handy feature and I really like it :)
On 5/31/11 8:47 PM, Jean-Baptiste Onofré wrote:
> Hi all,
>
> FYI, I fixed KARAF-651.
>
> Now, the features-maven-plugin (and karaf-maven-plugin on Karaf
> 3.0.0-SNAPSHOT) now embeds by default the Karaf standard and enterprise
> features descriptors.
>
> It means that it's no more required to add:
>
> <repository>mvn:org.apache.karaf.assemblies.features/standard/x.x.x/xml/features</repository>
>
> <repository>mvn:org.apache.karaf.assemblies.features/enterprise/x.x.x/xml/features</repository>
>
>
> in your features descriptor to validate your features, it's made
> automatically by the plugin.
>
> It means that now, your features descriptors is not linked to only one
> Karaf version.
> By default, the plugin will use its version to get the Karaf core
> features descriptors, but you can also define the target Karaf version
> with the karafVersion attribute.
>
> For instance, you can use something like:
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.2.2-SNAPSHOT</version>
> <extensions>true</extensions>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>validate</goal>
> </goals>
> <configuration>
> <file>target/classes/features.xml</file>
> <karafVersion>2.2.0</karafVersion>
> </configuration>
> <execution>
> <executions>
> </plugin>
>
> Regards
> JB
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang
Re: [INFO] Karaf features-maven-plugin validate goal
Posted by Willem Jiang <wi...@gmail.com>.
It's handy feature and I really like it :)
On 5/31/11 8:47 PM, Jean-Baptiste Onofré wrote:
> Hi all,
>
> FYI, I fixed KARAF-651.
>
> Now, the features-maven-plugin (and karaf-maven-plugin on Karaf
> 3.0.0-SNAPSHOT) now embeds by default the Karaf standard and enterprise
> features descriptors.
>
> It means that it's no more required to add:
>
> <repository>mvn:org.apache.karaf.assemblies.features/standard/x.x.x/xml/features</repository>
>
> <repository>mvn:org.apache.karaf.assemblies.features/enterprise/x.x.x/xml/features</repository>
>
>
> in your features descriptor to validate your features, it's made
> automatically by the plugin.
>
> It means that now, your features descriptors is not linked to only one
> Karaf version.
> By default, the plugin will use its version to get the Karaf core
> features descriptors, but you can also define the target Karaf version
> with the karafVersion attribute.
>
> For instance, you can use something like:
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.2.2-SNAPSHOT</version>
> <extensions>true</extensions>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>validate</goal>
> </goals>
> <configuration>
> <file>target/classes/features.xml</file>
> <karafVersion>2.2.0</karafVersion>
> </configuration>
> <execution>
> <executions>
> </plugin>
>
> Regards
> JB
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang
Re: [INFO] Karaf features-maven-plugin validate goal
Posted by Willem Jiang <wi...@gmail.com>.
It's handy feature and I really like it :)
On 5/31/11 8:47 PM, Jean-Baptiste Onofré wrote:
> Hi all,
>
> FYI, I fixed KARAF-651.
>
> Now, the features-maven-plugin (and karaf-maven-plugin on Karaf
> 3.0.0-SNAPSHOT) now embeds by default the Karaf standard and enterprise
> features descriptors.
>
> It means that it's no more required to add:
>
> <repository>mvn:org.apache.karaf.assemblies.features/standard/x.x.x/xml/features</repository>
>
> <repository>mvn:org.apache.karaf.assemblies.features/enterprise/x.x.x/xml/features</repository>
>
>
> in your features descriptor to validate your features, it's made
> automatically by the plugin.
>
> It means that now, your features descriptors is not linked to only one
> Karaf version.
> By default, the plugin will use its version to get the Karaf core
> features descriptors, but you can also define the target Karaf version
> with the karafVersion attribute.
>
> For instance, you can use something like:
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.2.2-SNAPSHOT</version>
> <extensions>true</extensions>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>validate</goal>
> </goals>
> <configuration>
> <file>target/classes/features.xml</file>
> <karafVersion>2.2.0</karafVersion>
> </configuration>
> <execution>
> <executions>
> </plugin>
>
> Regards
> JB
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang
Re: [INFO] Karaf features-maven-plugin validate goal
Posted by Willem Jiang <wi...@gmail.com>.
It's handy feature and I really like it :)
On 5/31/11 8:47 PM, Jean-Baptiste Onofré wrote:
> Hi all,
>
> FYI, I fixed KARAF-651.
>
> Now, the features-maven-plugin (and karaf-maven-plugin on Karaf
> 3.0.0-SNAPSHOT) now embeds by default the Karaf standard and enterprise
> features descriptors.
>
> It means that it's no more required to add:
>
> <repository>mvn:org.apache.karaf.assemblies.features/standard/x.x.x/xml/features</repository>
>
> <repository>mvn:org.apache.karaf.assemblies.features/enterprise/x.x.x/xml/features</repository>
>
>
> in your features descriptor to validate your features, it's made
> automatically by the plugin.
>
> It means that now, your features descriptors is not linked to only one
> Karaf version.
> By default, the plugin will use its version to get the Karaf core
> features descriptors, but you can also define the target Karaf version
> with the karafVersion attribute.
>
> For instance, you can use something like:
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.2.2-SNAPSHOT</version>
> <extensions>true</extensions>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>validate</goal>
> </goals>
> <configuration>
> <file>target/classes/features.xml</file>
> <karafVersion>2.2.0</karafVersion>
> </configuration>
> <execution>
> <executions>
> </plugin>
>
> Regards
> JB
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang