|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - 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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" 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 | 3 | <modelVersion>4.0.0</modelVersion> |
6 | 4 |
|
7 | 5 | <parent> |
|
16 | 14 |
|
17 | 15 | <name>pdfHTML</name> |
18 | 16 | <description>pdfHTML is an iText 7 add-on that lets you to parse (X)HTML snippets and the associated CSS and converts |
19 | | - them to PDF. |
20 | | - </description> |
| 17 | + them to PDF.</description> |
21 | 18 | <url>http://itextpdf.com/</url> |
22 | 19 |
|
23 | 20 | <properties> |
24 | 21 | <itext.version>${project.parent.version}</itext.version> |
25 | 22 | <javadoc.version>2.10.4</javadoc.version> |
26 | 23 | </properties> |
27 | 24 |
|
| 25 | + <repositories> |
| 26 | + <repository> |
| 27 | + <snapshots> |
| 28 | + <enabled>true</enabled> |
| 29 | + </snapshots> |
| 30 | + <id>itext-snapshot</id> |
| 31 | + <name>iText Repository - snapshots</name> |
| 32 | + <url>https://repo.itextsupport.com/snapshot</url> |
| 33 | + </repository> |
| 34 | + <repository> |
| 35 | + <snapshots> |
| 36 | + <enabled>false</enabled> |
| 37 | + </snapshots> |
| 38 | + <id>itext-releases</id> |
| 39 | + <name>iText Repository - releases</name> |
| 40 | + <url>https://repo.itextsupport.com/releases</url> |
| 41 | + </repository> |
| 42 | + </repositories> |
| 43 | + |
28 | 44 | <dependencies> |
29 | 45 | <dependency> |
30 | 46 | <groupId>com.itextpdf</groupId> |
|
33 | 49 | </dependency> |
34 | 50 | <dependency> |
35 | 51 | <groupId>com.itextpdf</groupId> |
36 | | - <artifactId>pdftest</artifactId> |
| 52 | + <artifactId>forms</artifactId> |
37 | 53 | <version>${itext.version}</version> |
38 | | - <scope>test</scope> |
39 | 54 | </dependency> |
40 | 55 | <dependency> |
41 | 56 | <groupId>com.itextpdf</groupId> |
42 | | - <artifactId>pdfa</artifactId> |
| 57 | + <artifactId>pdftest</artifactId> |
43 | 58 | <version>${itext.version}</version> |
44 | 59 | <scope>test</scope> |
45 | 60 | </dependency> |
46 | 61 | <dependency> |
47 | 62 | <groupId>com.itextpdf</groupId> |
48 | | - <artifactId>hyph</artifactId> |
| 63 | + <artifactId>pdfa</artifactId> |
49 | 64 | <version>${itext.version}</version> |
50 | 65 | <scope>test</scope> |
51 | 66 | </dependency> |
52 | 67 | <dependency> |
53 | 68 | <groupId>com.itextpdf</groupId> |
54 | | - <artifactId>forms</artifactId> |
| 69 | + <artifactId>hyph</artifactId> |
55 | 70 | <version>${itext.version}</version> |
| 71 | + <scope>test</scope> |
56 | 72 | </dependency> |
57 | 73 | </dependencies> |
58 | 74 |
|
59 | | - <repositories> |
60 | | - <repository> |
61 | | - <id>itext-snapshot</id> |
62 | | - <name>iText Repository - snapshots</name> |
63 | | - <url>https://repo.itextsupport.com/snapshot</url> |
64 | | - <snapshots> |
65 | | - <enabled>true</enabled> |
66 | | - </snapshots> |
67 | | - </repository> |
68 | | - <repository> |
69 | | - <id>itext-releases</id> |
70 | | - <name>iText Repository - releases</name> |
71 | | - <url>https://repo.itextsupport.com/releases</url> |
72 | | - <snapshots> |
73 | | - <enabled>false</enabled> |
74 | | - </snapshots> |
75 | | - </repository> |
76 | | - </repositories> |
77 | | - |
78 | 75 | <build> |
| 76 | + <resources> |
| 77 | + <resource> |
| 78 | + <directory>src/main/java</directory> |
| 79 | + <includes> |
| 80 | + <include>**/*.properties</include> |
| 81 | + </includes> |
| 82 | + </resource> |
| 83 | + <resource> |
| 84 | + <directory>src/main/resources</directory> |
| 85 | + <includes> |
| 86 | + <include>**/*.css</include> |
| 87 | + <include>**/*.ttf</include> |
| 88 | + </includes> |
| 89 | + </resource> |
| 90 | + </resources> |
79 | 91 | <plugins> |
80 | 92 | <plugin> |
81 | 93 | <groupId>org.apache.maven.plugins</groupId> |
|
107 | 119 | <plugin> |
108 | 120 | <groupId>org.apache.maven.plugins</groupId> |
109 | 121 | <artifactId>maven-source-plugin</artifactId> |
110 | | - <version>3.0.0</version> |
111 | | - <configuration> |
112 | | - <excludes> |
113 | | - <exclude>**</exclude> |
114 | | - </excludes> |
115 | | - </configuration> |
| 122 | + <version>3.0.1</version> |
| 123 | + <executions> |
| 124 | + <execution> |
| 125 | + <id>attach-sources</id> |
| 126 | + <phase>verify</phase> |
| 127 | + <goals> |
| 128 | + <goal>jar-no-fork</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + </executions> |
116 | 132 | </plugin> |
117 | 133 | <plugin> |
118 | 134 | <groupId>org.revapi</groupId> |
|
131 | 147 | <groupId>org.apache.maven.plugins</groupId> |
132 | 148 | <artifactId>maven-javadoc-plugin</artifactId> |
133 | 149 | <version>${javadoc.version}</version> |
134 | | - <configuration> |
135 | | - <quiet>true</quiet> |
136 | | - <failOnError>true</failOnError> |
137 | | - </configuration> |
138 | 150 | <executions> |
139 | 151 | <execution> |
140 | 152 | <id>attach-javadocs</id> |
|
143 | 155 | </goals> |
144 | 156 | </execution> |
145 | 157 | </executions> |
| 158 | + <configuration> |
| 159 | + <quiet>true</quiet> |
| 160 | + <failOnError>true</failOnError> |
| 161 | + </configuration> |
146 | 162 | </plugin> |
147 | 163 | <plugin> |
148 | 164 | <groupId>org.apache.felix</groupId> |
|
199 | 215 | </executions> |
200 | 216 | </plugin> |
201 | 217 | </plugins> |
202 | | - <resources> |
203 | | - <resource> |
204 | | - <directory>src/main/java</directory> |
205 | | - <includes> |
206 | | - <include>**/*.properties</include> |
207 | | - </includes> |
208 | | - </resource> |
209 | | - <resource> |
210 | | - <directory>src/main/resources</directory> |
211 | | - <includes> |
212 | | - <include>**/*.css</include> |
213 | | - <include>**/*.ttf</include> |
214 | | - </includes> |
215 | | - </resource> |
216 | | - </resources> |
217 | 218 | </build> |
218 | | - |
219 | 219 | </project> |
0 commit comments