You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bi...@apache.org on 2015/10/24 13:38:12 UTC

svn commit: r1710331 - in /felix/trunk/tools/maven-bundle-plugin: pom.xml src/it/ src/it/dep-reduced/ src/it/dep-reduced/pom.xml

Author: bimargulies
Date: Sat Oct 24 11:38:12 2015
New Revision: 1710331

URL: http://svn.apache.org/viewvc?rev=1710331&view=rev
Log:
FELIX-5073: integration test.

Added:
    felix/trunk/tools/maven-bundle-plugin/src/it/
    felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/
    felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml   (with props)
Modified:
    felix/trunk/tools/maven-bundle-plugin/pom.xml

Modified: felix/trunk/tools/maven-bundle-plugin/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/tools/maven-bundle-plugin/pom.xml?rev=1710331&r1=1710330&r2=1710331&view=diff
==============================================================================
--- felix/trunk/tools/maven-bundle-plugin/pom.xml (original)
+++ felix/trunk/tools/maven-bundle-plugin/pom.xml Sat Oct 24 11:38:12 2015
@@ -80,6 +80,24 @@
      </excludes>
     </configuration>
    </plugin>
+    <plugin>
+        <artifactId>maven-invoker-plugin</artifactId>
+        <version>2.0.0</version>
+        <configuration>
+          <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+          <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+          <postBuildHookScript>verify</postBuildHookScript> <!-- no extension required -->
+        </configuration>
+        <executions>
+          <execution>
+            <id>integration-test</id>
+            <goals>
+              <goal>install</goal>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
   </plugins>
  </build>
 

Added: felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml?rev=1710331&view=auto
==============================================================================
--- felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml (added)
+++ felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml Sat Oct 24 11:38:12 2015
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.felix.bundleits</groupId>
+  <artifactId>dep-reduced</artifactId>
+  <version>1-SNAPSHOT</version>
+  <packaging>bundle</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>2.4</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <createDependencyReducedPom>true</createDependencyReducedPom>
+          <instructions>
+            <Embed-Dependency>*;scope=compile</Embed-Dependency>
+            <Export-Package>org.apache.commons.io</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: felix/trunk/tools/maven-bundle-plugin/src/it/dep-reduced/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain