<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.cssparser</groupId>
<artifactId>cssparser</artifactId>
<version>0.9.30-SNAPSHOT</version>
<name>CSS Parser</name>
<url>http://cssparser.sourceforge.net/</url>
<packaging>jar</packaging>
<description>A CSS parser which implements SAC (the Simple API for CSS).</description>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.8.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>7.4.1</version>
<configuration>
<failBuildOnCVSS>0</failBuildOnCVSS>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
</plugin>
<plugin>
<!-- generate parsers and lexers before compiling -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>javacc</id>
<goals>
<goal>javacc</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>7.0.12</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<basedir>${project.build.directory}/generated-sources/javacc/com/steadystate/css/parser</basedir>
<includes>
<include>SACParserCSSmobileOKBasic1.java</include>
<include>SACParserCSSmobileOKBasic1TokenManager.java</include>
<include>SACParserCSS1.java</include>
<include>SACParserCSS1TokenManager.java</include>
<include>SACParserCSS2.java</include>
<include>SACParserCSS2TokenManager.java</include>
<include>SACParserCSS21.java</include>
<include>SACParserCSS21TokenManager.java</include>
<include>SACParserCSS3.java</include>
<include>SACParserCSS3TokenManager.java</include>
<include>Token.java</include>
<include>TokenMgrError.java</include>
</includes>
<regex>true</regex>
<regexFlags>
<regexFlag>MULTILINE</regexFlag>
</regexFlags>
<replacements>
<replacement>
<token>@SuppressWarnings("unused")</token>
<value>@SuppressWarnings({"unused", "all"})</value>
</replacement>
<replacement>
<token>\{if \("" != null\) return (..*)\}\n throw new Error\("Missing return statement in function"\);</token>
<value>return $1</value>
</replacement>
<replacement>
<token>\{if \("" != null\) return (..*)\}\n(\s*break;)?</token>
<value>return $1</value>
</replacement>
<replacement>
<token>\{if \("" != null\) return;\}</token>
<value>return;</value>
</replacement>
<replacement>
<token>\{if \(true\) throw (..*)\}(\n)(\s*break;\n)?</token>
<value>throw $1$2</value>
</replacement>
<replacement>
<token>\s*throw new Error\("Missing return statement in function"\);</token>
<value></value>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<suppressionsLocation>checkstyle_suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>9.3</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Url>${project.url}</Url>
<Build-Time>${maven.build.timestamp}</Build-Time>
</manifestEntries>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
<plugin>
<!-- always generate a source JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<doclint>none</doclint>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<link>http://www.w3.org/Style/CSS/SAC/doc/</link>
</links>
<additionalparam>--allow-script-in-comments</additionalparam>
<excludePackageNames>com.gargoylesoftware.css.parser.javacc</excludePackageNames>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<additionalBuildcommands>
<buildcommand>net.sf.eclipsecs.core.CheckstyleBuilder</buildcommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>net.sf.eclipsecs.core.CheckstyleNature</projectnature>
</additionalProjectnatures>
<additionalConfig>
<file>
<name>.checkstyle</name>
<content>
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
<local-check-config name="CSS Parser" location="checkstyle.xml" type="project" description="CSS Parser">
<property name="checkstyle.suppressions.file" value="$${project_loc}/checkstyle_suppressions.xml"/>
<additional-data name="protect-config-file" value="false" />
</local-check-config>
<fileset name="all" enabled="true" check-config-name="CSS Parser" local="true">
<file-match-pattern match-pattern="^src/.*\.java$" include-pattern="true"/>
</fileset>
<filter name="NonSrcDirs" enabled="true" />
</fileset-config>
]]>
</content>
</file>
</additionalConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<doclint>none</doclint>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<link>http://www.w3.org/Style/CSS/SAC/doc/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<issueLinkTemplatePerSystem>
<features>http://sourceforge.net/p/htmlunit/feature-requests/%ISSUE%</features>
</issueLinkTemplatePerSystem>
</configuration>
</plugin>
</plugins>
</reporting>
<issueManagement>
<system>SourceForge2</system>
<url>http://sourceforge.net/p/cssparser/bugs/</url>
</issueManagement>
<inceptionYear>1999</inceptionYear>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:svn:svn://svn.code.sf.net/p/cssparser/code/trunk/cssparser</connection>
<developerConnection>scm:svn:svn+ssh://svn.code.sf.net/p/cssparser/code/trunk/cssparser</developerConnection>
<url>http://svn.code.sf.net/p/cssparser/code/trunk/cssparser</url>
</scm>
<ciManagement>
<system>Jenkins</system>
<url>https://wetator.ci.cloudbees.com/job/CSSParser/</url>
</ciManagement>
<mailingLists>
<mailingList>
<name>CSSParser Developers</name>
<subscribe>https://lists.sourceforge.net/lists/listinfo/cssparser-developers</subscribe>
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/cssparser-developers</unsubscribe>
<archive>http://sourceforge.net/p/cssparser/mailman/cssparser-developers</archive>
<post>cssparser-develops@lists.sourceforge.net</post>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>David Schweinsberg</name>
<id>davidsch</id>
<email>davidsch@users.sourceforge.net</email>
</developer>
<developer>
<name>Alan Krueger</name>
<id>alankrueger</id>
</developer>
<developer>
<name>Daniel Gredler</name>
<id>sdanig</id>
<email>sdanig@users.sourceforge.net</email>
<url>http://daniel.gredler.net/</url>
<timezone>-5</timezone>
</developer>
<developer>
<name>Johannes Koch</name>
<id>waldbaer</id>
<email>waldbaer@users.sourceforge.net</email>
</developer>
<developer>
<name>Ronald Brill</name>
<id>rbri</id>
<email>rbri@rbri.de</email>
<url>http://www.wetator.org/</url>
<timezone>+1</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Ahmed Ashour</name>
</contributor>
<contributor>
<name>Christian Morgner</name>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>org.w3c.css</groupId>
<artifactId>sac</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>