| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
<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"> |
| 45 |
<modelVersion>4.0.0</modelVersion> |
| 46 |
|
| 47 |
<parent> |
| 48 |
<groupId>com.sun.jersey.contribs</groupId> |
| 49 |
<artifactId>scala</artifactId> |
| 50 |
<version>1.19.3</version> |
| 51 |
</parent> |
| 52 |
|
| 53 |
<artifactId>jersey-scala</artifactId> |
| 54 |
<name>jersey-scala</name> |
| 55 |
|
| 56 |
<profiles> |
| 57 |
<profile> |
| 58 |
<id>cobertura</id> |
| 59 |
<activation> |
| 60 |
<property> |
| 61 |
<name>cobertura</name> |
| 62 |
</property> |
| 63 |
</activation> |
| 64 |
<dependencies> |
| 65 |
<dependency> |
| 66 |
<groupId>com.sun.jersey</groupId> |
| 67 |
<artifactId>jersey-server</artifactId> |
| 68 |
<version>${project.version}</version> |
| 69 |
<classifier>cobertura</classifier> |
| 70 |
</dependency> |
| 71 |
</dependencies> |
| 72 |
</profile> |
| 73 |
<profile> |
| 74 |
<id>default</id> |
| 75 |
<activation> |
| 76 |
<activeByDefault>true</activeByDefault> |
| 77 |
</activation> |
| 78 |
<dependencies> |
| 79 |
<dependency> |
| 80 |
<groupId>com.sun.jersey</groupId> |
| 81 |
<artifactId>jersey-server</artifactId> |
| 82 |
<version>${project.version}</version> |
| 83 |
</dependency> |
| 84 |
</dependencies> |
| 85 |
</profile> |
| 86 |
<profile> |
| 87 |
<id>release</id> |
| 88 |
<build> |
| 89 |
<plugins> |
| 90 |
<plugin> |
| 91 |
<artifactId>maven-assembly-plugin</artifactId> |
| 92 |
<configuration> |
| 93 |
<descriptors> |
| 94 |
<descriptor>src/main/assembly/javadoc.xml</descriptor> |
| 95 |
</descriptors> |
| 96 |
</configuration> |
| 97 |
<executions> |
| 98 |
<execution> |
| 99 |
<id>make-assembly</id> |
| 100 |
<phase>package</phase> |
| 101 |
<goals> |
| 102 |
<goal>attached</goal> |
| 103 |
</goals> |
| 104 |
</execution> |
| 105 |
</executions> |
| 106 |
</plugin> |
| 107 |
<plugin> |
| 108 |
<groupId>org.apache.maven.plugins</groupId> |
| 109 |
<artifactId>maven-source-plugin</artifactId> |
| 110 |
<executions> |
| 111 |
<execution> |
| 112 |
<id>attach-sources</id> |
| 113 |
<phase>package</phase> |
| 114 |
<goals> |
| 115 |
<goal>jar</goal> |
| 116 |
</goals> |
| 117 |
</execution> |
| 118 |
</executions> |
| 119 |
</plugin> |
| 120 |
</plugins> |
| 121 |
</build> |
| 122 |
</profile> |
| 123 |
</profiles> |
| 124 |
|
| 125 |
<dependencies> |
| 126 |
<dependency> |
| 127 |
<groupId>org.scala-lang</groupId> |
| 128 |
<artifactId>scala-library</artifactId> |
| 129 |
<version>${scala.version}</version> |
| 130 |
</dependency> |
| 131 |
<dependency> |
| 132 |
<groupId>junit</groupId> |
| 133 |
<artifactId>junit</artifactId> |
| 134 |
<scope>test</scope> |
| 135 |
</dependency> |
| 136 |
<dependency> |
| 137 |
<groupId>org.mortbay.jetty</groupId> |
| 138 |
<artifactId>jetty</artifactId> |
| 139 |
<version>${jetty.version}</version> |
| 140 |
<scope>test</scope> |
| 141 |
</dependency> |
| 142 |
<dependency> |
| 143 |
<groupId>org.scala-lang</groupId> |
| 144 |
<artifactId>scala-compiler</artifactId> |
| 145 |
<version>${scala.version}</version> |
| 146 |
<scope>test</scope> |
| 147 |
</dependency> |
| 148 |
<dependency> |
| 149 |
<groupId>org.scala-tools.testing</groupId> |
| 150 |
<artifactId>scalatest</artifactId> |
| 151 |
<version>0.9.4</version> |
| 152 |
<scope>test</scope> |
| 153 |
<exclusions> |
| 154 |
<exclusion> |
| 155 |
<groupId>org.scala-lang</groupId> |
| 156 |
<artifactId>scala-library</artifactId> |
| 157 |
</exclusion> |
| 158 |
</exclusions> |
| 159 |
</dependency> |
| 160 |
</dependencies> |
| 161 |
|
| 162 |
<build> |
| 163 |
<sourceDirectory>src/main/scala</sourceDirectory> |
| 164 |
<testSourceDirectory>src/test/scala</testSourceDirectory> |
| 165 |
<plugins> |
| 166 |
<plugin> |
| 167 |
<groupId>org.scala-tools</groupId> |
| 168 |
<artifactId>maven-scala-plugin</artifactId> |
| 169 |
<version>2.10.1</version> |
| 170 |
<executions> |
| 171 |
<execution> |
| 172 |
<goals> |
| 173 |
<goal>compile</goal> |
| 174 |
<goal>testCompile</goal> |
| 175 |
</goals> |
| 176 |
</execution> |
| 177 |
</executions> |
| 178 |
<configuration> |
| 179 |
<scalaVersion>${scala.version}</scalaVersion> |
| 180 |
</configuration> |
| 181 |
</plugin> |
| 182 |
<plugin> |
| 183 |
<groupId>org.mortbay.jetty</groupId> |
| 184 |
<artifactId>maven-jetty-plugin</artifactId> |
| 185 |
<configuration> |
| 186 |
<contextPath>/</contextPath> |
| 187 |
<scanIntervalSeconds>0</scanIntervalSeconds> |
| 188 |
</configuration> |
| 189 |
</plugin> |
| 190 |
<plugin> |
| 191 |
<groupId>net.sf.alchim</groupId> |
| 192 |
<artifactId>yuicompressor-maven-plugin</artifactId> |
| 193 |
<executions> |
| 194 |
<execution> |
| 195 |
<goals> |
| 196 |
<goal>compress</goal> |
| 197 |
</goals> |
| 198 |
</execution> |
| 199 |
</executions> |
| 200 |
<configuration> |
| 201 |
<nosuffix>true</nosuffix> |
| 202 |
</configuration> |
| 203 |
</plugin> |
| 204 |
<plugin> |
| 205 |
<artifactId>maven-eclipse-plugin</artifactId> |
| 206 |
<version>2.6</version> |
| 207 |
<configuration> |
| 208 |
<downloadSources>true</downloadSources> |
| 209 |
<excludes> |
| 210 |
<exclude>org.scala-lang:scala-library</exclude> |
| 211 |
</excludes> |
| 212 |
<classpathContainers> |
| 213 |
<classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer> |
| 214 |
</classpathContainers> |
| 215 |
<projectnatures> |
| 216 |
<java.lang.String>ch.epfl.lamp.sdt.core.scalanature</java.lang.String> |
| 217 |
<java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String> |
| 218 |
</projectnatures> |
| 219 |
<buildcommands> |
| 220 |
<java.lang.String>ch.epfl.lamp.sdt.core.scalabuilder</java.lang.String> |
| 221 |
</buildcommands> |
| 222 |
</configuration> |
| 223 |
</plugin> |
| 224 |
</plugins> |
| 225 |
</build> |
| 226 |
</project> |