<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" > <!-- - This pom is only for `mvn eclipse:eclipse', - for complete structure, see directory maven2/. --> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.openid4java</groupId> <artifactId>openid4java-parent</artifactId> <version>0.9.5</version> <relativePath>maven2/pom.xml</relativePath> </parent> <artifactId>openid4java-nodeps</artifactId> <packaging>jar</packaging> <name>OpenID4Java no dependencies</name> <properties> <encoding>UTF-8</encoding> <java.src.version>1.5</java.src.version> <jetty.version>6.0.2</jetty.version> <test.servlet.port>8989</test.servlet.port> <test.data.src>${basedir}/test/yadisdata/</test.data.src> <test.data.build>${basedir}/target/test-data</test.data.build> </properties> <build> <sourceDirectory>${basedir}/src</sourceDirectory> <resources> <resource> <directory>${basedir}/src</directory> </resource> </resources> <testSourceDirectory>${basedir}/test/src</testSourceDirectory> <testResources> <testResource> <directory>${basedir}/test/src</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.src.version}</source> <target>${java.src.version}</target> <debug>true</debug> <optimize>true</optimize> </configuration> </plugin> <!-- clean coverage data before collecting --> <plugin> <artifactId>cobertura-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <version>2.0</version> <executions> <execution> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <configuration> <tasks unless="maven.test.skip"> <echo message="To skip me, just call mvn -Dmaven.test.skip=true" /> <delete dir="${test.data.build}" /> <copy todir="${test.data.build}"> <fileset dir="${test.data.src}" /> </copy> <replace token="SERVLET_PORT" value="${test.servlet.port}" dir="${test.data.build}" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemProperties> <property> <name>YADIS_TEST_DATA</name> <value>${test.data.build}</value> </property> <property> <name>SERVLET_PORT</name> <value>${test.servlet.port}</value> </property> <property> <name>TEST_DATA</name> <value>${basedir}/test/src/org/openid4java/</value> </property> </systemProperties> </configuration> </plugin> </plugins> </build> <reporting> <outputDirectory>${basedir}/maven2/target/site/${project.artifactId}/</outputDirectory> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <minmemory>128m</minmemory> <maxmemory>512m</maxmemory> <encoding>${encoding}</encoding> <docencoding>${encoding}</docencoding> <charset>${encoding}</charset> </configuration> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> <configuration> <inputEncoding>${encoding}</inputEncoding> <outputEncoding>${encoding}</outputEncoding> <linkJavadoc>true</linkJavadoc> <javadocDir>apidocs</javadocDir> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <configuration> <tags> <tag>TODO</tag> <tag>FIXME</tag> <tag>@todo</tag> <tag>@deprecated</tag> </tags> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <!-- version 2.1 is bugged ouput coverage 100% or 0% --> <version>2.0</version> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> <configuration> <showSuccess>false</showSuccess> </configuration> <reportSets> <reportSet> <reports> <report>report-only</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation>${basedir}/openid4java_checks.xml</configLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <configuration> <linkXref>true</linkXref> <sourceEncoding>${encoding}</sourceEncoding> <minimumTokens>100</minimumTokens> <targetJdk>${java.src.version}</targetJdk> </configuration> <reportSets> <reportSet> <reports> <report>pmd</report> <report>cpd</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rat-maven-plugin</artifactId> <version>1.0-alpha-3</version> </plugin> </plugins> </reporting> <dependencies> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.openxri</groupId> <artifactId>openxri-syntax</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.openxri</groupId> <artifactId>openxri-client</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.3.0</version> <scope>provided</scope> </dependency> <!-- higgins --> <!-- Resolve this basedir dependencies before upload to ibiblio. --> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-configuration-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-common</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-server-token-handler</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-spi</artifactId> <scope>provided</scope> </dependency> <!-- Discovery --> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.8.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>xml-security</groupId> <artifactId>xmlsec</artifactId> <version>1.3.0</version> <scope>provided</scope> </dependency> <!-- Infocard --> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-api</artifactId> <scope>provided</scope> </dependency> <!-- higgins --> <!-- Resolve this basedir dependencies before upload to ibiblio. --> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-configuration-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-common</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-server-token-handler</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.higgins</groupId> <artifactId>higgins-sts-spi</artifactId> <scope>provided</scope> </dependency> <!-- JdbcServerAssociationStore --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <scope>provided</scope> </dependency> <!-- Sample Consumer --> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <scope>provided</scope> </dependency> <!-- Test --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> <version>1.0</version> <scope>test</scope> </dependency> <dependency> <groupId>jetty</groupId> <artifactId>jetty</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>jetty</groupId> <artifactId>jetty-util</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sourceforge.jwebunit</groupId> <artifactId>jwebunit-htmlunit-plugin</artifactId> <version>1.4.1</version> <scope>test</scope> <exclusions> <exclusion> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>nekohtml</groupId> <artifactId>nekohtml</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <scm> <connection>scm:svn:http://openid4java.googlecode.com/svn/trunk/</connection> <developerConnection>scm:svn:https://openid4java.googlecode.com/svn/trunk/</developerConnection> <tag>HEAD</tag> <url>http://openid4java.googlecode.com/svn/trunk/</url> </scm> </project>