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 2019/08/31 10:23:20 UTC

svn commit: r1866201 - in /pdfbox/branches/2.0: debugger/pom.xml fontbox/pom.xml pdfbox/pom.xml tools/pom.xml xmpbox/pom.xml

Author: tilman
Date: Sat Aug 31 10:23:19 2019
New Revision: 1866201

URL: http://svn.apache.org/viewvc?rev=1866201&view=rev
Log:
PDFBOX-4639: add Automatic-Module-Name to MANIFEST.MF, as suggested by Gili

Modified:
    pdfbox/branches/2.0/debugger/pom.xml
    pdfbox/branches/2.0/fontbox/pom.xml
    pdfbox/branches/2.0/pdfbox/pom.xml
    pdfbox/branches/2.0/tools/pom.xml
    pdfbox/branches/2.0/xmpbox/pom.xml

Modified: pdfbox/branches/2.0/debugger/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/debugger/pom.xml?rev=1866201&r1=1866200&r2=1866201&view=diff
==============================================================================
--- pdfbox/branches/2.0/debugger/pom.xml (original)
+++ pdfbox/branches/2.0/debugger/pom.xml Sat Aug 31 10:23:19 2019
@@ -75,6 +75,19 @@
         <filtering>true</filtering>
       </resource>
     </resources>
+    <plugins>
+      <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <configuration>
+              <archive>
+                  <manifestEntries>
+                      <Automatic-Module-Name>org.apache.pdfbox.debugger</Automatic-Module-Name>
+                  </manifestEntries>
+              </archive>
+          </configuration>
+      </plugin>
+    </plugins>
   </build>
 
 </project>

Modified: pdfbox/branches/2.0/fontbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/fontbox/pom.xml?rev=1866201&r1=1866200&r2=1866201&view=diff
==============================================================================
--- pdfbox/branches/2.0/fontbox/pom.xml (original)
+++ pdfbox/branches/2.0/fontbox/pom.xml Sat Aug 31 10:23:19 2019
@@ -65,6 +65,17 @@
             </excludes>
         </configuration>
       </plugin>
+      <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <configuration>
+              <archive>
+                  <manifestEntries>
+                      <Automatic-Module-Name>org.apache.fontbox</Automatic-Module-Name>
+                  </manifestEntries>
+              </archive>
+          </configuration>
+      </plugin>
 
       <!-- download test files from JIRA and keep them in repository cache -->
       <plugin>

Modified: pdfbox/branches/2.0/pdfbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/pom.xml?rev=1866201&r1=1866200&r2=1866201&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/pom.xml (original)
+++ pdfbox/branches/2.0/pdfbox/pom.xml Sat Aug 31 10:23:19 2019
@@ -179,6 +179,17 @@
                     <serverId>pdfbox-site</serverId>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestEntries>
+                            <Automatic-Module-Name>org.apache.pdfbox</Automatic-Module-Name>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
 
             <!-- PDFBOX-3974: download test files from JIRA and keep them in repository cache -->
             <plugin>

Modified: pdfbox/branches/2.0/tools/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/tools/pom.xml?rev=1866201&r1=1866200&r2=1866201&view=diff
==============================================================================
--- pdfbox/branches/2.0/tools/pom.xml (original)
+++ pdfbox/branches/2.0/tools/pom.xml Sat Aug 31 10:23:19 2019
@@ -89,6 +89,18 @@
                 </systemPropertyVariables>
             </configuration>
         </plugin>
+        
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <configuration>
+                <archive>
+                    <manifestEntries>
+                        <Automatic-Module-Name>org.apache.pdfbox.tools</Automatic-Module-Name>
+                    </manifestEntries>
+                </archive>
+            </configuration>
+        </plugin>
     </plugins>
   </build>
 

Modified: pdfbox/branches/2.0/xmpbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/xmpbox/pom.xml?rev=1866201&r1=1866200&r2=1866201&view=diff
==============================================================================
--- pdfbox/branches/2.0/xmpbox/pom.xml (original)
+++ pdfbox/branches/2.0/xmpbox/pom.xml Sat Aug 31 10:23:19 2019
@@ -80,7 +80,19 @@
                                 <argLine>${addmod}</argLine>
                             </configuration>
                         </plugin>
-		</plugins>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-jar-plugin</artifactId>
+                            <configuration>
+                                <archive>
+                                    <manifestEntries>
+                                        <Automatic-Module-Name>org.apache.xmpbox</Automatic-Module-Name>
+                                    </manifestEntries>
+                                </archive>
+                            </configuration>
+                        </plugin>
+		</plugins>                
+                
 	</build>
 
 </project>