You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/03/15 08:48:09 UTC
camel git commit: Add karaf4 profile for feature validation
Repository: camel
Updated Branches:
refs/heads/master 6277d0d5d -> 86cc98ae0
Add karaf4 profile for feature validation
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/86cc98ae
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/86cc98ae
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/86cc98ae
Branch: refs/heads/master
Commit: 86cc98ae084efd7cd6212fba559ac68d89abfa1c
Parents: 6277d0d
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Mar 15 08:47:48 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Mar 15 08:48:03 2016 +0100
----------------------------------------------------------------------
platforms/karaf/features/pom.xml | 43 +++++++++++++++++++++++++++++++----
1 file changed, 39 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/86cc98ae/platforms/karaf/features/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/karaf/features/pom.xml b/platforms/karaf/features/pom.xml
index be7b6d8..d9def0c 100644
--- a/platforms/karaf/features/pom.xml
+++ b/platforms/karaf/features/pom.xml
@@ -15,7 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -134,7 +135,7 @@
<repositories>
<repository>
<id>pax.snapshot.repo</id>
- <name>PAX SNAPSHOT Deploy Repository </name>
+ <name>PAX SNAPSHOT Deploy Repository</name>
<url>https://oss.sonatype.org/content/repositories/ops4j-snapshots/</url>
<releases>
<enabled>false</enabled>
@@ -172,13 +173,47 @@
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
- <version>2.6</version>
+ <version>2.8</version>
</dependency>
- </dependencies>
+ </dependencies>
</plugin>
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>validate-karaf4</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.karaf.tooling</groupId>
+ <artifactId>karaf-maven-plugin</artifactId>
+ <version>${karaf4-version}</version>
+ <configuration>
+ <file>${project.build.directory}/classes/${features.file}</file>
+ <jreVersion>jre-1.8</jreVersion>
+ </configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-http-lightweight</artifactId>
+ <version>2.8</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<repositories>