| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-project</artifactId> |
| <version>1.7</version> |
| </parent> |
| |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-scala</artifactId> |
| <version>1.7</version> |
| <packaging>pom</packaging> |
| |
| <name>${project.artifactId}</name> |
| <description>Holds the common Maven settings for Scala based modules.</description> |
| |
| <dependencies> |
| |
| <!-- Scala Support: this needs to be copied into every scala project --> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <scope>compile</scope> |
| <version>${scala-version}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| |
| <defaultGoal>install</defaultGoal> |
| <sourceDirectory>src/main/scala</sourceDirectory> |
| <testSourceDirectory>src/test/scala</testSourceDirectory> |
| |
| <resources> |
| <resource> |
| <directory>target/schema</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>${scala-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <testSourceDir>dontcompile</testSourceDir> |
| <useFsc>true</useFsc> |
| <once>true</once> |
| <args> |
| <arg>-deprecation</arg> |
| <arg>-feature</arg> |
| </args> |
| <compilerPlugins> |
| <compilerPlugin> |
| <groupId>org.fusesource.jvmassert</groupId> |
| <artifactId>jvmassert</artifactId> |
| <version>1.4</version> |
| </compilerPlugin> |
| </compilerPlugins> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| <configuration> |
| <!-- <displayCmd>true</displayCmd> --> |
| <mainSourceDir>dontcompile</mainSourceDir> |
| <useFsc>true</useFsc> |
| <once>true</once> |
| <args> |
| <arg>-deprecation</arg> |
| <arg>-feature</arg> |
| </args> |
| <compilerPlugins> |
| <compilerPlugin> |
| <groupId>org.fusesource.jvmassert</groupId> |
| <artifactId>jvmassert</artifactId> |
| <version>1.4</version> |
| </compilerPlugin> |
| </compilerPlugins> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <jvmArgs> |
| <jvmArg>-Xmx1024m</jvmArg> |
| <jvmArg>-Xss8m</jvmArg> |
| </jvmArgs> |
| <scalaVersion>${scala-version}</scalaVersion> |
| <target>jvm-1.6</target> |
| <javacArgs> |
| <javacArg>-g</javacArg> |
| <javacArg>-target</javacArg> |
| <javacArg>1.6</javacArg> |
| <javacArg>-source</javacArg> |
| <javacArg>1.6</javacArg> |
| </javacArgs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin-version}</version> |
| <configuration> |
| <childDelegation>false</childDelegation> |
| <useFile>true</useFile> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |