You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/02/10 16:07:06 UTC

[2/6] jena git commit: Reduce PAX logging

Reduce PAX logging


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/7279de49
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/7279de49
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/7279de49

Branch: refs/heads/master
Commit: 7279de49878669c60255d2f32553364940fe8659
Parents: f4495f7
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Feb 10 11:58:43 2015 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue Feb 10 11:58:43 2015 +0000

----------------------------------------------------------------------
 apache-jena-osgi/jena-osgi-test/pom.xml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/7279de49/apache-jena-osgi/jena-osgi-test/pom.xml
----------------------------------------------------------------------
diff --git a/apache-jena-osgi/jena-osgi-test/pom.xml b/apache-jena-osgi/jena-osgi-test/pom.xml
index cc2a774..dad48a9 100644
--- a/apache-jena-osgi/jena-osgi-test/pom.xml
+++ b/apache-jena-osgi/jena-osgi-test/pom.xml
@@ -62,6 +62,7 @@ limitations under the License.
       <scope>test</scope>
     </dependency>
 
+    <!-- needed to get a org.slf4j bundle for PAX -->
     <dependency>
       <groupId>org.ops4j.pax.logging</groupId>
       <artifactId>pax-logging-log4j2</artifactId>
@@ -123,17 +124,24 @@ limitations under the License.
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemPropertyVariables>
+            <!-- So the test can find the current version of jena-osgi -->
+            <jena-osgi.version>${project.version}</jena-osgi.version>
+            <!-- not so noisy logging -->
+            <org.ops4j.pax.logging.DefaultServiceLog.level>WARN</org.ops4j.pax.logging.DefaultServiceLog.level>
+          </systemPropertyVariables>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <!-- <Import-Package>com.hp.hpl.jena</Import-Package> -->
-            <!-- <Embed-Dependency>artifactId=jena-core;inline=true</Embed-Dependency> -->
-          </instructions>
-        </configuration>
       </plugin>
       <plugin>
+        <!-- generate target/pax-exam-links -->
         <groupId>org.ops4j.pax.exam</groupId>
         <artifactId>exam-maven-plugin</artifactId>
         <version>${pax.exam.version}</version>