Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

* cleaned up folder structure

* OSGiyfied artifact names
* polished poms a little
* edited Eclipse project names to align artifact id

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6618 5a64d73e-33d6-4ccc-9058-23f8668ecac9
  • Loading branch information...
odrotbohm committed Aug 5, 2009
1 parent 0aabad4 commit a0b7b1c2ca30291ea678c633640a3353a87c05ec
Showing with 450 additions and 17 deletions.
  1. +1 −1 .project
  2. 0 {hera-core → core}/.classpath
  3. +1 −1 {hera-core → core}/.project
  4. 0 {hera-core → core}/.settings/org.eclipse.jdt.core.prefs
  5. 0 {hera-core → core}/.settings/org.eclipse.wst.common.component
  6. 0 {hera-core → core}/.settings/org.eclipse.wst.common.project.facet.core.xml
  7. 0 {hera-core → core}/.settings/org.maven.ide.eclipse.prefs
  8. 0 {hera-core → core}/.springBeans
  9. +2 −4 {hera-core → core}/pom.xml
  10. 0 {hera-core → core}/src/doc/core.xml
  11. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/OrderAwarePluginRegistry.java
  12. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/Plugin.java
  13. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/PluginRegistry.java
  14. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/SimplePluginRegistry.java
  15. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/config/PluginListDefinitionParser.java
  16. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/config/PluginNamespaceHandler.java
  17. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/config/PluginRegistryDefinitionParser.java
  18. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/config/package.html
  19. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/package.html
  20. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/support/AbstractTypeAwareSupport.java
  21. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/support/BeanListFactoryBean.java
  22. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/support/PluginRegistryFactoryBean.java
  23. 0 {hera-core → core}/src/main/java/org/synyx/hera/core/support/package.html
  24. 0 {hera-core → core}/src/main/resources/META-INF/spring.handlers
  25. 0 {hera-core → core}/src/main/resources/META-INF/spring.schemas
  26. 0 {hera-core → core}/src/main/resources/org/synyx/hera/core/config/hera.xsd
  27. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest.java
  28. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/SamplePlugin.java
  29. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/SamplePluginHost.java
  30. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/SamplePluginImplementation.java
  31. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/SimplePluginRegistryUnitTest.java
  32. 0 {hera-core → core}/src/test/java/org/synyx/hera/core/config/PluginConfigurationIntegrationTest.java
  33. 0 {hera-core → core}/src/test/resources/application-context.xml
  34. 0 {hera-core → core}/src/test/resources/log4j.properties
  35. +26 −0 core/target/classes/META-INF/MANIFEST.MF
  36. +1 −0 core/target/classes/META-INF/spring.handlers
  37. +1 −0 core/target/classes/META-INF/spring.schemas
  38. BIN core/target/classes/org/synyx/hera/core/OrderAwarePluginRegistry.class
  39. BIN core/target/classes/org/synyx/hera/core/Plugin.class
  40. BIN core/target/classes/org/synyx/hera/core/PluginRegistry.class
  41. BIN core/target/classes/org/synyx/hera/core/SimplePluginRegistry.class
  42. BIN core/target/classes/org/synyx/hera/core/config/PluginListDefinitionParser.class
  43. BIN core/target/classes/org/synyx/hera/core/config/PluginNamespaceHandler.class
  44. BIN core/target/classes/org/synyx/hera/core/config/PluginRegistryDefinitionParser.class
  45. +49 −0 core/target/classes/org/synyx/hera/core/config/hera.xsd
  46. BIN core/target/classes/org/synyx/hera/core/support/AbstractTypeAwareSupport.class
  47. BIN core/target/classes/org/synyx/hera/core/support/BeanListFactoryBean.class
  48. BIN core/target/classes/org/synyx/hera/core/support/PluginRegistryFactoryBean.class
  49. BIN core/target/hera-core-0.5-SNAPSHOT-sources.jar
  50. BIN core/target/hera-core-0.5-SNAPSHOT.jar
  51. +5 −0 core/target/maven-archiver/pom.properties
  52. +98 −0 core/target/surefire-reports/TEST-org.synyx.hera.core.OrderAwarePluginRegistryUnitTest.xml
  53. +96 −0 core/target/surefire-reports/TEST-org.synyx.hera.core.SimplePluginRegistryUnitTest.xml
  54. +91 −0 core/target/surefire-reports/TEST-org.synyx.hera.core.config.PluginConfigurationIntegrationTest.xml
  55. +4 −0 core/target/surefire-reports/org.synyx.hera.core.OrderAwarePluginRegistryUnitTest.txt
  56. +4 −0 core/target/surefire-reports/org.synyx.hera.core.SimplePluginRegistryUnitTest.txt
  57. +4 −0 core/target/surefire-reports/org.synyx.hera.core.config.PluginConfigurationIntegrationTest.txt
  58. +24 −0 core/target/test-classes/application-context.xml
  59. +12 −0 core/target/test-classes/log4j.properties
  60. BIN core/target/test-classes/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest$1.class
  61. BIN ...arget/test-classes/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest$FirstImplementation.class
  62. BIN ...rget/test-classes/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest$SecondImplementation.class
  63. BIN core/target/test-classes/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest$TestPlugin.class
  64. BIN core/target/test-classes/org/synyx/hera/core/OrderAwarePluginRegistryUnitTest.class
  65. BIN core/target/test-classes/org/synyx/hera/core/SamplePlugin.class
  66. BIN core/target/test-classes/org/synyx/hera/core/SamplePluginHost.class
  67. BIN core/target/test-classes/org/synyx/hera/core/SamplePluginImplementation.class
  68. BIN core/target/test-classes/org/synyx/hera/core/SimplePluginRegistryUnitTest.class
  69. BIN core/target/test-classes/org/synyx/hera/core/config/PluginConfigurationIntegrationTest.class
  70. 0 {hera-metadata → metadata}/.classpath
  71. +1 −1 {hera-metadata → metadata}/.project
  72. 0 {hera-metadata → metadata}/.settings/org.eclipse.jdt.core.prefs
  73. 0 {hera-metadata → metadata}/.settings/org.eclipse.wst.common.component
  74. 0 {hera-metadata → metadata}/.settings/org.eclipse.wst.common.project.facet.core.xml
  75. 0 {hera-metadata → metadata}/.settings/org.maven.ide.eclipse.prefs
  76. +4 −6 {hera-metadata → metadata}/pom.xml
  77. 0 {hera-metadata → metadata}/src/doc/metadata.xml
  78. 0 {hera-metadata → metadata}/src/main/java/META-INF/MANIFEST.MF
  79. 0 {hera-metadata → metadata}/src/main/java/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.java
  80. 0 {hera-metadata → metadata}/src/main/java/org/synyx/hera/metadata/MetadataProvider.java
  81. 0 {hera-metadata → metadata}/src/main/java/org/synyx/hera/metadata/PluginMetadata.java
  82. 0 {hera-metadata → metadata}/src/main/java/org/synyx/hera/metadata/SimplePluginMetadata.java
  83. +17 −0 metadata/target/classes/META-INF/MANIFEST.MF
  84. BIN metadata/target/classes/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.class
  85. BIN metadata/target/classes/org/synyx/hera/metadata/MetadataProvider.class
  86. BIN metadata/target/classes/org/synyx/hera/metadata/PluginMetadata.class
  87. BIN metadata/target/classes/org/synyx/hera/metadata/SimplePluginMetadata.class
  88. +5 −0 metadata/target/maven-archiver/pom.properties
  89. BIN metadata/target/org.synyx.hera.metadata-0.5-SNAPSHOT-sources.jar
  90. BIN metadata/target/org.synyx.hera.metadata-0.5-SNAPSHOT.jar
  91. +4 −4 pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>hera</name>
