From 9dbc2844950b55ae552fe74840954ea71b754c7a Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 14 Aug 2011 20:43:29 +0200 Subject: [PATCH] Turned the API packages into bundles. --- common/pom.xml | 30 +++++++++++++++++++++++------- config/pom.xml | 23 +++++++++++++++++++---- impl/pom.xml | 12 ++++++------ listener/pom.xml | 25 ++++++++++++++++++++----- persistentids.txt | 15 --------------- pom.xml | 38 +++++++++++++++++++++++++------------- publish/pom.xml | 21 ++++++++++++++++++--- subscribe/pom.xml | 24 ++++++++++++++++++++---- 8 files changed, 131 insertions(+), 57 deletions(-) delete mode 100644 persistentids.txt diff --git a/common/pom.xml b/common/pom.xml index 5b2c35f..e558cd2 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,18 +1,18 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 xmlrouter-common - jar + bundle /xmlrouter/common http://wamblee.org - + junit @@ -21,10 +21,26 @@ org.mockito mockito-all - + - - + + + + + org.apache.felix + maven-bundle-plugin + true + + + ${pom.groupId}.${pom.artifactId} + + + + + + + + xmlrouter-site diff --git a/config/pom.xml b/config/pom.xml index 26fa8b2..7970c80 100644 --- a/config/pom.xml +++ b/config/pom.xml @@ -1,15 +1,15 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 xmlrouter-config - jar + bundle /xmlrouter/config http://wamblee.org @@ -17,7 +17,7 @@ org.wamblee.xmlrouter xmlrouter-common - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT org.wamblee @@ -33,6 +33,21 @@ + + + + org.apache.felix + maven-bundle-plugin + true + + + ${pom.groupId}.${pom.artifactId} + + + + + + xmlrouter-site diff --git a/impl/pom.xml b/impl/pom.xml index 0947b94..8c73ab2 100644 --- a/impl/pom.xml +++ b/impl/pom.xml @@ -1,10 +1,10 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 @@ -17,22 +17,22 @@ org.wamblee.xmlrouter xmlrouter-config - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT org.wamblee.xmlrouter xmlrouter-publish - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT org.wamblee.xmlrouter xmlrouter-subscribe - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT org.wamblee.xmlrouter xmlrouter-listener - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT junit diff --git a/listener/pom.xml b/listener/pom.xml index 917d4ec..c1db80e 100644 --- a/listener/pom.xml +++ b/listener/pom.xml @@ -1,15 +1,15 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 xmlrouter-listener - jar + bundle /xmlrouter/listener http://wamblee.org @@ -17,12 +17,12 @@ org.wamblee.xmlrouter xmlrouter-config - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT org.wamblee.xmlrouter xmlrouter-publish - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT junit @@ -34,6 +34,21 @@ + + + + org.apache.felix + maven-bundle-plugin + true + + + ${pom.groupId}.${pom.artifactId} + + + + + + xmlrouter-site diff --git a/persistentids.txt b/persistentids.txt deleted file mode 100644 index dc526d4..0000000 --- a/persistentids.txt +++ /dev/null @@ -1,15 +0,0 @@ - -document types, filters, and transformations should define their own persistent ids. - -Refactoring: -* Id should become a String type. -* Document type, filter, and transoformation should extend Identifiable interface which defines Id getId(); -* Id should be used in the config class to create the actual id. Id should no longer be returned. -* deal with duplicate ids (runtime exception). -* unique ids at the xmlrouter level based on RouterConfig id. - - -* add new interface with method updateConfig(RouterConfig) by which a service updates it's own part of the router config. -* add copying of the RouterConfig. -* efficiently check for modifications based on the id. - diff --git a/pom.xml b/pom.xml index a235e33..8c8c0e1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,11 @@ - - + + 4.0.0 org.wamblee.xmlrouter xmlrouter-root pom - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT /xmlrouter A simple XML Router with OSGI support http://wamblee.org @@ -45,7 +45,7 @@ + eclipselink) which is not available at maven central --> release @@ -94,10 +94,10 @@ - org.wamblee - wamblee-support-general - 0.7-SNAPSHOT - + org.wamblee + wamblee-support-general + 0.7-SNAPSHOT + org.wamblee wamblee-test-eclipselink @@ -212,8 +212,8 @@ - - + + maven-site-plugin 3.0-beta-3 @@ -244,20 +244,32 @@ - + + + + + org.apache.felix + maven-bundle-plugin + true + 2.3.5 + + + + + - + xmlrouter-site file:${distrib}/all - + diff --git a/publish/pom.xml b/publish/pom.xml index 9f96ec8..d36fd0e 100644 --- a/publish/pom.xml +++ b/publish/pom.xml @@ -1,15 +1,15 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 xmlrouter-publish - jar + bundle /xmlrouter/publish http://wamblee.org @@ -24,6 +24,21 @@ + + + + org.apache.felix + maven-bundle-plugin + true + + + ${pom.groupId}.${pom.artifactId} + + + + + + xmlrouter-site diff --git a/subscribe/pom.xml b/subscribe/pom.xml index a429e9b..15d1296 100644 --- a/subscribe/pom.xml +++ b/subscribe/pom.xml @@ -1,15 +1,15 @@ - + org.wamblee.xmlrouter xmlrouter-root - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT 4.0.0 xmlrouter-subscribe - jar + bundle /xmlrouter/subscribe http://wamblee.org @@ -17,7 +17,7 @@ org.wamblee.xmlrouter xmlrouter-common - 0.1-SNAPSHOT + 0.1.0-SNAPSHOT junit @@ -29,6 +29,22 @@ + + + + org.apache.felix + maven-bundle-plugin + true + + + ${pom.groupId}.${pom.artifactId} + + + + + + + xmlrouter-site -- 2.31.1