Skip to content

Commit

Permalink
Revert "Remove Maven build."
Browse files Browse the repository at this point in the history
This reverts commit c2364fa.
  • Loading branch information
carlosame committed Jun 2, 2021
1 parent f9138db commit 3439091
Showing 1 changed file with 114 additions and 0 deletions.
114 changes: 114 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.sf.carte</groupId>
<artifactId>css4j-dist</artifactId>
<version>3.5.0</version>
</parent>
<groupId>io.sf.carte</groupId>
<artifactId>css4j-agent</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>io.sf.carte</groupId>
<artifactId>css4j</artifactId>
<version>${project.parent.version}</version>
<type>jar</type>
<scope>compile</scope>
<optional>false</optional>
</dependency>
<dependency>
<groupId>io.sf.carte</groupId>
<artifactId>xml-dtd</artifactId>
<version>${project.parent.version}</version>
<type>jar</type>
<scope>compile</scope>
<optional>false</optional>
</dependency>
<dependency>
<groupId>io.sf.carte</groupId>
<artifactId>css4j</artifactId>
<version>${project.parent.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nu.validator</groupId>
<artifactId>htmlparser</artifactId>
<version>[1.4,1.5)</version>
<scope>compile</scope>
<optional>false</optional>
</dependency>
<!-- Not required for compiling, but this dependency was optional in the
core module and it is mandatory for user agents. So we set as a
mandatory dependency here. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
<scope>compile</scope>
<optional>false</optional>
</dependency>
</dependencies>
<build>
<directory>${project.basedir}/build</directory>
<outputDirectory>${project.build.directory}/bin</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName>
<testOutputDirectory>${project.build.directory}/testbin</testOutputDirectory>
<sourceDirectory>${project.basedir}/src</sourceDirectory>
<testSourceDirectory>${project.basedir}/junit</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>https://docs.oracle.com/en/java/javase/11/docs/api/</link>
<link>https://css4j.github.io/api/3/</link>
<link>https://about.validator.nu/htmlparser/apidocs/</link>
</links>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.build.sourceDirectory}</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>LICENSE.txt</include>
<include>LICENSES.txt</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${project.basedir}/junit</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
</testResources>
</build>
<scm>
<connection>scm:git:https://github.com/css4j/css4j-agent.git</connection>
<url>https://github.com/css4j/css4j-agent</url>
</scm>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub css4j Apache Maven Packages</name>
<url>https://maven.pkg.github.com/css4j/css4j-agent</url>
</repository>
</distributionManagement>
<issueManagement>
<url>https://github.com/css4j/css4j-agent/issues</url>
</issueManagement>
</project>

0 comments on commit 3439091

Please sign in to comment.