|
Akka/Scala example source code file (pom.xml)
The pom.xml Akka example source code<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>com.typesafe.akka.akka-sample-osgi-dining-hakkers</groupId> <artifactId>project</artifactId> <version>2.4-SNAPSHOT</version> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <akka.version>2.4-SNAPSHOT</akka.version> <karaf.version>2.3.1</karaf.version> <karaf.tooling.exam.version>${karaf.version}</karaf.tooling.exam.version> <netty.version>3.8.0.Final</netty.version> <osgi.version>4.3.1</osgi.version> <paxexam.version>2.6.0</paxexam.version> <paxswissbox.version>1.6.0</paxswissbox.version> <protobuf.version>2.5.0</protobuf.version> <scala.version>2.10.4</scala.version> <scala.dep.version>2.10</scala.dep.version> <scalatest.version>2.0</scalatest.version> <typesafe.config.version>1.2.0</typesafe.config.version> <leveldb.version>0.7</leveldb.version> <leveldbjni.version>1.7</leveldbjni.version> <uncommons-maths.version>1.2.2</uncommons-maths.version> </properties> <modules> <module>api</module> <module>command</module> <module>uncommons</module> <module>core</module> <module>assembly-features</module> <module>assembly-dist</module> <module>integration-test</module> </modules> <packaging>pom</packaging> <name>akka-sample-osgi-dining-hakkers</name> <dependencyManagement> <dependencies> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <version>${osgi.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> <version>${osgi.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>command</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>akka-sample-osgi-dining-hakkers</artifactId> <version>${project.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-osgi_${scala.dep.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-cluster_${scala.dep.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-remote_${scala.dep.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-slf4j_${scala.dep.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-persistence-experimental_${scala.dep.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe</groupId> <artifactId>config</artifactId> <version>${typesafe.config.version}</version> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>${protobuf.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>org.iq80.leveldb</groupId> <artifactId>leveldb</artifactId> <version>${leveldb.version}</version> </dependency> <dependency> <groupId>org.fusesource.leveldbjni</groupId> <artifactId>leveldbjni-all</artifactId> <version>${leveldbjni.version}</version> </dependency> <dependency> <groupId>org.apache.karaf.tooling.exam</groupId> <artifactId>org.apache.karaf.tooling.exam.container</artifactId> <version>${karaf.tooling.exam.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-junit4</artifactId> <version>${paxexam.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-testkit_${scala.dep.version}</artifactId> <version>${akka.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.dep.version}</artifactId> <version>${scalatest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-compiler</artifactId> <version>${scala.version}</version> </dependency> <!-- Depend on both the tar.gz and the zip, Pax Exam then does not have to download them separately --> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <version>${karaf.version}</version> <type>tar.gz</type> </dependency> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <version>${karaf.version}</version> <type>zip</type> </dependency> </dependencies> <repositories> <repository> <id>oss-sonatype-releases</id> <url>https://oss.sonatype.org/content/repositories/releases</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/main/scala</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>3.1.2</version> <executions> <execution> <id>scala-compile-first</id> <phase>process-resources</phase> <goals> <goal>add-source</goal> <goal>compile</goal> </goals> </execution> <execution> <id>scala-test-compile</id> <phase>process-test-resources</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <args> <arg>-deprecation</arg> <arg>-feature</arg> <arg>-encoding</arg> <arg>UTF-8</arg> <!--<arg>-uniqid</arg>--> </args> <!--<useZincServer>true</useZincServer>--> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> </plugin> </plugins> </build> </project> Other Akka source code examplesHere is a short list of links related to this Akka pom.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.