| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <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"> |
|---|
| 3 | |
|---|
| 4 | <modelVersion>4.0.0</modelVersion> |
|---|
| 5 | |
|---|
| 6 | <groupId>org.aiotrade</groupId> |
|---|
| 7 | <artifactId>cgi-bin</artifactId> |
|---|
| 8 | <version>1.0-SNAPSHOT</version> |
|---|
| 9 | <packaging>pom</packaging> |
|---|
| 10 | |
|---|
| 11 | <name>AIOTrade CGI-BIN</name> |
|---|
| 12 | <description>Modules for CGI-BIN</description> |
|---|
| 13 | |
|---|
| 14 | <properties> |
|---|
| 15 | <scala.version>2.8.0.Beta1-RC7</scala.version> |
|---|
| 16 | <jetty-version>7.0.1.v20091125</jetty-version> |
|---|
| 17 | <jetty-maven-plugin-version>${jetty-version}</jetty-maven-plugin-version> |
|---|
| 18 | </properties> |
|---|
| 19 | |
|---|
| 20 | <repositories> |
|---|
| 21 | |
|---|
| 22 | <repository> |
|---|
| 23 | <id>scala-tools.release</id> |
|---|
| 24 | <name>Scala-Tools Release Repository</name> |
|---|
| 25 | <url>http://scala-tools.org/repo-releases</url> |
|---|
| 26 | </repository> |
|---|
| 27 | |
|---|
| 28 | <repository> |
|---|
| 29 | <id>scala-tools.snapshot</id> |
|---|
| 30 | <name>Scala-Tools Snapshot Repository</name> |
|---|
| 31 | <url>http://scala-tools.org/repo-snapshots</url> |
|---|
| 32 | </repository> |
|---|
| 33 | |
|---|
| 34 | </repositories> |
|---|
| 35 | |
|---|
| 36 | <pluginRepositories> |
|---|
| 37 | |
|---|
| 38 | <pluginRepository> |
|---|
| 39 | <id>scala-tools.org</id> |
|---|
| 40 | <name>Scala-Tools Maven2 Repository</name> |
|---|
| 41 | <url>http://scala-tools.org/repo-releases</url> |
|---|
| 42 | </pluginRepository> |
|---|
| 43 | |
|---|
| 44 | <pluginRepository> |
|---|
| 45 | <id>jetty.releases</id> |
|---|
| 46 | <name>Jetty Maven2 Release Repository</name> |
|---|
| 47 | <url>http://oss.sonatype.org/content/repositories/jetty-releases</url> |
|---|
| 48 | |
|---|
| 49 | </pluginRepository> |
|---|
| 50 | </pluginRepositories> |
|---|
| 51 | |
|---|
| 52 | <dependencies> |
|---|
| 53 | |
|---|
| 54 | <dependency> |
|---|
| 55 | <groupId>org.scala-lang</groupId> |
|---|
| 56 | <artifactId>scala-library</artifactId> |
|---|
| 57 | <version>${scala.version}</version> |
|---|
| 58 | </dependency> |
|---|
| 59 | |
|---|
| 60 | <dependency> |
|---|
| 61 | <groupId>javax.servlet</groupId> |
|---|
| 62 | <artifactId>servlet-api</artifactId> |
|---|
| 63 | <version>2.5</version> |
|---|
| 64 | <!--scope>provided</scope--> |
|---|
| 65 | </dependency> |
|---|
| 66 | |
|---|
| 67 | <dependency> |
|---|
| 68 | <groupId>javax.servlet.jsp</groupId> |
|---|
| 69 | <artifactId>jsp-api</artifactId> |
|---|
| 70 | <version>2.1</version> |
|---|
| 71 | <scope>provided</scope> |
|---|
| 72 | </dependency> |
|---|
| 73 | |
|---|
| 74 | <dependency> |
|---|
| 75 | <groupId>junit</groupId> |
|---|
| 76 | <artifactId>junit</artifactId> |
|---|
| 77 | <version>4.4</version> |
|---|
| 78 | <scope>test</scope> |
|---|
| 79 | </dependency> |
|---|
| 80 | |
|---|
| 81 | </dependencies> |
|---|
| 82 | |
|---|
| 83 | <build> |
|---|
| 84 | <sourceDirectory>src/main/scala</sourceDirectory> |
|---|
| 85 | <testSourceDirectory>src/test/scala</testSourceDirectory> |
|---|
| 86 | <plugins> |
|---|
| 87 | <plugin> |
|---|
| 88 | <groupId>org.scala-tools</groupId> |
|---|
| 89 | <artifactId>maven-scala-plugin</artifactId> |
|---|
| 90 | <executions> |
|---|
| 91 | <execution> |
|---|
| 92 | <goals> |
|---|
| 93 | <goal>compile</goal> |
|---|
| 94 | <goal>testCompile</goal> |
|---|
| 95 | </goals> |
|---|
| 96 | </execution> |
|---|
| 97 | </executions> |
|---|
| 98 | <configuration> |
|---|
| 99 | <scalaVersion>${scala.version}</scalaVersion> |
|---|
| 100 | <args> |
|---|
| 101 | <arg>-target:jvm-1.5</arg> |
|---|
| 102 | <arg>-make:transitivenocp</arg> |
|---|
| 103 | <arg>-dependencyfile</arg> |
|---|
| 104 | <arg>${project.build.directory}/.scala_dependencies</arg> |
|---|
| 105 | </args> |
|---|
| 106 | </configuration> |
|---|
| 107 | </plugin> |
|---|
| 108 | |
|---|
| 109 | <plugin> |
|---|
| 110 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 111 | <artifactId>maven-compiler-plugin</artifactId> |
|---|
| 112 | <configuration> |
|---|
| 113 | <source>1.5</source> |
|---|
| 114 | <target>1.5</target> |
|---|
| 115 | </configuration> |
|---|
| 116 | </plugin> |
|---|
| 117 | |
|---|
| 118 | </plugins> |
|---|
| 119 | </build> |
|---|
| 120 | |
|---|
| 121 | <reporting> |
|---|
| 122 | <plugins> |
|---|
| 123 | <plugin> |
|---|
| 124 | <groupId>org.scala-tools</groupId> |
|---|
| 125 | <artifactId>maven-scala-plugin</artifactId> |
|---|
| 126 | <configuration> |
|---|
| 127 | <scalaVersion>${scala.version}</scalaVersion> |
|---|
| 128 | </configuration> |
|---|
| 129 | </plugin> |
|---|
| 130 | </plugins> |
|---|
| 131 | </reporting> |
|---|
| 132 | |
|---|
| 133 | <modules> |
|---|
| 134 | <module>lib.cgi</module> |
|---|
| 135 | <module>blogtrader.net</module> |
|---|
| 136 | </modules> |
|---|
| 137 | </project> |
|---|