|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
3 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | + 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"> |
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 |
|
7 | 7 | <groupId>net.pdfix</groupId>
|
8 | 8 | <artifactId>net.pdfix.App</artifactId>
|
9 | 9 | <packaging>jar</packaging>
|
10 |
| - <version>8.4.32</version> |
| 10 | + <version>1.0.0</version> |
11 | 11 |
|
12 | 12 | <name>PDFix SDK Java Example</name>
|
13 | 13 | <url>https://pdfix.net</url>
|
|
28 | 28 | <dependency>
|
29 | 29 | <groupId>net.pdfix</groupId>
|
30 | 30 | <artifactId>net.pdfix.pdfixlib</artifactId>
|
31 |
| - <version>${project.version}</version> |
32 |
| - <!-- <scope>compiler</scope> --> |
33 |
| - </dependency> |
| 31 | + <version>[8,]</version> |
| 32 | + </dependency> |
34 | 33 | </dependencies>
|
35 | 34 |
|
36 | 35 | <build>
|
37 |
| - <plugins> |
38 |
| - <plugin> |
39 |
| - <!-- Build an executable JAR --> |
40 |
| - <groupId>org.apache.maven.plugins</groupId> |
41 |
| - <artifactId>maven-jar-plugin</artifactId> |
42 |
| - <version>3.1.0</version> |
43 |
| - <configuration> |
44 |
| - <archive> |
45 |
| - <manifest> |
46 |
| - <mainClass>net.pdfix.App</mainClass> |
47 |
| - </manifest> |
48 |
| - </archive> |
49 |
| - </configuration> |
50 |
| - </plugin> |
| 36 | + <plugins> |
| 37 | + <plugin> |
| 38 | + <!-- Build an executable JAR --> |
| 39 | + <groupId>org.apache.maven.plugins</groupId> |
| 40 | + <artifactId>maven-jar-plugin</artifactId> |
| 41 | + <version>3.1.0</version> |
| 42 | + <configuration> |
| 43 | + <archive> |
| 44 | + <manifest> |
| 45 | + <mainClass>net.pdfix.App</mainClass> |
| 46 | + </manifest> |
| 47 | + </archive> |
| 48 | + </configuration> |
| 49 | + </plugin> |
| 50 | + |
| 51 | + <plugin> |
| 52 | + <groupId>org.apache.maven.plugins</groupId> |
| 53 | + <artifactId>maven-shade-plugin</artifactId> |
| 54 | + <version>2.4.3</version> |
| 55 | + <executions> |
| 56 | + <execution> |
| 57 | + <phase>package</phase> |
| 58 | + <goals> |
| 59 | + <goal>shade</goal> |
| 60 | + </goals> |
| 61 | + </execution> |
| 62 | + </executions> |
| 63 | + </plugin> |
51 | 64 |
|
52 |
| - <plugin> |
53 |
| - <groupId>org.apache.maven.plugins</groupId> |
54 |
| - <artifactId>maven-shade-plugin</artifactId> |
55 |
| - <version>2.4.3</version> |
56 |
| - <executions> |
57 |
| - <execution> |
58 |
| - <phase>package</phase> |
59 |
| - <goals> |
60 |
| - <goal>shade</goal> |
61 |
| - </goals> |
62 |
| - </execution> |
63 |
| - </executions> |
64 |
| - </plugin> |
| 65 | + <plugin> |
| 66 | + <artifactId>maven-resources-plugin</artifactId> |
| 67 | + <version>2.7</version> |
| 68 | + <executions> |
| 69 | + <execution> |
| 70 | + <id>copy-resources</id> |
| 71 | + <phase>clean</phase> |
| 72 | + <goals> |
| 73 | + <goal>copy-resources</goal> |
| 74 | + </goals> |
| 75 | + <configuration> |
| 76 | + <outputDirectory>./target/resources</outputDirectory> |
| 77 | + <resources> |
| 78 | + <resource> |
| 79 | + <directory>./resources/</directory> |
| 80 | + <filtering>false</filtering> |
| 81 | + </resource> |
| 82 | + </resources> |
| 83 | + <delimiters> |
| 84 | + <delimiter>@{*}</delimiter> |
| 85 | + </delimiters> |
| 86 | + <useDefaultDelimiters>false</useDefaultDelimiters> |
| 87 | + </config
A92E
uration> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
65 | 91 |
|
66 |
| - <plugin> |
67 |
| - <artifactId>maven-resources-plugin</artifactId> |
68 |
| - <version>2.7</version> |
69 |
| - <executions> |
70 |
| - <execution> |
71 |
| - <id>copy-resources</id> |
72 |
| - <phase>clean</phase> |
73 |
| - <goals> |
74 |
| - <goal>copy-resources</goal> |
75 |
| - </goals> |
76 |
| - <configuration> |
77 |
| - <outputDirectory>./target/resources</outputDirectory> |
78 |
| - <resources> |
79 |
| - <resource> |
80 |
| - <directory>./resources/</directory> |
81 |
| - <filtering>false</filtering> |
82 |
| - </resource> |
83 |
| - </resources> |
84 |
| - <delimiters> |
85 |
| - <delimiter>@{*}</delimiter> |
86 |
| - </delimiters> |
87 |
| - <useDefaultDelimiters>false</useDefaultDelimiters> |
88 |
| - </configuration> |
89 |
| - </execution> |
90 |
| - </executions> |
91 |
| - </plugin> |
92 |
| - |
93 |
| - <plugin> |
94 |
| - <groupId>org.apache.maven.plugins</groupId> |
95 |
| - <artifactId>maven-install-plugin</artifactId> |
96 |
| - <version>2.5.1</version> |
97 |
| - <executions> |
98 |
| - <execution> |
99 |
| - <id>install-external-jar-pdfix</id> |
100 |
| - <phase>clean</phase> |
101 |
| - <configuration> |
102 |
| - <repositoryLayout>default</repositoryLayout> |
103 |
| - <groupId>net.pdfix</groupId> |
104 |
| - <artifactId>net.pdfix.pdfixlib</artifactId> |
105 |
| - <version>${project.version}</version> |
106 |
| - <file>${pom.basedir}/lib/net.pdfix.pdfixlib-${project.version}.jar</file> |
107 |
| - <packaging>jar</packaging> |
108 |
| - <generatePom>true</generatePom> |
109 |
| - </configuration> |
110 |
| - <goals> |
111 |
| - <goal>install-file</goal> |
112 |
| - </goals> |
113 |
| - </execution> |
114 |
| - </executions> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-install-plugin</artifactId> |
| 95 | + <version>2.5.1</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>install-external-jar-pdfix</id> |
| 99 | + <phase>clean</phase> |
| 100 | + <configuration> |
| 101 | + <repositoryLayout>default</repositoryLayout> |
| 102 | + <groupId>net.pdfix</groupId> |
| 103 | + <artifactId>net.pdfix.pdfixlib</artifactId> |
| 104 | + <version>${project.version}</version> |
| 105 | + <file>${pom.basedir}/lib/net.pdfix.pdfixlib-${project.version}.jar</file> |
| 106 | + <packaging>jar</packaging> |
| 107 | + <generatePom>true</generatePom> |
| 108 | + </configuration> |
| 109 | + <goals> |
| 110 | + <goal>install-file</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
115 | 114 | </plugin>
|
116 | 115 |
|
117 |
| - <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
118 |
| - <plugin> |
119 |
| - <artifactId>maven-clean-plugin</artifactId> |
120 |
| - <version>3.1.0</version> |
121 |
| - </plugin> |
122 |
| - <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
123 |
| - <plugin> |
124 |
| - <artifactId>maven-compiler-plugin</artifactId> |
125 |
| - <version>3.8.0</version> |
126 |
| - </plugin> |
127 |
| - <plugin> |
128 |
| - <artifactId>maven-surefire-plugin</artifactId> |
129 |
| - <version>2.22.1</version> |
130 |
| - </plugin> |
131 |
| - <plugin> |
132 |
| - <artifactId>maven-deploy-plugin</artifactId> |
133 |
| - <version>2.8.2</version> |
134 |
| - </plugin> |
135 |
| - <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
136 |
| - <plugin> |
137 |
| - <artifactId>maven-site-plugin</artifactId> |
138 |
| - <version>3.7.1</version> |
139 |
| - </plugin> |
140 |
| - <plugin> |
141 |
| - <artifactId>maven-project-info-reports-plugin</artifactId> |
142 |
| - <version>3.0.0</version> |
143 |
| - </plugin> |
144 |
| - </plugins> |
| 116 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
| 117 | + <plugin> |
| 118 | + <artifactId>maven-clean-plugin</artifactId> |
| 119 | + <version>3.1.0</version> |
| 120 | + </plugin> |
| 121 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| 122 | + <plugin> |
| 123 | + <artifactId>maven-compiler-plugin</artifactId> |
| 124 | + <version>3.8.0</version> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <artifactId>maven-surefire-plugin</artifactId> |
| 128 | + <version>2.22.1</version> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <artifactId>maven-deploy-plugin</artifactId> |
| 132 | + <version>2.8.2</version> |
| 133 | + </plugin> |
| 134 | + <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
| 135 | + <plugin> |
| 136 | + <artifactId>maven-site-plugin</artifactId> |
| 137 | + <version>3.7.1</version> |
| 138 | + </plugin> |
| 139 | + <plugin> |
| 140 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 141 | + <version>3.0.0</version> |
| 142 | + </plugin> |
| 143 | + </plugins> |
145 | 144 | </build>
|
146 | 145 | </project>
|
0 commit comments