Skip to content

Commit 3439091

Browse files
committed
Revert "Remove Maven build."
This reverts commit c2364fa.
1 parent f9138db commit 3439091

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

pom.xml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4+
http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>io.sf.carte</groupId>
8+
<artifactId>css4j-dist</artifactId>
9+
<version>3.5.0</version>
10+
</parent>
11+
<groupId>io.sf.carte</groupId>
12+
<artifactId>css4j-agent</artifactId>
13+
<packaging>jar</packaging>
14+
<dependencies>
15+
<dependency>
16+
<groupId>io.sf.carte</groupId>
17+
<artifactId>css4j</artifactId>
18+
<version>${project.parent.version}</version>
19+
<type>jar</type>
20+
<scope>compile</scope>
21+
<optional>false</optional>
22+
</dependency>
23+
<dependency>
24+
<groupId>io.sf.carte</groupId>
25+
<artifactId>xml-dtd</artifactId>
26+
<version>${project.parent.version}</version>
27+
<type>jar</type>
28+
<scope>compile</scope>
29+
<optional>false</optional>
30+
</dependency>
31+
<dependency>
32+
<groupId>io.sf.carte</groupId>
33+
<artifactId>css4j</artifactId>
34+
<version>${project.parent.version}</version>
35+
<type>test-jar</type>
36+
<scope>test</scope>
37+
</dependency>
38+
<dependency>
39+
<groupId>nu.validator</groupId>
40+
<artifactId>htmlparser</artifactId>
41+
<version>[1.4,1.5)</version>
42+
<scope>compile</scope>
43+
<optional>false</optional>
44+
</dependency>
45+
<!-- Not required for compiling, but this dependency was optional in the
46+
core module and it is mandatory for user agents. So we set as a
47+
mandatory dependency here. -->
48+
<dependency>
49+
<groupId>org.slf4j</groupId>
50+
<artifactId>slf4j-api</artifactId>
51+
<version>1.7.30</version>
52+
<scope>compile</scope>
53+
<optional>false</optional>
54+
</dependency>
55+
</dependencies>
56+
<build>
57+
<directory>${project.basedir}/build</directory>
58+
<outputDirectory>${project.build.directory}/bin</outputDirectory>
59+
<finalName>${project.artifactId}-${project.version}</finalName>
60+
<testOutputDirectory>${project.build.directory}/testbin</testOutputDirectory>
61+
<sourceDirectory>${project.basedir}/src</sourceDirectory>
62+
<testSourceDirectory>${project.basedir}/junit</testSourceDirectory>
63+
<plugins>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-javadoc-plugin</artifactId>
67+
<configuration>
68+
<links>
69+
<link>https://docs.oracle.com/en/java/javase/11/docs/api/</link>
70+
<link>https://css4j.github.io/api/3/</link>
71+
<link>https://about.validator.nu/htmlparser/apidocs/</link>
72+
</links>
73+
</configuration>
74+
</plugin>
75+
</plugins>
76+
<resources>
77+
<resource>
78+
<directory>${project.build.sourceDirectory}</directory>
79+
<excludes>
80+
<exclude>**/*.java</exclude>
81+
</excludes>
82+
</resource>
83+
<resource>
84+
<directory>${project.basedir}</directory>
85+
<includes>
86+
<include>LICENSE.txt</include>
87+
<include>LICENSES.txt</include>
88+
</includes>
89+
</resource>
90+
</resources>
91+
<testResources>
92+
<testResource>
93+
<directory>${project.basedir}/junit</directory>
94+
<excludes>
95+
<exclude>**/*.java</exclude>
96+
</excludes>
97+
</testResource>
98+
</testResources>
99+
</build>
100+
<scm>
101+
<connection>scm:git:https://github.com/css4j/css4j-agent.git</connection>
102+
<url>https://github.com/css4j/css4j-agent</url>
103+
</scm>
104+
<distributionManagement>
105+
<repository>
106+
<id>github</id>
107+
<name>GitHub css4j Apache Maven Packages</name>
108+
<url>https://maven.pkg.github.com/css4j/css4j-agent</url>
109+
</repository>
110+
</distributionManagement>
111+
<issueManagement>
112+
<url>https://github.com/css4j/css4j-agent/issues</url>
113+
</issueManagement>
114+
</project>

0 commit comments

Comments
 (0)