<name>org.synyx.hera</name>
<comment></comment>
<projects>
</projects>
File renamed without changes.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>hera-core</name>
<name>org.synyx.hera.core</name>
<comment></comment>
<projects>
</projects>
File renamed without changes.
@@ -1,14 +1,12 @@
<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>
<groupId>org.synyx.hera</groupId>
<artifactId>hera-core</artifactId>
<version>0.5-SNAPSHOT</version>

<name>Hera Core</name>
<description>Core plugin infrastructure</description>

<parent>
<artifactId>hera</artifactId>
<artifactId>org.synyx.hera</artifactId>
<groupId>org.synyx.hera</groupId>
<version>0.5-SNAPSHOT</version>
</parent>
@@ -62,4 +60,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
File renamed without changes.
@@ -0,0 +1,26 @@
Manifest-Version: 1.0
Export-Package: org.synyx.hera.core;uses:="org.springframework.core.an
notation";version="0.5.0.SNAPSHOT",org.synyx.hera.core.config;uses:="
org.springframework.beans.factory.support,org.springframework.beans.f
actory.xml,org.w3c.dom";version="0.5.0.SNAPSHOT",org.synyx.hera.core.
support;uses:="org.synyx.hera.core,org.springframework.beans,org.spri
ngframework.context,org.springframework.beans.factory";version="0.5.0
.SNAPSHOT"
Tool: Bnd-0.0.255
Bundle-Name: Hera Core
Created-By: 1.6.0_13 (Apple Inc.)
Bundle-Vendor: Synyx GmbH & Co. KG
Bundle-Version: 0.5.0.SNAPSHOT
Bnd-LastModified: 1249492300509
Bundle-ManifestVersion: 2
Bundle-Description: Core plugin infrastructure
Import-Package: org.springframework.beans;version="2.5",org.springfram
ework.beans.factory;version="2.5",org.springframework.beans.factory.s
upport;version="2.5",org.springframework.beans.factory.xml;version="2
.5",org.springframework.context;version="2.5",org.springframework.cor
e.annotation;version="2.5",org.synyx.hera.core;version="0.5.0.SNAPSHO
T",org.synyx.hera.core.config;version="0.5.0.SNAPSHOT",org.synyx.hera
.core.support;version="0.5.0.SNAPSHOT",org.w3c.dom
Bundle-SymbolicName: org.synyx.hera
Bundle-DocURL: http://www.synyx.org

