Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Init

  • Loading branch information...
commit a9cf1fb695f3813323341d0eb20cd1b4edede3a4 1 parent ae1071d
@longkerdandy authored
Showing with 1,118 additions and 0 deletions.
  1. +1 −0  README
  2. BIN  assembly/bin/felix.jar
  3. BIN  assembly/bundle/asm-all-3.3.jar
  4. BIN  assembly/bundle/commons-collections-3.2.1.jar
  5. BIN  assembly/bundle/commons-io-2.0.jar
  6. BIN  assembly/bundle/commons-lang-2.5.jar
  7. BIN  assembly/bundle/commons-pool-1.5.5.jar
  8. BIN  assembly/bundle/derby-10.6.1.0.jar
  9. BIN  assembly/bundle/geronimo-j2ee-connector_1.5_spec-2.0.0.jar
  10. BIN  assembly/bundle/geronimo-jpa_2.0_spec-1.1.jar
  11. BIN  assembly/bundle/geronimo-jta_1.1_spec-1.1.1.jar
  12. BIN  assembly/bundle/geronimo-transaction-2.1.3.jar
  13. BIN  assembly/bundle/gson-1.6.jar
  14. BIN  assembly/bundle/jcl-over-slf4j-1.6.1.jar
  15. BIN  assembly/bundle/logback-classic-0.9.26.jar
  16. BIN  assembly/bundle/logback-core-0.9.26.jar
  17. BIN  assembly/bundle/netty-3.2.3.Final.jar
  18. BIN  assembly/bundle/openjpa-2.0.1.jar
  19. BIN  assembly/bundle/org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar
  20. BIN  assembly/bundle/org.apache.aries.jndi-0.3-incubating-SNAPSHOT.jar
  21. BIN  assembly/bundle/org.apache.aries.jpa.api-0.3-incubating-SNAPSHOT.jar
  22. BIN  assembly/bundle/org.apache.aries.jpa.blueprint.aries-0.3-incubating-SNAPSHOT.jar
  23. BIN  assembly/bundle/org.apache.aries.jpa.container-0.3-incubating-SNAPSHOT.jar
  24. BIN  assembly/bundle/org.apache.aries.jpa.container.context-0.3-incubating-SNAPSHOT.jar
  25. BIN  assembly/bundle/org.apache.aries.transaction.blueprint-0.3-incubating-SNAPSHOT.jar
  26. BIN  assembly/bundle/org.apache.aries.transaction.manager-0.3-incubating-SNAPSHOT.jar
  27. BIN  assembly/bundle/org.apache.aries.transaction.wrappers-0.3-incubating-SNAPSHOT.jar
  28. BIN  assembly/bundle/org.apache.aries.util-0.3-incubating-SNAPSHOT.jar
  29. BIN  assembly/bundle/org.apache.felix.bundlerepository-1.6.4.jar
  30. BIN  assembly/bundle/org.apache.felix.configadmin-1.2.8.jar
  31. BIN  assembly/bundle/org.apache.felix.eventadmin-1.2.6.jar
  32. BIN  assembly/bundle/org.apache.felix.fileinstall-3.1.0.jar
  33. BIN  assembly/bundle/org.apache.felix.gogo.command-0.6.1.jar
  34. BIN  assembly/bundle/org.apache.felix.gogo.runtime-0.6.1.jar
  35. BIN  assembly/bundle/org.apache.felix.gogo.shell-0.6.1.jar
  36. BIN  assembly/bundle/org.apache.felix.http.jetty-2.0.4.jar
  37. BIN  assembly/bundle/org.apache.felix.http.whiteboard-2.0.4.jar
  38. BIN  assembly/bundle/org.apache.servicemix.bundles.serp-1.13.1_3.jar
  39. BIN  assembly/bundle/slf4j-api-1.6.1.jar
  40. BIN  assembly/bundle/snakeyaml-1.7.jar
  41. BIN  assembly/bundle/vaadin-6.4.8.jar
  42. +2 −0  assembly/conf/chii2/org.apache.felix.fileinstall-configDir.cfg
  43. +60 −0 assembly/conf/chii2/org.chii2.medialibrary.core.cfg
  44. +7 −0 assembly/conf/chii2/org.chii2.medialibrary.file.cfg
  45. +6 −0 assembly/conf/chii2/org.chii2.medialibrary.provider.tmdb.cfg
  46. +546 −0 assembly/conf/config.properties
  47. +42 −0 assembly/conf/logback.xml
  48. +2 −0  assembly/conf/system.properties
  49. +75 −0 assembly/pom.xml
  50. +377 −0 pom.xml
