You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2018/02/21 20:08:21 UTC

pdfbox-jbig2 git commit: PDFBOX-4098: added assembly plugin

Repository: pdfbox-jbig2
Updated Branches:
  refs/heads/master a90dd9039 -> 3f69b90e9


PDFBOX-4098: added assembly plugin


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/commit/3f69b90e
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/tree/3f69b90e
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/diff/3f69b90e

Branch: refs/heads/master
Commit: 3f69b90e9ca3cc21e60ba8cf1a78ebe139bab392
Parents: a90dd90
Author: Andreas Lehmkühler <an...@lehmi.de>
Authored: Wed Feb 21 21:08:09 2018 +0100
Committer: Andreas Lehmkühler <an...@lehmi.de>
Committed: Wed Feb 21 21:08:09 2018 +0100

----------------------------------------------------------------------
 assembly.xml | 32 ++++++++++++++++++++++++++++++++
 pom.xml      | 18 ++++++++++++++++++
 2 files changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/blob/3f69b90e/assembly.xml
----------------------------------------------------------------------
diff --git a/assembly.xml b/assembly.xml
new file mode 100644
index 0000000..cd79117
--- /dev/null
+++ b/assembly.xml
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <outputDirectory></outputDirectory>
+      <excludes>
+        <exclude>**/target/**</exclude>
+        <exclude>**/.*/**</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/blob/3f69b90e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fbf969f..6379c92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -275,6 +275,24 @@
 					</execution>
 				</executions>
 			</plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <version>2.6</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>jbig2-imageio-${project.version}</finalName>
+                  <descriptors>
+                    <descriptor>assembly.xml</descriptor>
+                  </descriptors>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
             <plugin>
                 <groupId>com.googlecode.maven-download-plugin</groupId>
                 <artifactId>download-maven-plugin</artifactId>