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

svn commit: r1843168 - in /pdfbox/trunk: examples/pom.xml parent/pom.xml preflight/pom.xml xmpbox/pom.xml

Author: tilman
Date: Mon Oct  8 16:06:07 2018
New Revision: 1843168

URL: http://svn.apache.org/viewvc?rev=1843168&view=rev
Log:
PDFBOX-4163: set scope to test; add dependencies for example subproject

Modified:
    pdfbox/trunk/examples/pom.xml
    pdfbox/trunk/parent/pom.xml
    pdfbox/trunk/preflight/pom.xml
    pdfbox/trunk/xmpbox/pom.xml

Modified: pdfbox/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/pom.xml?rev=1843168&r1=1843167&r2=1843168&view=diff
==============================================================================
--- pdfbox/trunk/examples/pom.xml (original)
+++ pdfbox/trunk/examples/pom.xml Mon Oct  8 16:06:07 2018
@@ -42,6 +42,26 @@
     <!-- don't update this, because later versions require JDK8 -->
   </properties>
 
+  <profiles>
+      <profile>
+          <activation>
+              <jdk>[11,)</jdk>
+          </activation>
+          <dependencies>
+              <dependency>
+                  <groupId>javax.xml.bind</groupId>
+                  <artifactId>jaxb-api</artifactId>
+                  <scope>test</scope>
+              </dependency>
+              <dependency>
+                  <groupId>javax.activation</groupId>
+                  <artifactId>activation</artifactId>
+                  <scope>test</scope>
+              </dependency>
+          </dependencies>
+      </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>org.bouncycastle</groupId>

Modified: pdfbox/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1843168&r1=1843167&r2=1843168&view=diff
==============================================================================
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Mon Oct  8 16:06:07 2018
@@ -145,11 +145,13 @@
                         <groupId>javax.xml.bind</groupId>
                         <artifactId>jaxb-api</artifactId>
                         <version>2.3.0</version>
+                        <scope>test</scope>
                     </dependency>
                     <dependency>
                         <groupId>javax.activation</groupId>
                         <artifactId>activation</artifactId>
                         <version>1.1.1</version>
+                        <scope>test</scope>
                     </dependency>
                 </dependencies>
             </dependencyManagement>

Modified: pdfbox/trunk/preflight/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/pom.xml?rev=1843168&r1=1843167&r2=1843168&view=diff
==============================================================================
--- pdfbox/trunk/preflight/pom.xml (original)
+++ pdfbox/trunk/preflight/pom.xml Mon Oct  8 16:06:07 2018
@@ -44,10 +44,12 @@
                     <dependency>
                         <groupId>javax.xml.bind</groupId>
                         <artifactId>jaxb-api</artifactId>
+                        <scope>test</scope>
                     </dependency>
                     <dependency>
                         <groupId>javax.activation</groupId>
                         <artifactId>activation</artifactId>
+                        <scope>test</scope>
                     </dependency>
                 </dependencies>
             </profile>

Modified: pdfbox/trunk/xmpbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/pom.xml?rev=1843168&r1=1843167&r2=1843168&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/pom.xml (original)
+++ pdfbox/trunk/xmpbox/pom.xml Mon Oct  8 16:06:07 2018
@@ -40,6 +40,7 @@
                     <dependency>
                         <groupId>javax.xml.bind</groupId>
                         <artifactId>jaxb-api</artifactId>
+                        <scope>test</scope>
                     </dependency>
                 </dependencies>
             </profile>