View
1  README
@@ -0,0 +1 @@
+Chii2
View
BIN  assembly/bin/felix.jar
Binary file not shown
View
BIN  assembly/bundle/asm-all-3.3.jar
Binary file not shown
View
BIN  assembly/bundle/commons-collections-3.2.1.jar
Binary file not shown
View
BIN  assembly/bundle/commons-io-2.0.jar
Binary file not shown
View
BIN  assembly/bundle/commons-lang-2.5.jar
Binary file not shown
View
BIN  assembly/bundle/commons-pool-1.5.5.jar
Binary file not shown
View
BIN  assembly/bundle/derby-10.6.1.0.jar
Binary file not shown
View
BIN  assembly/bundle/geronimo-j2ee-connector_1.5_spec-2.0.0.jar
Binary file not shown
View
BIN  assembly/bundle/geronimo-jpa_2.0_spec-1.1.jar
Binary file not shown
View
BIN  assembly/bundle/geronimo-jta_1.1_spec-1.1.1.jar
Binary file not shown
View
BIN  assembly/bundle/geronimo-transaction-2.1.3.jar
Binary file not shown
View
BIN  assembly/bundle/gson-1.6.jar
Binary file not shown
View
BIN  assembly/bundle/jcl-over-slf4j-1.6.1.jar
Binary file not shown
View
BIN  assembly/bundle/logback-classic-0.9.26.jar
Binary file not shown
View
BIN  assembly/bundle/logback-core-0.9.26.jar
Binary file not shown
View
BIN  assembly/bundle/netty-3.2.3.Final.jar
Binary file not shown
View
BIN  assembly/bundle/openjpa-2.0.1.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.jndi-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.jpa.api-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.jpa.blueprint.aries-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.jpa.container-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.jpa.container.context-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.transaction.blueprint-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.transaction.manager-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.transaction.wrappers-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.aries.util-0.3-incubating-SNAPSHOT.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.bundlerepository-1.6.4.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.configadmin-1.2.8.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.eventadmin-1.2.6.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.fileinstall-3.1.0.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.gogo.command-0.6.1.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.gogo.runtime-0.6.1.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.gogo.shell-0.6.1.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.http.jetty-2.0.4.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.felix.http.whiteboard-2.0.4.jar
Binary file not shown
View
BIN  assembly/bundle/org.apache.servicemix.bundles.serp-1.13.1_3.jar
Binary file not shown
View
BIN  assembly/bundle/slf4j-api-1.6.1.jar
Binary file not shown
View
BIN  assembly/bundle/snakeyaml-1.7.jar
Binary file not shown
View
BIN  assembly/bundle/vaadin-6.4.8.jar
Binary file not shown
View
2  assembly/conf/chii2/org.apache.felix.fileinstall-configDir.cfg
@@ -0,0 +1,2 @@
+felix.fileinstall.dir=dropin
+service.factoryPid = org.apache.felix.fileinstall
View
60 assembly/conf/chii2/org.chii2.medialibrary.core.cfg
@@ -0,0 +1,60 @@
+# Configuration for Chii2 Media Library Core Service
+
+# Movie File Name Separator
+# This is used to split file name string, and replaced by white space
+# eg: Harry.Potter.and.the.Order.of.the.Phoenix --> Harry Potter and the Order of the Phoenix
+movie.file.name.separator=[\\._]
+
+# Movie File Parse Patten
+# This is a regexp pattern used to parse movie file name into different useful information
+# These information will be save in the media library and may be used to fetch information from online provider
+# The regexp group are:
+# 1. name --- which will be recognized as movie name (title)
+# 2. year --- which will be recognized as movie released year
+# 3. info --- which will be further parsed into <source> <video_codec> <audio_codec> <resolution> group
+# 4. group --- which will be recognized movie released group (usually 0day group)
+# 5. disk --- which will be recognized as movie file disk number
+# 6. ext --- which will be recognized as movie file extension
+# The regexp must have <name> <ext> group
+# User can define multiple regexp patterns, patterns will be checked in the configuration order
+# Each regexp pattern should be separated by ':'
+#
+# The default pattern:
+# ^(?<name>[\\w\\.\\-\\']+)\\.\\(?(?<year>\\d{4})\\)?(?<info>(\\.\\w+)+)(\\-|\\.)\\[?(?<group>\\w+)\\]?\\.((?<disk>\\w+)\\.)?(?<ext>[\\w\\-]+)$
+# Will match standard 0day (warez) released fle format
+# eg:
+# Harry.Potter.And.The.Philosophers.Stone.2001.HDrip.Xvid.AC3-Prodji.avi
+# Harry.Potter.And.The.Philosophers.Stone.2001.HDrip.Xvid.AC3.Prodji.avi
+# Harry.Potter.And.The.Philosophers.Stone.(2001).HDrip.Xvid.AC3-Prodji.avi
+#
+# The default pattern:
+# ^(?<name>[\\w\\.\\-\\']+)\\.(?<ext>[\\w\\-]+)$
+# Will match all the files and use file name as movie name, so this pattern should always stays at the end
+movie.file.pattern=^(?<name>[\\w\\.\\-\\']+)\\.\\(?(?<year>\\d{4})\\)?(?<info>(\\.\\w+)+)(\\-|\\.)\\[?(?<group>\\w+)\\]?\\.((?<disk>\\w+)\\.)?(?<ext>[\\w\\-]+)$ :\
+^(?<name>[\\w\\.\\-\\']+)\\.(?<ext>[\\w\\-]+)$
+
+# Movie Information Source Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the source type
+movie.file.source.pattern=(?<source>BDRip|BRRip|BluRay|HD-DVD|DVDRip|TVRip|HDTVRip|HDRip|CAM|TS|DVDScr|Scr|R5)
+
+# Movie Information Video Codec Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie video codec
+movie.file.video.codec.pattern=(?<video_codec>XviD|DivX|DivX5|H264|X264)
+
+# Movie Information Audio Codec Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie audio codec
+movie.file.audio.codec.pattern=(?<audio_codec>AC3|DTS)
+
+# Movie Information Video Resolution Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie video resolution
+movie.file.video.resolution.pattern=(?<resolution>\\d+p)
+
+# Movie Online Information Provider
+# The provider is used to fetch movie information and images from internet
+# User can define multiple providers, providers will be checked in the configuration order
+# Each regexp pattern should be separated by ':'
+movie.provider=tmdb
View
7 assembly/conf/chii2/org.chii2.medialibrary.file.cfg
@@ -0,0 +1,7 @@
+# Configuration for Chii2 Media Library File Service
+
+# The Movie Directories
+movie.directory=/home/longkerdandy/Videos
+
+# Acceptable Video File Extensions
+video.extension=3g2:2gp:asf:avi:bsf:divx:dvdmedia:dvr-ms:f4v:flv:hdmov:m2p:m4v:mkv:mov:mp4:mpeg:mpg:ogm:rm:rmvb:swf:trp:ts:vob:vro:wmv:wtv:xvid
View
6 assembly/conf/chii2/org.chii2.medialibrary.provider.tmdb.cfg
@@ -0,0 +1,6 @@
+# Configuration for TMDb Provider
+
+# TMDb API interface type.
+# TMDb provide several api interfaces: XML, YAML, JSON.
+# Currently, TMDb Provider only support YAML interface.
+tmdb.api.parser=yaml
View
546 assembly/conf/config.properties
@@ -0,0 +1,546 @@
+# 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.
+
+#
+# Framework config properties.
+#
+
+# To override the packages the framework exports by default from the
+# class path, set this variable.
+org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
+ org.osgi.framework.launch; version=1.0.0, \
+ org.osgi.framework.hooks.service; version=1.0.0, \
+ org.osgi.service.packageadmin; version=1.2.0, \
+ org.osgi.service.startlevel; version=1.1.0, \
+ org.osgi.service.url; version=1.0.0, \
+ org.osgi.util.tracker; version=1.4.0 \
+ ${jre-${java.specification.version}}
+
+#
+# Java platform package export properties.
+#
+jre-1.3=, \
+ javax.accessibility; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ version="0.0.0.1_003_J2SE", \
+ javax.transaction; partial=true; mandatory:=partial; version="0.0.0.1_003_JavaSE"
+
+
+jre-1.4=, \
+ javax.accessibility; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.cert; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="0.0.0.1_004_J2SE", \
+ javax.transaction; partial=true; mandatory:=partial; version="0.0.0.1_004_JavaSE", \
+ javax.transaction.xa; partial=true; mandatory:=partial; version="0.0.0.1_004_JavaSE"
+
+
+jre-1.5=, \
+ javax.accessibility; \
+ javax.activity; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.cert; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.xml; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="0.0.0.1_005_J2SE", \
+ javax.transaction; partial=true; mandatory:=partial; version="0.0.0.1_005_JavaSE", \
+ javax.transaction.xa; partial=true; mandatory:=partial; version="0.0.0.1_005_JavaSE"
+
+jre-1.6=, \
+ javax.accessibility; \
+ javax.activation; \
+ javax.activity; \
+ javax.annotation; \
+ javax.annotation.processing; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.jws; \
+ javax.jws.soap; \
+ javax.lang.model; \
+ javax.lang.model.element; \
+ javax.lang.model.type; \
+ javax.lang.model.util; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.script; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.cert; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.tools; \
+ javax.xml; \
+ javax.xml.bind; \
+ javax.xml.bind.annotation; \
+ javax.xml.bind.annotation.adapters; \
+ javax.xml.bind.attachment; \
+ javax.xml.bind.helpers; \
+ javax.xml.bind.util; \
+ javax.xml.crypto; \
+ javax.xml.crypto.dom; \
+ javax.xml.crypto.dsig; \
+ javax.xml.crypto.dsig.dom; \
+ javax.xml.crypto.dsig.keyinfo; \
+ javax.xml.crypto.dsig.spec; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.soap; \
+ javax.xml.stream; \
+ javax.xml.stream.events; \
+ javax.xml.stream.util; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.ws; \
+ javax.xml.ws.handler; \
+ javax.xml.ws.handler.soap; \
+ javax.xml.ws.http; \
+ javax.xml.ws.soap; \
+ javax.xml.ws.spi; \
+ javax.xml.ws.wsaddressing; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.w3c.dom.xpath; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ sun.text; \
+ sun.security.action; \
+ version="0.0.0.1_006_JavaSE", \
+ javax.transaction; partial=true; mandatory:=partial; version="0.0.0.1_006_JavaSE", \
+ javax.transaction.xa; partial=true; mandatory:=partial; version="0.0.0.1_006_JavaSE"
+
+# To append packages to the default set of exported system packages,
+# set this value.
+#org.osgi.framework.system.packages.extra=
+
+# The following property makes specified packages from the class path
+# available to all bundles. You should avoid using this property.
+#org.osgi.framework.bootdelegation=sun.*,com.sun.*
+
+# Felix tries to guess when to implicitly boot delegate in certain
+# situations to ease integration without outside code. This feature
+# is enabled by default, uncomment the following line to disable it.
+#felix.bootdelegation.implicit=false
+
+# The following property explicitly specifies the location of the bundle
+# cache, which defaults to "felix-cache" in the current working directory.
+# If this value is not absolute, then the felix.cache.rootdir controls
+# how the absolute location is calculated. (See next property)
+#org.osgi.framework.storage=${dollar}{felix.cache.rootdir}/felix-cache
+
+# The following property is used to convert a relative bundle cache
+# location into an absolute one by specifying the root to prepend to
+# the relative cache path. The default for this property is the
+# current working directory.
+#felix.cache.rootdir=${dollar}{user.dir}
+
+# The following property controls whether the bundle cache is flushed
+# the first time the framework is initialized. Possible values are
+# "none" and "onFirstInit"; the default is "none".
+#org.osgi.framework.storage.clean=onFirstInit
+
+# The following property determines which actions are performed when
+# processing the auto-deploy directory. It is a comma-delimited list of
+# the following values: 'install', 'start', 'update', and 'uninstall'.
+# An undefined or blank value is equivalent to disabling auto-deploy
+# processing.
+felix.auto.deploy.action=install,start
+
+# The following property specifies the directory to use as the bundle
+# auto-deploy directory; the default is 'bundle' in the working directory.
+#felix.auto.deploy.dir=bundle
+
+# The following property is a space-delimited list of bundle URLs
+# to install when the framework starts. The ending numerical component
+# is the target start level. Any number of these properties may be
+# specified for different start levels.
+#felix.auto.install.1=
+
+# The following property is a space-delimited list of bundle URLs
+# to install and start when the framework starts. The ending numerical
+# component is the target start level. Any number of these properties
+# may be specified for different start levels.
+#felix.auto.start.1=
+
+felix.log.level=1
+
+# Sets the initial start level of the framework upon startup.
+#org.osgi.framework.startlevel.beginning=1
+
+# Sets the start level of newly installed bundles.
+#felix.startlevel.bundle=1
+
+# Felix installs a stream and content handler factories by default,
+# uncomment the following line to not install them.
+#felix.service.urlhandlers=false
+
+# The launcher registers a shutdown hook to cleanly stop the framework
+# by default, uncomment the following line to disable it.
+#felix.shutdown.hook=false
+
+#
+# Bundle config properties.
+#
+
+org.osgi.service.http.port=8080
+obr.repository.url=http://felix.apache.org/obr/releases.xml
+felix.fileinstall.dir=./conf/chii2
View
42 assembly/conf/logback.xml
@@ -0,0 +1,42 @@
+<configuration>
+
+ <appender name="Chii2" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>log/chii2.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- rollover daily -->
+ <fileNamePattern>chii2-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+ <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
+ <!-- or whenever the file size reaches 10MB -->
+ <maxFileSize>10MB</maxFileSize>
+ </timeBasedFileNamingAndTriggeringPolicy>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%date{yyyy-MM-dd HH:mm:ss} [%level] %logger{50} [%file:%line] %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="OSGi" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>log/platform.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- rollover daily -->
+ <fileNamePattern>chii2-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+ <timeBasedFileNamingAndTriggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
+ <!-- or whenever the file size reaches 10MB -->
+ <maxFileSize>10MB</maxFileSize>
+ </timeBasedFileNamingAndTriggeringPolicy>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%date{yyyy-MM-dd HH:mm:ss} [%level] %logger{50} [%file:%line] %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="org.chii2" level="debug" additivity="false">
+ <appender-ref ref="Chii2"/>
+ </logger>
+
+ <root level="warn">
+ <appender-ref ref="OSGi"/>
+ </root>
+
+</configuration>
View
2  assembly/conf/system.properties
@@ -0,0 +1,2 @@
+logback.configurationFile=conf/logback.xml
+derby.stream.error.file=log/derby.log
View
75 assembly/pom.xml
@@ -0,0 +1,75 @@
+<?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">
+ <parent>
+ <artifactId>chii2</artifactId>
+ <groupId>org.chii2</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>chii2.assembly</artifactId>
+ <packaging>pom</packaging>
+
+ <name>Chii2 Assembly</name>
+ <url>http://www.chii2.org</url>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.shell</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.datasource</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.persistence</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.file</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.tmdbprovider</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.utility</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <directory>dropin</directory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
View
377 pom.xml
@@ -0,0 +1,377 @@
+<?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>org.chii2</groupId>
+ <artifactId>chii2</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>Chii2</name>
+
+ <modules>
+ <module>medialibrary.api</module>
+ <module>medialibrary.core</module>
+ <module>medialibrary.datasource</module>
+ <module>medialibrary.persistence</module>
+ <module>medialibrary.file</module>
+ <module>medialibrary.tmdbprovider</module>
+ <module>utility</module>
+ <module>assembly</module>
+ <module>medialibrary.shell</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>gson</id>
+ <url>http://google-gson.googlecode.com/svn/mavenrepo</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>repository.jboss.org</id>
+ <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>Sonatype-public</id>
+ <url>http://oss.sonatype.org/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <dependencyManagement>
+ <dependencies>
+ <!-- Chii Project Component -->
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.api</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.core</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.shell</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.datasource</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.persistence</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.file</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.medialibrary.tmdbprovider</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.chii2</groupId>
+ <artifactId>chii2.utility</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <!-- Apache Felix (OSGi framework) -->
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.bundlerepository</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.configadmin</artifactId>
+ <version>1.2.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.eventadmin</artifactId>
+ <version>1.2.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.fileinstall</artifactId>
+ <version>3.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.runtime</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.shell</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.command</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.http.jetty</artifactId>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.http.whiteboard</artifactId>
+ <version>2.0.4</version>
+ </dependency>
+
+ <!-- Apache Aries (OSGi enterprise framework) -->
+ <dependency>
+ <groupId>org.apache.aries.blueprint</groupId>
+ <artifactId>org.apache.aries.blueprint</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.jndi</groupId>
+ <artifactId>org.apache.aries.jndi</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.jpa</groupId>
+ <artifactId>org.apache.aries.jpa.api</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.jpa</groupId>
+ <artifactId>org.apache.aries.jpa.blueprint.aries</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.jpa</groupId>
+ <artifactId>org.apache.aries.jpa.container</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.jpa</groupId>
+ <artifactId>org.apache.aries.jpa.container.context</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.transaction</groupId>
+ <artifactId>org.apache.aries.transaction.blueprint</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.transaction</groupId>
+ <artifactId>org.apache.aries.transaction.manager</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.transaction</groupId>
+ <artifactId>org.apache.aries.transaction.wrappers</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>org.apache.aries.util</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ </dependency>
+
+ <!-- OpenJPA and related -->
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>asm</groupId>
+ <artifactId>asm-all</artifactId>
+ <version>3.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.serp</artifactId>
+ <version>1.13.1_3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_2.0_spec</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jta_1.1_spec</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.components</groupId>
+ <artifactId>geronimo-transaction</artifactId>
+ <version>3.0</version>
+ </dependency>
+
+ <!-- Database -->
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.6.2.1</version>
+ </dependency>
+
+ <!-- Apache Commons -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ <version>1.5.5</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.0</version>
+ </dependency>
+
+ <!-- Logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>0.9.26</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>0.9.26</version>
+ </dependency>
+
+ <!-- Json -->
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>1.6</version>
+ </dependency>
+
+ <!-- Yaml -->
+ <dependency>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>1.7</version>
+ </dependency>
+
+ <!-- Network: NIO -->
+ <dependency>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ <version>3.2.3.Final</version>
+ </dependency>
+
+ <!-- Web: Frameworks & Library -->
+ <dependency>
+ <groupId>com.vaadin</groupId>
+ <artifactId>vaadin</artifactId>
+ <version>6.4.8</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+
+ <!-- OSGi Bundle Plugin -->
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.1.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ </instructions>
+ </configuration>
+ </plugin>
+
+ <!-- Compiler Plugin -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+
+ <!-- OpenJPA PCEnhancer Plugin -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>enhancer</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Dependency Plugin -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <excludeTransitive>true</excludeTransitive>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.