alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Akka/Scala example source code file (features.xml)

This example Akka source code file (features.xml) is included in my "Source Code Warehouse" project. The intent of this project is to help you more easily find Akka and Scala source code examples by using tags.

All credit for the original source code belongs to akka.io; I'm just trying to make examples easier to find. (For my Scala work, see my Scala examples and tutorials.)

Akka tags/keywords

dining, hakker, maths, osgi, sample, todo, utf-8

The features.xml Akka example source code

<?xml version="1.0" encoding="UTF-8"?>
<features name="akka.features-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

    <feature name='osgi-compendium' description='OSGi compendium feature' version='${osgi.version}' resolver='(obr)'>
        <bundle start-level="10">mvn:org.osgi/org.osgi.compendium/${osgi.version}</bundle>
    </feature>

    <feature name='scala' description='Scala' version='${scala.version}' resolver='(obr)'>
      <bundle start-level="15">mvn:org.scala-lang/scala-library/${scala.version}</bundle>
      <bundle start-level="15">mvn:org.scala-lang/scala-reflect/${scala.version}</bundle>
    </feature>

    <feature name='uncommons-maths' description='Uncommons Maths' version='${uncommons-maths.version}' resolver='(obr)'>
        <!-- TODO replace this with upstream uncommons maths 1.2.3 which is OSGi enabled -->
        <bundle start-level="20">mvn:com.typesafe.akka.akka-sample-osgi-dining-hakkers/uncommons/1.2.2</bundle>
    </feature>

    <feature name='protobuf' description='Protobuf feature' version='${protobuf.version}' resolver='(obr)'>
        <bundle start-level="20">mvn:com.google.protobuf/protobuf-java/${protobuf.version}</bundle>
    </feature>

    <feature name='netty' description='Netty feature' version='${netty.version}' resolver='(obr)'>
        <bundle start-level="20">mvn:io.netty/netty/${netty.version}</bundle>
    </feature>

    <feature name='leveldb' description='LevelDB feature' version='${leveldb.version}' resolver='(obr)'>
        <bundle start-level="20">wrap:mvn:org.iq80.leveldb/leveldb/${leveldb.version}</bundle>
        <bundle start-level="20">wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/${leveldbjni.version}</bundle>
    </feature>

    <feature name='typesafe-config' description='Typesafe config' version='${typesafe.config.version}' resolver='(obr)'>
        <bundle start-level="25">mvn:com.typesafe/config/${typesafe.config.version}</bundle>
    </feature>

    <feature name='akka' description='Akka' version='${akka.version}' resolver='(obr)'>
        <feature version="${scala.version}">scala</feature>
        <feature version="${netty.version}">netty</feature>
        <feature version="${uncommons-maths.version}">uncommons-maths</feature>
        <feature version="${protobuf.version}">protobuf</feature>
        <feature version="${typesafe.config.version}">typesafe-config</feature>
        <feature version="${leveldb.version}">leveldb</feature>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-actor_${scala.dep.version}/${akka.version}</bundle>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-osgi_${scala.dep.version}/${akka.version}</bundle>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-remote_${scala.dep.version}/${akka.version}</bundle>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-cluster_${scala.dep.version}/${akka.version}</bundle>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-persistence-experimental_${scala.dep.version}/${akka.version}</bundle>
        <bundle start-level="30">mvn:com.typesafe.akka/akka-slf4j_${scala.dep.version}/${akka.version}</bundle>
    </feature>

    <feature name='dining-hakker' description='Akka Dining Hakker Sample' version='${project.version}' resolver='(obr)'>
        <feature version="${akka.version}">akka</feature>
        <bundle start-level="50">mvn:com.typesafe.akka.akka-sample-osgi-dining-hakkers/api/${project.version}</bundle>
        <bundle start-level="50">mvn:com.typesafe.akka.akka-sample-osgi-dining-hakkers/core/${project.version}</bundle>
        <bundle start-level="50">mvn:com.typesafe.akka.akka-sample-osgi-dining-hakkers/command/${project.version}</bundle>
    </feature>
</features>

Other Akka source code examples

Here is a short list of links related to this Akka features.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.