1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <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"> 4 <modelVersion>4.0.0</modelVersion> 5 6 <parent> 7 <groupId>org.sonatype.oss</groupId> 8 <artifactId>oss-parent</artifactId> 9 <version>7</version> 10 </parent> 11 12 <groupId>com.squareup</groupId> 13 <artifactId>javawriter</artifactId> 14 <version>2.2.1</version> 15 16 <name>JavaWriter</name> 17 <description>A utility class which aids in generating Java source files.</description> 18 <url>http://github.com/square/javawriter/</url> 19 20 <properties> 21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 22 23 <java.version>1.6</java.version> 24 <junit.version>4.10</junit.version> 25 <fest.version>2.0M8</fest.version> 26 </properties> 27 28 <scm> 29 <url>http://github.com/square/javawriter/</url> 30 <connection>scm:git:git://github.com/square/javawriter.git</connection> 31 <developerConnection>scm:git:ssh://git (a] github.com/square/javawriter.git</developerConnection> 32 <tag>HEAD</tag> 33 </scm> 34 35 <issueManagement> 36 <system>GitHub Issues</system> 37 <url>http://github.com/square/javawriter/issues</url> 38 </issueManagement> 39 40 <licenses> 41 <license> 42 <name>Apache 2.0</name> 43 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 44 </license> 45 </licenses> 46 47 <organization> 48 <name>Square, Inc.</name> 49 <url>http://squareup.com</url> 50 </organization> 51 52 <dependencies> 53 <dependency> 54 <groupId>junit</groupId> 55 <artifactId>junit</artifactId> 56 <version>${junit.version}</version> 57 <scope>test</scope> 58 </dependency> 59 <dependency> 60 <groupId>org.easytesting</groupId> 61 <artifactId>fest-assert-core</artifactId> 62 <version>${fest.version}</version> 63 <scope>test</scope> 64 </dependency> 65 </dependencies> 66 67 <build> 68 <plugins> 69 <plugin> 70 <groupId>org.apache.maven.plugins</groupId> 71 <artifactId>maven-compiler-plugin</artifactId> 72 <version>3.0</version> 73 <configuration> 74 <source>${java.version}</source> 75 <target>${java.version}</target> 76 </configuration> 77 </plugin> 78 79 <plugin> 80 <groupId>org.apache.maven.plugins</groupId> 81 <artifactId>maven-checkstyle-plugin</artifactId> 82 <version>2.9.1</version> 83 <configuration> 84 <failsOnError>true</failsOnError> 85 <configLocation>checkstyle.xml</configLocation> 86 <consoleOutput>true</consoleOutput> 87 </configuration> 88 <executions> 89 <execution> 90 <phase>verify</phase> 91 <goals> 92 <goal>checkstyle</goal> 93 </goals> 94 </execution> 95 </executions> 96 </plugin> 97 </plugins> 98 </build> 99 </project> 100