|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2011-2012 Christos KK Loverdos |
| 4 | + ~ |
| 5 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + ~ you may not use this file except in compliance with the License. |
| 7 | + ~ You may obtain a copy of the License at |
| 8 | + ~ |
| 9 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + ~ |
| 11 | + ~ Unless required by applicable law or agreed to in writing, software |
| 12 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + ~ See the License for the specific language governing permissions and |
| 15 | + ~ limitations under the License. |
| 16 | + --> |
| 17 | +<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"> |
| 18 | + |
| 19 | + |
| 20 | + <modelVersion>4.0.0</modelVersion> |
| 21 | + <parent> |
| 22 | + <groupId>org.sonatype.oss</groupId> |
| 23 | + <artifactId>oss-parent</artifactId> |
| 24 | + <version>7</version> |
| 25 | + </parent> |
| 26 | + |
| 27 | + <groupId>com.ckkloverdos</groupId> |
| 28 | + <artifactId>streamresource</artifactId> |
| 29 | + <version>0.4.0-SNAPSHOT</version> |
| 30 | + <packaging>jar</packaging> |
| 31 | + |
| 32 | + <name>StreamResource</name> |
| 33 | + <description> |
| 34 | + Convenient abstractions related to the getResource() pattern. |
| 35 | + Introduces the idea of resource contexts, which are responsible for resource resolving. |
| 36 | + </description> |
| 37 | + <url>https://github.com/loverdos/streamresource</url> |
| 38 | + <inceptionYear>2011</inceptionYear> |
| 39 | + <organization> |
| 40 | + <name>ckkloverdos.com</name> |
| 41 | + <url>http://ckkloverdos.com</url> |
| 42 | + </organization> |
| 43 | + |
| 44 | + <licenses> |
| 45 | + <license> |
| 46 | + <name>Apache 2</name> |
| 47 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 48 | + </license> |
| 49 | + </licenses> |
| 50 | + |
| 51 | + <developers> |
| 52 | + <developer> |
| 53 | + <id>loverdos</id> |
| 54 | + <name>Christos KK Loverdos</name> |
| 55 | + <email>loverdos@gmail.com</email> |
| 56 | + </developer> |
| 57 | + </developers> |
| 58 | + |
| 59 | + <scm> |
| 60 | + <url>https://loverdos@github.com/loverdos/streamresource</url> |
| 61 | + <connection>scm:git:https://loverdos@github.com/loverdos/streamresource.git</connection> |
| 62 | + <developerConnection>scm:git:git@github.com:loverdos/streamresource.git</developerConnection> |
| 63 | + </scm> |
| 64 | + |
| 65 | + <issueManagement> |
| 66 | + <system>Github</system> |
| 67 | + <url>https://github.com/loverdos/streamresource/issues</url> |
| 68 | + </issueManagement> |
| 69 | + |
| 70 | + <properties> |
| 71 | + <scala.version>2.9.1</scala.version> |
| 72 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 73 | + <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding> |
| 74 | + </properties> |
| 75 | + |
| 76 | + <dependencies> |
| 77 | + <dependency> |
| 78 | + <groupId>org.scala-lang</groupId> |
| 79 | + <artifactId>scala-library</artifactId> |
| 80 | + <version>${scala.version}</version> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>com.ckkloverdos</groupId> |
| 84 | + <artifactId>maybe</artifactId> |
| 85 | + <version>0.4.0-SNAPSHOT</version> |
| 86 | + </dependency> |
| 87 | + <dependency> |
| 88 | + <groupId>com.ckkloverdos</groupId> |
| 89 | + <artifactId>sysprop</artifactId> |
| 90 | + <version>0.4.0-SNAPSHOT</version> |
| 91 | + </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>com.ckkloverdos</groupId> |
| 94 | + <artifactId>converter</artifactId> |
| 95 | + <version>0.4.0-SNAPSHOT</version> |
| 96 | + </dependency> |
| 97 | + <dependency> |
| 98 | + <groupId>com.ckkloverdos</groupId> |
| 99 | + <artifactId>typedkey</artifactId> |
| 100 | + <version>0.4.0-SNAPSHOT</version> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>junit</groupId> |
| 104 | + <artifactId>junit</artifactId> |
| 105 | + <version>4.10</version> |
| 106 | + <scope>test</scope> |
| 107 | + </dependency> |
| 108 | + </dependencies> |
| 109 | + |
| 110 | + <build> |
| 111 | + <sourceDirectory>src/main/scala</sourceDirectory> |
| 112 | + <testSourceDirectory>src/test/scala</testSourceDirectory> |
| 113 | + <resources> |
| 114 | + <resource> |
| 115 | + <directory>${basedir}/src/main/resources</directory> |
| 116 | + </resource> |
| 117 | + </resources> |
| 118 | + <testResources> |
| 119 | + <testResource> |
| 120 | + <directory>${basedir}/src/test/resources</directory> |
| 121 | + </testResource> |
| 122 | + </testResources> |
| 123 | + <plugins> |
| 124 | + <plugin> |
| 125 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 126 | + <version>1.0.1</version> |
| 127 | + <executions> |
| 128 | + <execution> |
| 129 | + <id>enforce-tools</id> |
| 130 | + <goals> |
| 131 | + <goal>enforce</goal> |
| 132 | + </goals> |
| 133 | + <configuration> |
| 134 | + <rules> |
| 135 | + <requireJavaVersion> |
| 136 | + <version>[1.6.0,)</version> |
| 137 | + </requireJavaVersion> |
| 138 | + <requireMavenVersion> |
| 139 | + <version>[3.0.3,)</version> |
| 140 | + </requireMavenVersion> |
| 141 | + </rules> |
| 142 | + </configuration> |
| 143 | + </execution> |
| 144 | + </executions> |
| 145 | + </plugin> |
| 146 | + |
| 147 | + <plugin> |
| 148 | + <groupId>org.scala-tools</groupId> |
| 149 | + <artifactId>maven-scala-plugin</artifactId> |
| 150 | + <version>2.15.2</version> |
| 151 | + <configuration> |
| 152 | + <scalaVersion>${scala.version}</scalaVersion> |
| 153 | + <charset>${project.build.sourceEncoding}</charset> |
| 154 | + <args> |
| 155 | + <arg>-deprecation</arg> |
| 156 | + <arg>-unchecked</arg> |
| 157 | + <arg>-optimize</arg> |
| 158 | + </args> |
| 159 | + <charset>${project.build.sourceEncoding}</charset> |
| 160 | + </configuration> |
| 161 | + <executions> |
| 162 | + <execution> |
| 163 | + <goals> |
| 164 | + <goal>compile</goal> |
| 165 | + <goal>testCompile</goal> |
| 166 | + </goals> |
| 167 | + </execution> |
| 168 | + </executions> |
| 169 | + </plugin> |
| 170 | + |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-surefire-plugin</artifactId> |
| 174 | + <version>2.9</version> |
| 175 | + <configuration> |
| 176 | + <useFile>false</useFile> |
| 177 | + <reportFormat>plain</reportFormat> |
| 178 | + </configuration> |
| 179 | + </plugin> |
| 180 | + |
| 181 | + <plugin> |
| 182 | + <groupId>org.apache.maven.plugins</groupId> |
| 183 | + <artifactId>maven-source-plugin</artifactId> |
| 184 | + <version>2.1.2</version> |
| 185 | + <executions> |
| 186 | + <execution> |
| 187 | + <id>attach-sources</id> |
| 188 | + <goals> |
| 189 | + <goal>jar-no-fork</goal> |
| 190 | + </goals> |
| 191 | + </execution> |
| 192 | + </executions> |
| 193 | + </plugin> |
| 194 | + |
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-release-plugin</artifactId> |
| 198 | + <version>2.2.2</version> |
| 199 | + <configuration> |
| 200 | + <preparationGoals>clean verify</preparationGoals> |
| 201 | + </configuration> |
| 202 | + </plugin> |
| 203 | + |
| 204 | + <plugin> |
| 205 | + <artifactId>maven-repository-plugin</artifactId> |
| 206 | + <version>2.3.1</version> |
| 207 | + </plugin> |
| 208 | + </plugins> |
| 209 | + </build> |
| 210 | +</project> |
0 commit comments