@@ -0,0 +1 @@
http\://schemas.synyx.org/hera=org.synyx.hera.core.config.PluginNamespaceHandler
@@ -0,0 +1 @@
http\://schemas.synyx.org/hera/hera.xsd=org/synyx/hera/core/config/hera.xsd
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns="http://schemas.synyx.org/hera"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://schemas.synyx.org/hera"
elementFormDefault="qualified" attributeFormDefault="unqualified">

<xsd:import namespace="http://www.springframework.org/schema/tool"/>


<xsd:element name="list" type="pluginType">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation>
<tool:exports identifier="@id" type="java.util.List" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<xsd:element name="registry" type="pluginType">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation>
<tool:exports identifier="@id" type="org.synyx.plugin.core.PluginRegistry" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<xsd:complexType name="pluginType">
<xsd:attribute name="id" type="xsd:string" />
<xsd:attribute name="class" type="classType" />
<xsd:attribute name="init-factories" type="xsd:boolean" default="false" />
</xsd:complexType>

<xsd:simpleType name="classType">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="direct">
<tool:expected-type type="java.lang.Class" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:union memberTypes="xsd:string" />
</xsd:simpleType>

</xsd:schema>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
#Generated by Maven
#Wed Aug 05 19:11:43 CEST 2009
version=0.5-SNAPSHOT
groupId=org.synyx.hera
artifactId=hera-core
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="0.029" errors="0" skipped="0" tests="8" name="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest">
<properties>
<property name="java.vendor" value="Apple Inc."/>
<property name="localRepository" value="/Users/olivergierke/.m2/repository"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
<property name="os.name" value="Mac OS X"/>
<property name="sun.boot.class.path" value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar"/>
<property name="env.TMPDIR" value="/var/folders/pM/pMiDtflBHwGXrI8njdh15k+++TI/-Tmp-/"/>
<property name="env.PWD" value="/Users/olivergierke/Documents/workspace35/org.synyx.hera"/>
<property name="env.LANG" value="de_DE.UTF-8"/>
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
<property name="java.runtime.version" value="1.6.0_13-b03-211"/>
<property name="env.Apple_PubSub_Socket_Render" value="/tmp/launch-4ZtIUs/Render"/>
<property name="env.DISPLAY" value="/tmp/launch-AlFZmq/:0"/>
<property name="user.name" value="olivergierke"/>
<property name="env.USER" value="olivergierke"/>
<property name="env.SHELL" value="/bin/bash"/>
<property name="env.__CF_USER_TEXT_ENCODING" value="0x1F5:0:3"/>
<property name="awt.nativeDoubleBuffering" value="true"/>
<property name="env.PATH" value="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/Applications/Tools/bundlor/bin:/Applications/Tools/grails/bin:/Applications/Tools/pax-construct-1.4/bin:/Applications/Tools/roo/bin"/>
<property name="user.language" value="de"/>
<property name="sun.boot.library.path" value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries"/>
<property name="classworlds.conf" value="/usr/share/maven/bin/m2.conf"/>
<property name="java.version" value="1.6.0_13"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="sun.arch.data.model" value="64"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.endorsed.dirs" value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed"/>
<property name="sun.cpu.isalist" value=""/>
<property name="sun.jnu.encoding" value="MacRoman"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="env.SHLVL" value="1"/>
<property name="file.separator" value="/"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="50.0"/>
<property name="user.country" value="DE"/>
<property name="java.home" value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="env.LOGNAME" value="olivergierke"/>
<property name="os.version" value="10.5.7"/>
<property name="env.TERM_PROGRAM_VERSION" value="240.2"/>
<property name="path.separator" value=":"/>
<property name="java.vm.version" value="11.3-b02-83"/>
<property name="env.JAVA_HOME" value="/Library/Java/Home"/>
<property name="java.awt.printerjob" value="apple.awt.CPrinterJob"/>
<property name="env.TERM" value="xterm-color"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="awt.toolkit" value="apple.awt.CToolkit"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="env.MANPATH" value="/usr/share/man:/usr/local/share/man:/usr/X11/man:/usr/local/git/man"/>
<property name="user.home" value="/Users/olivergierke"/>
<property name="env.OLDPWD" value="/Users/olivergierke/Documents/workspace35/org.synyx.hera"/>
<property name="env.JAVA_MAIN_CLASS_6315" value="org.codehaus.classworlds.Launcher"/>
<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
<property name="env.TERM_PROGRAM" value="Apple_Terminal"/>
<property name="java.library.path" value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/>
<property name="java.vendor.url" value="http://www.apple.com/"/>
<property name="java.vm.vendor" value="Apple Inc."/>
<property name="gopherProxySet" value="false"/>
<property name="maven.home" value="/usr/share/maven"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="java.class.path" value="/usr/share/maven/boot/classworlds-1.1.jar"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="java.vm.specification.version" value="1.0"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="env.HOME" value="/Users/olivergierke"/>
<property name="surefire.test.class.path" value="/Users/olivergierke/Documents/workspace35/org.synyx.hera/core/target/test-classes:/Users/olivergierke/Documents/workspace35/org.synyx.hera/core/target/classes:/Users/olivergierke/.m2/repository/org/springframework/spring-beans/2.5.6/spring-beans-2.5.6.jar:/Users/olivergierke/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/olivergierke/.m2/repository/org/springframework/spring-core/2.5.6/spring-core-2.5.6.jar:/Users/olivergierke/.m2/repository/org/springframework/spring-context/2.5.6/spring-context-2.5.6.jar:/Users/olivergierke/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/olivergierke/.m2/repository/org/springframework/spring-test/2.5.6/spring-test-2.5.6.jar:/Users/olivergierke/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/olivergierke/.m2/repository/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar:"/>
<property name="java.io.tmpdir" value="/var/folders/pM/pMiDtflBHwGXrI8njdh15k+++TI/-Tmp-/"/>
<property name="java.vendor.url.bug" value="http://bugreport.apple.com/"/>
<property name="env.MAVEN_OPTS" value="-Xmx256m"/>
<property name="env.SSH_AUTH_SOCK" value="/tmp/launch-qbm3RH/Listeners"/>
<property name="env.COMMAND_MODE" value="unix2003"/>
<property name="java.awt.graphicsenv" value="apple.awt.CGraphicsEnvironment"/>
<property name="os.arch" value="x86_64"/>
<property name="java.ext.dirs" value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext"/>
<property name="user.dir" value="/Users/olivergierke/Documents/workspace35/org.synyx.hera/core"/>
<property name="mrj.version" value="1050.1.6.0_13-211"/>
<property name="line.separator" value="
"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="basedir" value="/Users/olivergierke/Documents/workspace35/org.synyx.hera/core"/>
<property name="file.encoding" value="MacRoman"/>
<property name="env.GRAILS_HOME" value="/Applications/Tools/grails"/>
<property name="java.specification.version" value="1.6"/>
</properties>
<testcase time="0.007" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="honorsOrderOnAddPlugins"/>
<testcase time="0.002" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="assertsOrderOnAddingPlugins"/>
<testcase time="0.002" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="assertRegistryInitialized"/>
<testcase time="0.002" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="assertFindsEmailNotificationProvider"/>
<testcase time="0.002" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="throwsExceptionIfNoPluginFound"/>
<testcase time="0.003" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="throwsExceptionIfNoPluginsFound"/>
<testcase time="0.001" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="returnsDefaultIfNoneFound"/>
<testcase time="0.002" classname="org.synyx.hera.core.OrderAwarePluginRegistryUnitTest" name="returnsDefaultsIfNoneFound"/>
</testsuite>

0 comments on commit a0b7b1c

Please sign in to comment.
You can’t perform that action at this time.