Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: ext.bundle.apache_httpclient/pom.xml
- ===================================================================
- --- ext.bundle.apache_httpclient/pom.xml (revision 566)
- +++ ext.bundle.apache_httpclient/pom.xml (working copy)
- @@ -26,6 +26,13 @@
- <artifactId>httpclient-osgi</artifactId>
- <version>4.3</version>
- </dependency>
- +<!-- javax.servlet may be included in pax web, NOT sure IF this is still needed -->
- + <dependency>
- + <groupId>javax.servlet</groupId>
- + <artifactId>servlet-api</artifactId>
- + <version>2.5</version>
- + <scope>provided</scope>
- + </dependency>
- </dependencies>
- @@ -38,8 +45,9 @@
- <extensions>true</extensions>
- <configuration>
- <instructions>
- - <Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
- - <Import-Package>javax.crypto, javax.crypto.spec, javax.net, javax.net.ssl, javax.security.auth.x500, org.ietf.jgss, org.osgi.framework, org.osgi.service.cm, org.apache.commons.logging;version="[1.1.1,1.2.0)", org.apache.http;version=${httpcore.version}, org.apache.http.config;version=${httpcore.version}, org.apache.http.concurrent;version=${httpcore.version}, org.apache.http.entity;version=${httpcore.version}, org.apache.http.io;version=${httpcore.version}, org.apache.http.message;version=${httpcore.version}, org.apache.http.params;version=${httpcore.version}, org.apache.http.pool;version=${httpcore.version}, org.apache.http.protocol;version=${httpcore.version}, org.apache.http.util;version=${httpcore.version}, org.apache.http.impl;version=${httpcore.version}, org.apache.http.impl.entity;version=${httpcore.version}, org.apache.http.impl.io;version=${httpcore.version}, org.apache.http.impl.pool;version=${httpcore.version}, net.sf.ehcache.*;resolution:=optional, net.spy.memcached.*;resolution:=optional</Import-Package>
- + <Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
- + <Embed-Transitive>true</Embed-Transitive>
- + <Import-Package>javax.servlet, org.apache.avalon.framework.logger, org.apache.log, org.apache.log4j, javax.crypto, javax.crypto.spec, javax.net, javax.net.ssl, javax.security.auth.x500, org.ietf.jgss, org.osgi.framework, org.osgi.service.cm, org.apache.commons.logging;version="[1.1.1,1.2.0)", org.apache.http;version=${httpcore.version}, org.apache.http.config;version=${httpcore.version}, org.apache.http.concurrent;version=${httpcore.version}, org.apache.http.entity;version=${httpcore.version}, org.apache.http.io;version=${httpcore.version}, org.apache.http.message;version=${httpcore.version}, org.apache.http.params;version=${httpcore.version}, org.apache.http.pool;version=${httpcore.version}, org.apache.http.protocol;version=${httpcore.version}, org.apache.http.util;version=${httpcore.version}, org.apache.http.impl;version=${httpcore.version}, org.apache.http.impl.entity;version=${httpcore.version}, org.apache.http.impl.io;version=${httpcore.version}, org.apache.http.impl.pool;version=${httpcore.version}, net.sf.ehcache.*;resolution:=optional, net.spy.memcached.*;resolution:=optional</Import-Package>
- <!--Bundle-Activator>org.apache.http.osgi.impl.HttpProxyConfigurationActivator</Bundle-Activator-->
- </instructions>
- </configuration>
- Index: ext.bundle.jena.full/pom.xml
- ===================================================================
- --- ext.bundle.jena.full/pom.xml (revision 566)
- +++ ext.bundle.jena.full/pom.xml (working copy)
- @@ -265,7 +265,7 @@
- <version>${jena-iri.version}</version>
- <classifier>sources</classifier>
- </dependency>
- -
- +
- <!--
- <dependency>
- <groupId>org.apache.jena</groupId>
- @@ -324,7 +324,7 @@
- <ver.arq>2.8.8</ver.arq> <== We are using 2.8.7 below, which is used in Joseki 3.4.3.
- <ver.sdb>1.3.4</ver.sdb> <== We are using this, but Joseki 3.4.3 uses 1.3.3.
- -->
- -
- +
- <build>
- <plugins>
- <plugin>
- @@ -342,7 +342,7 @@
- <Bundle-Activator>org.appdapter.ext.bundle.jena.full.Activator</Bundle-Activator>
- <!-- The sdb.* packages require Junit -->
- <Export-Package>org.appdapter.*,arq.*,tdb.*,com.hp.hpl.jena.*,etc.*,org.openjena.*,vocabularies.*, jena.*, org.apache.jena.*</Export-Package>
- - <Private-Package>riotcmd</Private-Package>
- + <Private-Package>riotcmd, org.apache.http.*</Private-Package>
- </instructions>
- </configuration>
- </plugin>
- Index: ext.bundle.math.symja_jas/pom.xml
- ===================================================================
- --- ext.bundle.math.symja_jas/pom.xml (revision 566)
- +++ ext.bundle.math.symja_jas/pom.xml (working copy)
- @@ -69,21 +69,131 @@
- </plugins>
- </build>
- + <profiles>
- + <profile>
- + <id>build-for-felix</id>
- + <dependencies>
- + <dependency>
- + <groupId>org.apache.felix</groupId>
- + <artifactId>org.apache.felix.main</artifactId>
- + <version>4.2.1</version>
- + <scope>provided</scope>
- + </dependency>
- + <!-- TO include a shell:
- + <dependency>
- + <groupId>org.apache.felix</groupId>
- + <artifactId>org.apache.felix.gogo.shell</artifactId>
- + <version>0.6.1</version>
- + </dependency>
- + -->
- + </dependencies>
- + <build>
- + <plugins>
- + <plugin>
- + <groupId>org.apache.maven.plugins</groupId>
- + <artifactId>maven-antrun-plugin</artifactId>
- + <version>1.6</version>
- + <executions>
- + <execution>
- + <id>compile</id>
- + <phase>package</phase>
- + <goals>
- + <goal>run</goal>
- + </goals>
- + <configuration>
- + <target>
- + <pathconvert property="plugins.jars" pathsep="${path.separator}">
- + <path refid="maven.runtime.classpath" />
- + <map from="${project.build.directory}${file.separator}classes" TO="" />
- + </pathconvert>
- + <pathconvert pathsep=" " property="bundles">
- + <path path="${plugins.jars}" />
- + <mapper>
- + <chainedmapper>
- + <flattenmapper />
- + <globmapper from="*" TO="file:modules/*" casesensitive="no" />
- + </chainedmapper>
- + </mapper>
- + </pathconvert>
- + <propertyfile file="${project.build.directory}/config.properties">
- + <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
- + <entry key="org.osgi.framework.bootdelegation" value="*" />
- + </propertyfile>
- + <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
- + </target>
- + </configuration>
- + </execution>
- + </executions>
- + </plugin>
- + <plugin>
- + <groupId>org.apache.maven.plugins</groupId>
- + <artifactId>maven-assembly-plugin</artifactId>
- + <version>2.2</version>
- + <executions>
- + <execution>
- + <id>create-executable-jar</id>
- + <phase>package</phase>
- + <goals>
- + <goal>single</goal>
- + </goals>
- + <configuration>
- + <descriptors>
- + <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
- + </descriptors>
- + <finalName>${project.build.finalName}</finalName>
- + </configuration>
- + </execution>
- + </executions>
- + </plugin>
- + </plugins>
- + </build>
- + </profile>
- + <profile>
- + <id>run-on-felix</id>
- + <dependencies>
- + <dependency>
- + <groupId>org.apache.felix</groupId>
- + <artifactId>org.apache.felix.main</artifactId>
- + <version>4.2.1</version>
- + <scope>provided</scope>
- + </dependency>
- + <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
- + </dependencies>
- + <build>
- + <plugins>
- + <plugin>
- + <groupId>org.apache.maven.plugins</groupId>
- + <artifactId>maven-antrun-plugin</artifactId>
- + <version>1.6</version>
- + <configuration>
- + <target>
- + <property name="vm.args" value="" />
- + <pathconvert property="plugins.jars" pathsep="${path.separator}">
- + <path refid="maven.runtime.classpath" />
- + <map from="${project.build.directory}${file.separator}classes" TO="" />
- + </pathconvert>
- + <makeurl property="urls" separator=" ">
- + <path path="${plugins.jars}" />
- + <path location="${project.build.directory}/${project.build.finalName}.jar" />
- + </makeurl>
- + <propertyfile file="${project.build.directory}/run.properties">
- + <entry key="felix.auto.start" value="${urls}" />
- + <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
- + <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
- + <entry key="org.osgi.framework.bootdelegation" value="*" />
- + <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
- + <entry key="org.osgi.framework.system.packages.extra" value="org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, org.w3c.dom.traversal, org.w3c.dom.ranges, org.w3c.dom.views, org.w3c.dom.xpath" />
- + </propertyfile>
- + <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
- + <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
- + <sysproperty key="felix.config.properties" value="${run.properties.url}" />
- + <jvmarg line="${vm.args}" />
- + </java>
- + </target>
- + </configuration>
- + </plugin>
- + </plugins>
- + </build>
- + </profile>
- + </profiles>
- </project>
- -<!--
- -/*
- - * Copyright 2013 by The Appdapter Project (www.appdapter.org).
- - *
- - * Licensed 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.
- - */
- --->
- \ No newline AT END of file
- Index: ext.bundle.openconverters/pom.xml
- ===================================================================
- --- ext.bundle.openconverters/pom.xml (revision 566)
- +++ ext.bundle.openconverters/pom.xml (working copy)
- @@ -7,7 +7,7 @@
- <artifactId>org.appdapter.modules.core</artifactId>
- <version>1.1.3-SNAPSHOT</version>
- <relativePath>../org.appdapter.modules.core/pom.xml</relativePath>
- - </parent>
- + </parent>
- <artifactId>ext.bundle.openconverters</artifactId>
- <packaging>bundle</packaging>
- @@ -35,8 +35,9 @@
- <groupId>${project.groupId}</groupId>
- <artifactId>ext.bundle.xml.dom4j_161</artifactId>
- <version>${project.version}</version>
- - <scope>runtime</scope>
- + <scope>runtime</scope>
- </dependency>
- +
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- @@ -45,7 +46,7 @@
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>ooxml-schemas</artifactId>
- - <version>1.0</version>
- + <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- @@ -63,12 +64,9 @@
- <artifactId>dom4j</artifactId>
- </exclusion>
- </exclusions>
- - </dependency>
- + </dependency>
- +
- - <!-- FOR the GUI -->
- - <!--dependency> <groupId>com.jidesoft</groupId> <artifactId>jide-oss</artifactId>
- - <version>3.5.5</version> </dependency -->
- -
- <!-- Included servicemix bundle TO export apache.commons.codec. Needed
- by org.apache.poi ... but this sorta conflicts with direct commons-codec
- dep required by Jena ARQ, which uses a different version numbering stream,
- @@ -96,48 +94,36 @@
- <!-- TODO: LET's move the POI-dependent features into their own bundle
- oriented towards data import/export. Included ow2 bundle TO export apache.commons.logging.
- - Needed by org.apache.poi -->
- - <dependency>
- - <groupId>org.ow2.bundles</groupId>
- - <artifactId>ow2-bundles-externals-commons-logging</artifactId>
- - <version>1.0.33</version>
- - <scope>runtime</scope>
- - <exclusions>
- - <exclusion>
- - <artifactId>commons-logging-api</artifactId>
- - <groupId>commons-logging</groupId>
- - </exclusion>
- - </exclusions>
- - </dependency>
- -
- + Needed by org.apache.poi -->
- + <dependency>
- + <groupId>org.ow2.bundles</groupId>
- + <artifactId>ow2-bundles-externals-commons-logging</artifactId>
- + <version>1.0.33</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>commons-logging-api</artifactId>
- + <groupId>commons-logging</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- <!-- CSV library used FOR parsing - indepdendent of the POI stuff-->
- - <dependency>
- + <!--dependency>
- <groupId>net.sf.opencsv</groupId>
- <artifactId>opencsv</artifactId>
- <version>2.3</version>
- - </dependency>
- + </dependency-->
- -
- - <dependency>
- - <!-- Needed AT compile time so we can provide a utility TO force the properties
- - resource URL in, due TO TCCL issues with Log4J's default startup in OSGi
- - environment. -->
- - <groupId>org.apache.log4j</groupId>
- - <artifactId>com.springsource.org.apache.log4j</artifactId>
- - <version>1.2.16</version>
- - <!-- Wrong, we want this one TO propagate. Default "compile" scope is good.
- - <scope>provided</scope>
- - -->
- - </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.xml.dom4j_161</artifactId>
- + <version>${project.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- - <dependency>
- - <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-api</artifactId>
- - <version>1.7.5</version>
- - </dependency>
- -
- <!-- Problems in Felix, because A) System Bundle #0 supplies the JAXP APIs
- AT version 0.0., B) Dom4J specifies broad "uses" constraints on its exports.
- C) Dom4J specifies version number >1.0 on SOME of its imports. [java] javax.xml.parsers;
- @@ -158,12 +144,12 @@
- <!-- ************************** Test Deps *********************** -->
- - <dependency>
- + <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.junit</artifactId>
- <version>4.7_3</version>
- <scope>test</scope>
- - </dependency>
- + </dependency>
- <!-- SLF4J Test Bindings. We can change the scope during unit testing,
- @@ -171,6 +157,60 @@
- <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId>
- <version>1.6.2</version> <scope>test</scope> </dependency> -->
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>${project.artifactId}</artifactId>
- + <version>${project.version}</version>
- + </dependency>
- +
- +
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- +
- </dependencies>
- <build>
- @@ -181,38 +221,23 @@
- <version>2.3.7</version>
- <extensions>true</extensions>
- <configuration>
- - <instructions>
- - <!-- org.gjt.*;resolution:='optional',
- - sun.*;resolution:='optional',
- - schemasMicrosoftComVml,org.joda,com.jidesoft, schemasMicrosoftComOfficeExcel,schemaorg_apache_xmlbeans.*,org.openxmlformats.schemas.drawingml.x2006.chart.impl,org.openxmlformats.*,org.apache.poi.*,
- - org.apache.*;resolution:='optional',com.sun.*;resolution:='optional',com.apple.laf.*;resolution:='optional',apple.laf.*;resolution:='optional',
- -
- -
- - *;resolution:='optional'
- -
- - -->
- - <Import-Package>schemasMicrosoftComOfficeOffice,
- - schemasMicrosoftComOfficeExcel,org.apache.poi,
- - org.openxmlformats.schemas.spreadsheetml.x2006,
- - com.ibm.uvm.tools,
- - org.apache.avalon.framework.logger, org.apache.crimson.jaxp, org.apache.log, org.apache.tools.ant,
- - org.apache.tools.ant.taskdefs, org.apache.tools.ant.types, org.apache.xml.resolver, org.apache.xml.resolver.tools, org.gjt.xpp, org.jaxen,
- - org.jaxen.dom4j, org.jaxen.pattern, org.jaxen.saxpath, org.relaxng.datatype, org.slf4j.impl, org.xmlpull.v1,
- - schemasMicrosoftComOfficeVml,schemaorg_apache_xmlbeans,org.openxmlformats.schemas.drawingml.x2006.chart.impl,org.openxmlformats,com.sun.*;resolution:=optional,javax.*;resolution:=optional</Import-Package>
- - <!-- we refer also TO these classes:
- -
- - javax.crypto, javax.crypto.spec,javax.imageio, javax.imageio.metadata, javax.imageio.stream, javax.jmdns, javax.jms, javax.mail, javax.mail.internet, javax.management, javax.microedition.io, javax.naming,
- - javax.security.auth.x500, javax.servlet, javax.servlet.http, javax.swing, javax.swing.BORDER, javax.swing.event, javax.swing.table, javax.swing.text, javax.swing.tree, javax.xml.bind, javax.xml.validation, javax.xml.xpath,
- -
- - com.sun.javadoc, com.sun.jdmk.comm, com.sun.msv.datatype, com.sun.msv.datatype.xsd, com.sun.tools.javadoc,
- - -->
- + <instructions>
- + <!-- org.gjt.*;resolution:='optional', -->
- + <Import-Package>org.gjt.xpp, org.ietf.jgss, org.jaxen, org.jaxen.dom4j, org.jaxen.pattern, org.jaxen.saxpath, org.relaxng.datatype, org.w3c.dom.ls, org.xmlpull.v1, scala.tools.jline, scala.tools.jline.console, scala.tools.jline.console.completer, scala.tools.jline.console.history, com.ibm.uvm.tools, javax.*;resolution:='optional', org.h2, apple.laf.*;resolution:='optional', com.apple.laf.*;resolution:='optional'</Import-Package>
- <Bundle-Activator>${project.groupId}.${project.artifactId}.osgi.Activator</Bundle-Activator>
- - <!-- We are getting rid of the "Embed" approach
- - <Embed-Transitive>true</Embed-Transitive>
- + <Export-Package>org.appdapter.*, au.com.bytecode.opencsv.*, org.apache.poi.*, com.jidesoft.*, org.apache.xmlbeans.*, org.openxmlformats.*, schemaorg_apache_xmlbeans.*, schemasMicrosoftComOfficeExcel.*, schemasMicrosoftComOfficeOffice.*, schemasMicrosoftComVml.*</Export-Package>
- + <!-- Horrid workaround FOR Class.forName() used in DynamicCachingComponentAssembler, could widen it TO "*",
- + but better TO get Jena CODE FIXED TO allow classloader setup.
- -->
- - <!-- Stu is dubious of the *, but it may work OK because the imports above are so specific -->
- - <Export-Package>*</Export-Package>
- - </instructions>
- + <DynamicImport-Package>*</DynamicImport-Package>
- +
- + <!--
- + arq.*,com.hp.hpl.jena.*,org.openjena.*,etc.*,vocabularies.*
- +
- + <Private-Package>org.xmldb.*,riotcmd.*</Private-Package>
- + -->
- + <!--Private-Package>org.apache.poi.*, com.jidesoft.*, org.apache.xmlbeans.*, org.openxmlformats.*, schemaorg_apache_xmlbeans.*, schemasMicrosoftComOfficeExcel.*, schemasMicrosoftComOfficeOffice.*, schemasMicrosoftComVml.*</Private-Package-->
- + </instructions>
- </configuration>
- </plugin>
- </plugins>
- @@ -236,4 +261,3 @@
- * limitations under the License.
- */
- -->
- -
- Index: org.appdapter.bundle.core/pom.xml
- ===================================================================
- --- org.appdapter.bundle.core/pom.xml (revision 566)
- +++ org.appdapter.bundle.core/pom.xml (working copy)
- @@ -21,9 +21,6 @@
- <groupId>${project.groupId}</groupId>
- <artifactId>org.appdapter.lib.core</artifactId>
- <version>${project.version}</version>
- - <!-- We use "provided" scope FOR the CODE we are exporting, because we don't want our dependency on the
- - lib TO propagate out TO users of this bundle.
- - -->
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- @@ -38,19 +35,25 @@
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- - <!-- removed UNTIL it is complete -->
- - <!--dependency>
- + <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>org.appdapter.lib.remote</artifactId>
- + <artifactId>org.appdapter.lib.gui</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- - </dependency-->
- + </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.osgi.common</artifactId>
- + <artifactId>org.appdapter.lib.remote</artifactId>
- <version>${project.version}</version>
- + <scope>provided</scope>
- </dependency>
- <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.osgi.common</artifactId>
- + <version>${project.version}</version>
- + </dependency>
- +
- + <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>4.2.0</version>
- @@ -60,12 +63,15 @@
- <artifactId>org.osgi.compendium</artifactId>
- <version>4.2.0</version>
- </dependency>
- -
- +
- <dependency>
- - <artifactId>slf4j-api</artifactId>
- - <groupId>org.slf4j</groupId>
- - <version>1.7.5</version>
- + <artifactId>h2</artifactId>
- + <groupId>com.h2database</groupId>
- + <type>jar</type>
- + <version>1.3.157</version>
- + <scope>runtime</scope>
- </dependency>
- +
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- @@ -84,94 +90,124 @@
- <dependency>
- <artifactId>ext.bundle.jena_all_2_10_1</artifactId>
- <groupId>${project.groupId}</groupId>
- + <!-- TODO: Review AND make explicit - What are all the impacts of "type = jar"? -->
- + <type>jar</type>
- <version>${project.version}</version>
- - <!-- This is currently a "runtime" depdendency so that the CODE we export from o.c.lib.core
- - can be wired properly AT runtime, but AT compile time users can *choose* whether
- - TO bring the ext.Jena bundle into their compile scope. In principle, users could
- - choose TO use a different compatible OSGi-bundling of Jena AT runtime OR compile time.
- - Is this flexibility worth the fact that our consumers need TO make a separate
- - dependency IF they want TO CODE against Jena directly? Debatable.
- -
- - Since bundle.core should contain mostly only an activator.. like any wrapper all should be is <scope>runtime</scope>.. instead of compile time?
- - -->
- <scope>runtime</scope>
- </dependency>
- - <!-- jena provides this.. is it still needed? -->
- - <!--dependency>
- - <artifactId>h2</artifactId>
- - <groupId>com.h2database</groupId>
- - <type>jar</type>
- - <version>1.3.157</version>
- - <scope>runtime</scope>
- - </dependency-->
- - <dependency>
- - <!-- Appdapter bundle.core shouldn't need this. Instead, our code that depends on it should go into its
- - own new bundle : org.appdapter.bundle.fileconv
- - -->
- - <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.openconverters</artifactId>
- - <version>${project.version}</version>
- - </dependency>
- -
- -
- <dependency>
- - <!-- However, this one is OK, because it's not as messy as POI -->
- - <groupId>net.sf.opencsv</groupId>
- - <artifactId>opencsv</artifactId>
- - <version>2.3</version>
- - <scope>runtime</scope>
- - </dependency>
- -
- -
- - <dependency>
- - <!-- Stu asks: What features in o.a.b.core require this dep?
- -
- - Douglas:
- - o.a.lib.remote needs FOR the sparql client I belived
- - It is proabably true that any ext.*.* of ours that we bundle here
- - we will need TO re-include its reqirements AT least AT the runtime level
- - But NOT have TO re-export it's packages in these exports (that is take classloader responsiibity).
- - Since we'd want downstreams to be able to take classloader reponsibility (First before a differnt activator (of ours) takes ownership (Of course this bundle still may take it when no override happens )).
- - THEN IF they dont take on the responsibility, still be able TO supply the ones we picked out that we know work even with class isolation.
- -
- - Another real goal (only slightly related) is TO ensure we get them using AND owning <artifactId>ext.bundle.apache_httpclient</artifactId>
- -
- - IF
- - they (they=startable bundle) want this use bundle
- - AND want/need (jena OR dom4j OR httpclient)
- - THEN
- - they will themselves will depend directly on our ext.b.*s
- - ELSE
- - give them a wiring error that "there are more than one way to resolve org.apache.client"
- - [ IF they have a valid reason FOR NOT using ours.. LET them isolate theirs, NOT ours]
- -
- - We DO this visibly with Jena (NOT on purpose FOR the IF/THEN/ELSE)
- -
- - When we didn't want this, then we need to make sure we give them jena only at compile time and we'd need to hide it from exports, but not runtime correct?
- -
- -
- - -->
- - <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.apache_httpclient</artifactId>
- - <version>${project.version}</version>
- - </dependency>
- -
- - <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>ext.bundle.math.jscience_50SNAP</artifactId>
- + <type>jar</type>
- <!-- This external component bundle-snapshot version is now FIXED -->
- <version>1.0.9</version>
- - <!-- See explanation above under Jena dep about why this is "runtime" -->
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>ext.bundle.xml.dom4j_161</artifactId>
- <version>${project.version}</version>
- - <!-- See explanation above under Jena dep about why this is "runtime" -->
- <scope>runtime</scope>
- </dependency>
- -
- + <!--
- + TODO: LET's move the POI-dependent features into their own bundle oriented towards data import/export.
- + Included ow2 bundle TO export apache.commons.logging.
- + Needed by org.apache.poi -->
- + <dependency>
- + <groupId>org.ow2.bundles</groupId>
- + <artifactId>ow2-bundles-externals-commons-logging</artifactId>
- + <version>1.0.33</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>commons-logging-api</artifactId>
- + <groupId>commons-logging</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +
- + <!-- Included servicemix bundle TO export apache.commons.codec.
- + Needed by org.apache.poi
- + ...
- + but this sorta conflicts with direct commons-codec dep required by Jena ARQ,
- + which uses a different version numbering stream, numerically *higher* than
- + this one, so LET's try taking this one out.
- + -->
- + <!--
- + <dependency>
- + <groupId>org.apache.servicemix.bundles</groupId>
- + <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
- + <version>1.3_3</version>
- + <scope>runtime</scope>
- + </dependency>
- + -->
- + <dependency>
- + <groupId>org.openl.rules</groupId>
- + <artifactId>org.openl.lib.poi.dev</artifactId>
- + <version>5.9.4.1</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>xmlbeans</artifactId>
- + <groupId>org.apache.xmlbeans</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- + <!-- excluded.. now we add our own -->
- + <dependency>
- + <groupId>org.apache.xmlbeans</groupId>
- + <artifactId>xmlbeans</artifactId>
- + <version>2.5.0</version>
- + </dependency>
- +
- +
- + <!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- </dependencies>
- <build>
- @@ -184,30 +220,25 @@
- <configuration>
- <instructions>
- <!-- org.gjt.*;resolution:='optional', -->
- - <!--Import-Package>sun.*;resolution:='optional', com.sun.*;resolution:='optional', org.apache.*;resolution:='optional', org.h2, apple.laf.*;resolution:='optional', com.apple.laf.*;resolution:='optional', *;resolution:='optional'</Import-Package-->
- - <Import-Package>*;resolution:='optional'</Import-Package>
- + <Import-Package>sun.*;resolution:='optional', com.sun.*;resolution:='optional', org.apache.*;resolution:='optional', org.h2, apple.laf.*;resolution:='optional', com.apple.laf.*;resolution:='optional', *;resolution:='optional'</Import-Package>
- <Bundle-Activator>org.appdapter.osgi.core.AppdapterCoreBundleActivator</Bundle-Activator>
- - <Export-Package>org.appdapter.*</Export-Package>
- -<!-- We prefer the above specific form.
- - <Export-Package>*;-split-package:=merge-first</Export-Package>
- --->
- - <!--Export-Package>org.appdapter.*, org.apache.xmlbeans.*,com.hp.hpl.jena.graph.query</Export-Package-->
- + <Export-Package>org.appdapter.*, au.com.bytecode.opencsv.*, org.apache.xmlbeans.*,com.hp.hpl.jena.graph.query</Export-Package>
- <!-- Horrid workaround FOR Class.forName() used in DynamicCachingComponentAssembler, could widen it TO "*",
- but better TO get Jena CODE FIXED TO allow classloader setup.
- -->
- - <DynamicImport-Package>org.cogchar.*</DynamicImport-Package>
- + <DynamicImport-Package>org.cogchar.*</DynamicImport-Package>
- +
- <!--
- - arq.*,com.hp.hpl.jena.*,org.openjena.*,etc.*,vocabularies.*
- + arq.*,com.hp.hpl.jena.*,org.openjena.*,etc.*,vocabularies.*
- +
- <Private-Package>org.xmldb.*,riotcmd.*</Private-Package>
- + -->
- <Private-Package>org.apache.poi.*, com.jidesoft.*, org.openxmlformats.*, schemaorg_apache_xmlbeans.*, schemasMicrosoftComOfficeExcel.*, schemasMicrosoftComOfficeOffice.*, schemasMicrosoftComVml.*,org.joda.*</Private-Package>
- - -->
- -
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
- -
- </project>
- <!--
- /*
- Index: org.appdapter.bundle.gui/pom.xml
- ===================================================================
- --- org.appdapter.bundle.gui/pom.xml (revision 566)
- +++ org.appdapter.bundle.gui/pom.xml (working copy)
- @@ -1,3 +1,4 @@
- +
- <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>
- <parent>
- @@ -15,16 +16,195 @@
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>org.appdapter.bundle.core</artifactId>
- + <artifactId>org.appdapter.lib.core</artifactId>
- <version>${project.version}</version>
- + <scope>provided</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>xmlbeans</artifactId>
- + <groupId>org.apache.xmlbeans</groupId>
- + </exclusion>
- + </exclusions>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- + <artifactId>org.appdapter.lib.registry</artifactId>
- + <version>${project.version}</version>
- + <scope>provided</scope>
- + </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>org.appdapter.lib.remote</artifactId>
- + <version>${project.version}</version>
- + <scope>provided</scope>
- + </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- <artifactId>org.appdapter.lib.gui</artifactId>
- <version>${project.version}</version>
- <!-- We are exporting these contents, hence we don't need to propagate our dependency on them. -->
- - <scope>provided</scope>
- + <scope>provided</scope>
- </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.osgi.common</artifactId>
- + <version>${project.version}</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.osgi</groupId>
- + <artifactId>org.osgi.core</artifactId>
- + <version>4.2.0</version>
- + </dependency>
- + <dependency>
- + <groupId>org.osgi</groupId>
- + <artifactId>org.osgi.compendium</artifactId>
- + <version>4.2.0</version>
- + </dependency>
- +
- + <dependency>
- + <artifactId>h2</artifactId>
- + <groupId>com.h2database</groupId>
- + <type>jar</type>
- + <version>1.3.157</version>
- + <scope>provided</scope>
- + </dependency>
- +
- +
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- +
- + <dependency>
- + <groupId>org.scala-lang</groupId>
- + <artifactId>scala-library</artifactId>
- + <version>2.10.2</version>
- + </dependency>
- + <dependency>
- + <groupId>org.scala-lang</groupId>
- + <artifactId>scala-reflect</artifactId>
- + <version>2.10.2</version>
- + </dependency>
- + <dependency>
- + <groupId>org.scala-lang</groupId>
- + <artifactId>scala-compiler</artifactId>
- + <version>2.10.2</version>
- + </dependency>
- + <dependency>
- + <artifactId>ext.bundle.jena_all_2_10_1</artifactId>
- + <groupId>${project.groupId}</groupId>
- + <!-- TODO: Review AND make explicit - What are all the impacts of "type = jar"? -->
- + <type>jar</type>
- + <version>${project.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.math.jscience_50SNAP</artifactId>
- + <type>jar</type>
- + <!-- This external component bundle-snapshot version is now FIXED -->
- + <version>1.0.9</version>
- + <scope>runtime</scope>
- + </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.xml.dom4j_161</artifactId>
- + <version>${project.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- + <!--
- + TODO: LET's move the POI-dependent features into their own bundle oriented towards data import/export.
- + Included ow2 bundle TO export apache.commons.logging.
- + Needed by org.apache.poi -->
- + <dependency>
- + <groupId>org.ow2.bundles</groupId>
- + <artifactId>ow2-bundles-externals-commons-logging</artifactId>
- + <version>1.0.33</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>commons-logging-api</artifactId>
- + <groupId>commons-logging</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- + <!-- FOR the GUI -->
- + <!--dependency>
- + <groupId>com.jidesoft</groupId>
- + <artifactId>jide-oss</artifactId>
- + <version>3.5.5</version>
- + </dependency-->
- +
- + <!-- Included servicemix bundle TO export apache.commons.codec.
- + Needed by org.apache.poi
- + ...
- + but this sorta conflicts with direct commons-codec dep required by Jena ARQ,
- + which uses a different version numbering stream, numerically *higher* than
- + this one, so LET's try taking this one out.
- + -->
- + <!--
- + <dependency>
- + <groupId>org.apache.servicemix.bundles</groupId>
- + <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
- + <version>1.3_3</version>
- + <scope>runtime</scope>
- + </dependency>
- + -->
- + <dependency>
- + <groupId>org.openl.rules</groupId>
- + <artifactId>org.openl.lib.poi.dev</artifactId>
- + <version>5.9.4.1</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>xmlbeans</artifactId>
- + <groupId>org.apache.xmlbeans</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- </dependencies>
- <build>
- @@ -35,16 +215,23 @@
- <version>2.3.7</version>
- <extensions>true</extensions>
- <configuration>
- - <instructions>
- - <Bundle-Activator>org.appdapter.bundle.gui.osgi.Activator</Bundle-Activator>
- - <Export-Package>org.appdapter.gui.*,org.appdapter.scafun.*</Export-Package>
- + <instructions>
- + <!-- org.gjt.*;resolution:='optional', -->
- + <Import-Package>sun.*;resolution:='optional', com.sun.*;resolution:='optional', org.apache.*;resolution:='optional', apple.laf.*;resolution:='optional', com.apple.laf.*;resolution:='optional', *;resolution:='optional'</Import-Package>
- + <Bundle-Activator>org.appdapter.osgi.core.AppdapterCoreBundleActivator</Bundle-Activator>
- + <Export-Package>org.appdapter.*, au.com.bytecode.opencsv.*</Export-Package>
- + <!-- Horrid workaround FOR Class.forName() used in DynamicCachingComponentAssembler, could widen it TO "*",
- + but better TO get Jena CODE FIXED TO allow classloader setup.
- + -->
- + <DynamicImport-Package>*</DynamicImport-Package>
- +
- <!--
- - <Export-Package>*;-split-package:=merge-first</Export-Package>
- - -->
- - <!-- Boo!!!
- - <Private-Package>org.apache.http.*,slf4j-api.*</Private-Package>
- - -->
- - </instructions>
- + arq.*,com.hp.hpl.jena.*,org.openjena.*,etc.*,vocabularies.*
- +
- + <Private-Package>org.xmldb.*,riotcmd.*</Private-Package>
- + -->
- + <Private-Package>org.apache.poi.*, com.jidesoft.*, org.apache.xmlbeans.*, org.openxmlformats.*, schemaorg_apache_xmlbeans.*, schemasMicrosoftComOfficeExcel.*, schemasMicrosoftComOfficeOffice.*, schemasMicrosoftComVml.*</Private-Package>
- + </instructions>
- </configuration>
- </plugin>
- </plugins>
- Index: org.appdapter.demo.gui/pom.xml
- ===================================================================
- --- org.appdapter.demo.gui/pom.xml (revision 566)
- +++ org.appdapter.demo.gui/pom.xml (working copy)
- @@ -9,161 +9,251 @@
- <artifactId>org.appdapter.demo.gui</artifactId>
- <packaging>bundle</packaging>
- - <name>${project.artifactId} - OSGi</name>
- - <description>Appdapter GUI Demo OSGi Bundle</description>
- + <name>${project.artifactId} - OSGi DEMO GUI</name>
- + <description>Appdapter OSGi Demo Bundle FOR GUI</description>
- - <dependencies>
- + <properties>
- + <vm.localargs>-XX:MaxPermSize=2g</vm.localargs>
- + <vm.args></vm.args>
- + <puma.boot.config.local>goog://0ArBjkBoH40tndDdsVEVHZXhVRHFETTB5MGhGcWFmeGc/9/8</puma.boot.config.local>
- + <maven.compiler.source>1.6</maven.compiler.source>
- + <maven.compiler.target>1.6</maven.compiler.target>
- + <encoding>UTF-8</encoding>
- + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- + <netbeans.version>RELEASE721</netbeans.version>
- + <!--smoketesting = appdapter-1.1.2-SNAPSHOT cogchar-1.0.7.0-SNAPSHOT-->
- + <!--release = appdapter-1.1.0 cogchar-1.0.6.2-->
- + <appdapter.version>1.1.3-SNAPSHOT</appdapter.version>
- + <cogchar.version>1.0.7.0-SNAPSHOT</cogchar.version>
- + <content.version>1.0.3-SNAPSHOT</content.version>
- + <tools.version>1.0.3-SNAPSHOT</tools.version>
- + <jflux.version>0.1.6</jflux.version>
- + <robokind.version>0.9.2</robokind.version>
- + <rwshop.version>0.9.2</rwshop.version>
- + <com.hrkind.robot.connections>
- + <!-- We can add additional speech services FOR a robot by adding
- + the voices separated by colons after the ip address:
- + robot01; 127.0.0.1; klauss:saul, ...
- + The extra speech services will have ids such AS:
- + robot01/klaussSpeechService
- + -->
- + <!--
- + robot01; 192.168.2.127,
- + robot02; 192.168.2.127,
- + avatar01; 192.168.2.127
- + -->
- + <!-- Localhost avatar only -->
- + robot01; 127.0.0.1,
- + robot02; 127.0.0.1,
- + avatar01; 127.0.0.1
- + <!-- ,
- + robot01; 192.168.0.103
- + -->
- + </com.hrkind.robot.connections>
- +
- + <com.hrkind.demo.behavior.master.source>
- + sheetKey;0AlpQRNQ-L8QUdFh5YWswSzdYZFJMb1N6aEhJVWwtR3c,
- + namespaceSheetNumber;4,
- + directorySheetNumber;3,
- + workBookPath;GluePuma_BehavMasterDemo.xlsx,
- + workBookNamespaceSheet;Nspc.csv,
- + workBookDirectorySheet;Dir.csv
- + </com.hrkind.demo.behavior.master.source>
- +<!-- <com.hrkind.demo.behavior.master.source>
- + sheetKey;0Avxj_SuvDlJWdG1CanhXVnRrcFVYU0M5UzR3aW0wdWc,
- + namespaceSheetNumber;5,
- + directorySheetNumber;4,
- + workBookPath;MonoZenoAlienStory.xlsx,
- + workBookNamespaceSheet;Nspc.csv,
- + workBookDirectorySheet;Dir.csv
- + </com.hrkind.demo.behavior.master.source>-->
- + <!-- <com.hrkind.demo.behavior.master.source>
- + sheetKey; 0AsAJ7pzOB_F2dGNIWlB4RHFxTm9LTnY4TXotekM4MGc,
- + workBookPath; Bud-E_Lesson_1.xlsx,
- + namespaceSheetNumber;1,
- + directorySheetNumber;2
- + </com.hrkind.demo.behavior.master.source> -->
- + <!-- <com.hrkind.demo.behavior.master.source>
- + sheetKey; 0AsAJ7pzOB_F2dEJRSWRVZnpDVUF2czhUVzlBOWJBNEE,
- + workBookPath; ZenoSpeechScene.xlsx,
- + namespaceSheetNumber;1,
- + directorySheetNumber;2
- + </com.hrkind.demo.behavior.master.source> -->
- +
- + </properties>
- +
- + <repositories>
- + <!-- <repository>
- + <id>sonatype-public</id>
- + <name>sonatype public</name>
- + <url>https://oss.sonatype.org/content/groups/public/</url>
- + </repository>-->
- + <!-- Needed FOR "good" log4J bundle -->
- + <repository>
- + <id>com.springsource.repository.bundles.external</id>
- + <name>Spring EBR External Release Repository</name>
- + <url>http://repository.springsource.com/maven/bundles/external</url>
- + </repository>
- + </repositories>
- +
- + <dependencies>
- + <dependency>
- + <artifactId>ext.bundle.jena_all_2_10_1</artifactId>
- + <groupId>${project.groupId}</groupId>
- + <!-- TODO: Review AND make explicit - What are all the impacts of "type = jar"? -->
- + <type>jar</type>
- + <version>${project.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- +
- <dependency>
- + <groupId>org.apache.felix</groupId>
- + <artifactId>org.osgi.core</artifactId>
- + <version>1.4.0</version>
- + <scope>provided</scope>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.appdapter</groupId>
- + <artifactId>org.appdapter.lib.core</artifactId>
- + <version>${appdapter.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.appdapter</groupId>
- + <artifactId>org.appdapter.lib.gui</artifactId>
- + <version>${appdapter.version}</version>
- + <scope>runtime</scope>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.appdapter</groupId>
- + <artifactId>org.appdapter.lib.registry</artifactId>
- + <version>${appdapter.version}</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.appdapter</groupId>
- + <artifactId>org.appdapter.lib.remote</artifactId>
- + <version>${appdapter.version}</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.ow2.bundles</groupId>
- + <artifactId>ow2-bundles-externals-commons-logging</artifactId>
- + <version>1.0.24</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <exclusion>
- + <artifactId>commons-logging-api</artifactId>
- + <groupId>commons-logging</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- +
- +
- +<!-- javax.servlet may be included in pax web, NOT sure IF this is still needed -->
- + <dependency>
- + <groupId>javax.servlet</groupId>
- + <artifactId>servlet-api</artifactId>
- + <version>2.5</version>
- + <scope>provided</scope>
- + </dependency>
- +
- + <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>org.appdapter.bundle.gui</artifactId>
- + <artifactId>${project.artifactId}</artifactId>
- <version>${project.version}</version>
- </dependency>
- - </dependencies>
- - <build>
- - <plugins>
- - <plugin>
- - <groupId>org.apache.felix</groupId>
- - <artifactId>maven-bundle-plugin</artifactId>
- - <version>2.3.7</version>
- - <extensions>true</extensions>
- - <configuration>
- + </dependencies>
- +
- + <build>
- + <plugins>
- + <plugin>
- + <groupId>org.apache.felix</groupId>
- + <artifactId>maven-bundle-plugin</artifactId>
- + <version>2.3.7</version>
- + <extensions>true</extensions>
- + <configuration>
- <instructions>
- - <Bundle-Activator>${project.groupId}.${artifactId}.osgi.Activator</Bundle-Activator>
- - <Export-Package>*;-split-package:=merge-first</Export-Package>
- - <Private-Package>org.apache.http.*,slf4j-api.*</Private-Package>
- + <!--org.gjt.xpp, org.ietf.jgss, org.jaxen, org.jaxen.dom4j, org.jaxen.pattern, org.jaxen.saxpath, org.relaxng.datatype, org.w3c.dom.ls, org.xmlpull.v1, scala.tools.jline, scala.tools.jline.console, scala.tools.jline.console.completer, scala.tools.jline.console.history, sun.*;resolution:='optional', com.sun.*;resolution:='optional', org.apache.*;resolution:='optional', apple.laf.*;resolution:='optional', com.apple.laf.*;resolution:='optional', com.ibm.uvm.tools, javax.*;resolution:='optional'-->
- + <Import-Package>org.appdapter.core.boot, !com.hp.hpl.jena.*.test,
- + !org.apache.xml.resolver.*,!sun.*,!com.sun.msv.*,!com.sun.jdmk.*,!javax.jms.*,!org.relaxng.*,
- + !com.ibm.uvm.tools,!javax.jmdns,*</Import-Package>
- + <Bundle-Activator>${project.artifactId}.osgi.Activator</Bundle-Activator>
- + <DynamicImport-Package>*</DynamicImport-Package>
- + <Embed-Dependency>*;artifactId=!commons-logging</Embed-Dependency>
- + <Embed-Transitive>true</Embed-Transitive>
- + <!--Export-Package>${project.artifactId}.osgi.*, *</Export-Package-->
- </instructions>
- - </configuration>
- - </plugin>
- - </plugins>
- - </build>
- + </configuration>
- + </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>
- + </plugins>
- + </build>
- - <profiles>
- - <profile>
- - <id>build-for-felix</id>
- - <dependencies>
- - <dependency>
- - <groupId>org.apache.felix</groupId>
- - <artifactId>org.apache.felix.main</artifactId>
- - <version>4.2.1</version>
- - <scope>provided</scope>
- - </dependency>
- - </dependencies>
- - <build>
- - <plugins>
- - <plugin>
- - <groupId>org.apache.maven.plugins</groupId>
- - <artifactId>maven-antrun-plugin</artifactId>
- - <version>1.6</version>
- - <executions>
- - <execution>
- - <id>compile</id>
- - <phase>package</phase>
- - <goals>
- - <goal>run</goal>
- - </goals>
- - <configuration>
- - <target>
- - <pathconvert property="plugins.jars" pathsep="${path.separator}">
- - <path refid="maven.runtime.classpath" />
- - <map from="${project.build.directory}${file.separator}classes" TO="" />
- - </pathconvert>
- - <pathconvert pathsep=" " property="bundles">
- - <path path="${plugins.jars}" />
- - <mapper>
- - <chainedmapper>
- - <flattenmapper />
- - <globmapper from="*" TO="file:modules/*" casesensitive="no" />
- - </chainedmapper>
- - </mapper>
- - </pathconvert>
- - <propertyfile file="${project.build.directory}/config.properties">
- - <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
- - <entry key="org.osgi.framework.bootdelegation" value="*" />
- - </propertyfile>
- - <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
- - </target>
- - </configuration>
- - </execution>
- - </executions>
- - </plugin>
- - <plugin>
- - <groupId>org.apache.maven.plugins</groupId>
- - <artifactId>maven-assembly-plugin</artifactId>
- - <version>2.2</version>
- - <executions>
- - <execution>
- - <id>create-executable-jar</id>
- - <phase>package</phase>
- - <goals>
- - <goal>single</goal>
- - </goals>
- - <configuration>
- - <descriptors>
- - <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
- - </descriptors>
- - <finalName>${project.build.finalName}</finalName>
- - </configuration>
- - </execution>
- - </executions>
- - </plugin>
- - </plugins>
- - </build>
- - </profile>
- - <profile>
- - <id>run-on-felix</id>
- - <dependencies>
- - <dependency>
- - <groupId>org.apache.felix</groupId>
- - <artifactId>org.apache.felix.main</artifactId>
- - <version>4.2.1</version>
- - <scope>provided</scope>
- - </dependency>
- - </dependencies>
- - <build>
- - <plugins>
- - <plugin>
- - <groupId>org.apache.maven.plugins</groupId>
- - <artifactId>maven-antrun-plugin</artifactId>
- - <version>1.6</version>
- - <configuration>
- - <target>
- - <property name="vm.args" value="" />
- - <pathconvert property="plugins.jars" pathsep="${path.separator}">
- - <path refid="maven.runtime.classpath" />
- - <map from="${project.build.directory}${file.separator}classes" TO="" />
- - </pathconvert>
- - <makeurl property="urls" separator=" ">
- - <path path="${plugins.jars}" />
- - <path location="${project.build.directory}/${project.build.finalName}.jar" />
- - </makeurl>
- - <propertyfile file="${project.build.directory}/run.properties">
- - <entry key="felix.auto.start" value="${urls}" />
- - <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
- - <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
- - <entry key="org.osgi.framework.bootdelegation" value="*" />
- - <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
- - <entry key="org.osgi.framework.system.packages.extra" value="org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, org.w3c.dom.traversal, org.w3c.dom.ranges, org.w3c.dom.views, org.w3c.dom.xpath" />
- - </propertyfile>
- -
- - <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
- -
- - <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
- - <sysproperty key="felix.config.properties" value="${run.properties.url}" />
- - <jvmarg line="${vm.args}" />
- - </java>
- -
- - </target>
- - </configuration>
- - </plugin>
- - </plugins>
- - </build>
- - </profile>
- - </profiles>
- </project>
- +
- <!--
- /*
- - * Copyright 2011 by The Appdapter Project (www.appdapter.org).
- + * Copyright 2013 by The Appdapter Project (www.appdapter.org).
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may NOT use this file except in compliance with the License.
- Index: org.appdapter.demo.gui/src/main/java/org/appdapter/demo/gui/osgi/Activator.java
- ===================================================================
- --- org.appdapter.demo.gui/src/main/java/org/appdapter/demo/gui/osgi/Activator.java (revision 566)
- +++ org.appdapter.demo.gui/src/main/java/org/appdapter/demo/gui/osgi/Activator.java (working copy)
- @@ -15,7 +15,7 @@
- debugLoaders(org.appdapter.core.boot.ClassLoaderUtils.class);
- debugLoaders(org.appdapter.gui.demo.DemoBrowser.class);
- debugLoaders(org.appdapter.gui.browse.Utility.class);
- - org.appdapter.ext.bundle.openconverters.osgi.Activator.ensureConvertersClassesAreFindable();
- + // org.appdapter.ext.bundle.openconverters.osgi.Activator.ensureConvertersClassesAreFindable();
- org.appdapter.gui.demo.DemoBrowser.main(args);
- System.out.println("[System.out] ...all done!");
- }
- Index: org.appdapter.lib.core/pom.xml
- ===================================================================
- --- org.appdapter.lib.core/pom.xml (revision 566)
- +++ org.appdapter.lib.core/pom.xml (working copy)
- @@ -1,44 +1,5 @@
- <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">
- -<!-- Made using Maven archetype scala-archetype-simple 1.3
- -(using Netbeans 7.0 "New Proj->Maven->From Archetype")
- -
- -http://implicit.ly/scala-archetype-simple-13-tag-maven-scala
- -
- -recommends interactive:
- -
- -mvn archetype:generate
- - -DarchetypeCatalog=http://nexus.scala-tools.org/content/groups/public
- -
- -OR CLI:
- -
- -mvn archetype:generate -B \
- - -DarchetypeRepository=http://scala-tools.org/repo-releases/ \
- - -DarchetypeGroupId=org.scala-tools.archetypes -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.3 \
- - -DgroupId=com.company -DartifactId=project -Dversion=0.1-SNAPSHOT -Dpackage=com.company
- -
- -Note that from Netbeans we can get Cygwin(/Linux/BSD) terminal with menu: Window->Output->Terminal
- -
- -THEN make sure TO set JAVA_HOME, ANT_HOME, SCALA_HOME, M2_HOME,
- -AND THEN PATH (using bin directory from each) although these
- -are often NOT all completely necessary FOR simple deployments.
- -FOR example, Maven is able TO auto-download Scala, OR you can
- -build Scala + Java (IF you install their compilers explicitly)
- -without Maven, AND finally LET's reiterate: This build+run
- -functionality is all WITH OR WITHOUT Netbeans 7.0 with Maven
- -support + Scala support enabled. Appdapter itself is a Java+Scala
- -library.
- -
- -We pretend TO include some ScalaTest-s AND some JUnit-s, watch FOR
- -news on that, OR come help out!
- -
- -Also see optional AppdapterOSGi project TO build an OSGi wrapper
- -bundle, with OR without embedded dependencies.
- -
- -Both plain jar AND OSGi forms should be available from Maven
- -central repo.
- -
- --->
- - <modelVersion>4.0.0</modelVersion>
- + <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.appdapter</groupId>
- <artifactId>org.appdapter.modules.core</artifactId>
- @@ -52,9 +13,6 @@
- <description>Appdapter Maven project including Java AND Scala, produces jar, NOT bundle. Excludes concrete SLF4J binding.</description>
- -
- -
- -
- <dependencies>
- <!-- Was using this FOR compile-edit workarounds, but now it's gone!
- <dependency>
- @@ -74,8 +32,7 @@
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <!-- Updated 2013-07-17 from <artifactId>ext.bundle.jena_all_264</artifactId>
- - -->
- + <!-- Updated 2013-07-17 from <artifactId>ext.bundle.jena_all_264</artifactId> -->
- <artifactId>ext.bundle.jena_all_2_10_1</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- @@ -86,6 +43,7 @@
- <artifactId>ext.bundle.openconverters</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- + <scope>compile</scope>
- </dependency>
- @@ -115,17 +73,12 @@
- <groupId>org.apache.log4j</groupId>
- <artifactId>com.springsource.org.apache.log4j</artifactId>
- <version>1.2.16</version>
- - <scope>provided</scope>
- -
- + <scope>provided</scope>
- </dependency>
- +
- <dependency>
- - <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-api</artifactId>
- - <version>1.7.5</version>
- - </dependency>
- - <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.157</version>
- @@ -204,8 +157,55 @@
- <!-- Now frozen TO use version 1.0.9, so we don't have to build JScience wrapper anymore -->
- <version>1.0.9</version>
- </dependency>
- -
- +
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- +
- <!-- SLF4J Test Bindings.
- We can change the scope during unit testing, but don't commit to SVN with scope other than "test"
- -->
- @@ -219,12 +219,6 @@
- </dependency>
- -->
- - <dependency>
- - <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-log4j12</artifactId>
- - <version>1.7.5</version>
- - <scope>test</scope>
- - </dependency>
- </dependencies>
- @@ -284,44 +278,7 @@
- </includes>
- </configuration>
- </plugin>
- -
- -
- </plugins>
- - <pluginManagement>
- - <plugins>
- - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
- - <plugin>
- - <groupId>org.eclipse.m2e</groupId>
- - <artifactId>lifecycle-mapping</artifactId>
- - <version>1.0.0</version>
- - <configuration>
- - <lifecycleMappingMetadata>
- - <pluginExecutions>
- - <pluginExecution>
- - <pluginExecutionFilter>
- - <groupId>
- - org.scala-tools
- - </groupId>
- - <artifactId>
- - maven-scala-plugin
- - </artifactId>
- - <versionRange>
- - [2.15.2,)
- - </versionRange>
- - <goals>
- - <goal>compile</goal>
- - </goals>
- - </pluginExecutionFilter>
- - <action>
- - <ignore />
- - </action>
- - </pluginExecution>
- - </pluginExecutions>
- - </lifecycleMappingMetadata>
- - </configuration>
- - </plugin>
- - </plugins>
- - </pluginManagement>
- </build>
- </project>
- <!--
- Index: org.appdapter.lib.gui/pom.xml
- ===================================================================
- --- org.appdapter.lib.gui/pom.xml (revision 566)
- +++ org.appdapter.lib.gui/pom.xml (working copy)
- @@ -52,85 +52,226 @@
- <description>Appdapter Maven project including Java AND Scala, produces jar, NOT bundle. Excludes concrete SLF4J binding.</description>
- - <dependencies>
- +
- +
- + <dependencies>
- + <!-- Was using this FOR compile-edit workarounds, but now it's gone!
- <dependency>
- - <groupId>org.apache.felix</groupId>
- - <artifactId>org.osgi.core</artifactId>
- - <version>1.4.0</version>
- + <groupId>org.jscience</groupId>
- + <artifactId>jscience-mathematics</artifactId>
- + <version>5.0-SNAPSHOT</version>
- <scope>provided</scope>
- - </dependency>
- + </dependency>
- + -->
- + <!-- *************** Compile Deps - mostly OSGi-friendly versions *********************** -->
- <dependency>
- - <groupId>junit</groupId>
- - <artifactId>junit</artifactId>
- - <version>3.8.1</version>
- - <scope>test</scope>
- + <groupId>org.scala-lang</groupId>
- + <artifactId>scala-library</artifactId>
- + <version>2.10.2</version>
- </dependency>
- - <dependency>
- - <groupId>${project.groupId}</groupId>
- - <artifactId>org.appdapter.lib.core</artifactId>
- - <version>${project.version}</version>
- - <scope>provided</scope>
- - <exclusions>
- - <exclusion>
- - <artifactId>xmlbeans</artifactId>
- - <groupId>org.apache.xmlbeans</groupId>
- - </exclusion>
- - </exclusions>
- - </dependency>
- +
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>org.appdapter.lib.registry</artifactId>
- <version>${project.version}</version>
- - <scope>provided</scope>
- </dependency>
- +
- <dependency>
- <groupId>${project.groupId}</groupId>
- + <artifactId>org.appdapter.lib.core</artifactId>
- + <version>${project.version}</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- <artifactId>org.appdapter.lib.remote</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- +
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.jena_all_2_10_1</artifactId>
- + <version>${project.version}</version>
- + <type>jar</type>
- + </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.osgi.common</artifactId>
- + <artifactId>ext.bundle.xml.dom4j_161</artifactId>
- <version>${project.version}</version>
- - <scope>provided</scope>
- </dependency>
- +
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.openconverters</artifactId>
- + <artifactId>ext.bundle.osgi.common</artifactId>
- <version>${project.version}</version>
- - <scope>provided</scope>
- </dependency>
- - <dependency>
- - <groupId>com.jidesoft</groupId>
- - <artifactId>jide-oss</artifactId>
- - <version>3.5.5</version>
- - </dependency>
- +
- <dependency>
- - <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-api</artifactId>
- - <version>1.7.5</version>
- + <groupId>net.sf.opencsv</groupId>
- + <artifactId>opencsv</artifactId>
- + <version>2.3</version>
- </dependency>
- <dependency>
- - <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-log4j12</artifactId>
- - <version>1.7.5</version>
- - <scope>runtime</scope>
- + <!--
- + Needed AT compile time so we can provide a utility TO force the properties resource URL in,
- + due TO TCCL issues with Log4J's default startup in OSGi environment.
- + -->
- +
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + <scope>provided</scope>
- +
- + </dependency>
- +
- +
- + <dependency>
- + <groupId>com.h2database</groupId>
- + <artifactId>h2</artifactId>
- + <version>1.3.157</version>
- + </dependency>
- +
- +<!-- Problems in Felix, because
- + A) System Bundle #0 supplies the JAXP APIs at version 0.0.,
- + B) Dom4J specifies broad "uses" constraints on its exports.
- + C) Dom4J specifies version number >1.0 on SOME of its imports.
- +
- + [java] javax.xml.parsers; version=0.0.0.1_006_JavaSE imported by:
- + [java] org.apache.servicemix.bundles.dom4j [255]
- + [java] org.apache.servicemix.bundles.xpp3 [283]
- + [java] org.apache.servicemix.bundles.xmlresolver [342]
- + [java] org.apache.servicemix.bundles.xerces [256]
- + [java] com.springsource.org.apache.log4j [273]
- + [java] scala-library [249]
- +
- +
- +
- + <dependency>
- + <groupId>org.apache.servicemix.bundles</groupId>
- + <artifactId>org.apache.servicemix.bundles.dom4j</artifactId>
- + <version>1.6.1_4</version>
- <exclusions>
- - <!-- This embedded Log4J version is NOT OSGi friendly, so we exclude it. -->
- <exclusion>
- - <artifactId>log4j</artifactId>
- - <groupId>log4j</groupId>
- + <artifactId>xml-apis</artifactId>
- + <groupId>xml-apis</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- +-->
- + <!-- *************** Runtime Deps *********************** -->
- +
- +
- + <!--
- <dependency>
- - <!-- Here is the happy Log4J bundle that we like instead of one excluded above. -->
- - <groupId>org.apache.log4j</groupId>
- - <artifactId>com.springsource.org.apache.log4j</artifactId>
- - <version>1.2.16</version>
- - <scope>compile</scope>
- - </dependency>
- + <groupId>org.apache.servicemix.specs</groupId>
- + <artifactId>org.apache.servicemix.specs.jaxp-api-1.4</artifactId>
- + <version>1.6.0</version>
- + <scope>runtime</scope>
- + </dependency>
- + -->
- +
- +
- +
- + <!-- ************************** Test Deps *********************** -->
- + <dependency>
- + <groupId>org.scala-tools.testing</groupId>
- + <artifactId>specs_2.10</artifactId>
- + <version>1.6.9</version>
- + <scope>test</scope>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.apache.servicemix.bundles</groupId>
- + <artifactId>org.apache.servicemix.bundles.junit</artifactId>
- + <version>4.7_3</version>
- + <scope>test</scope>
- + </dependency>
- + <dependency>
- + <groupId>org.scalatest</groupId>
- + <artifactId>scalatest_2.10</artifactId>
- + <version>1.9.1</version>
- + <scope>test</scope>
- + </dependency>
- + <dependency>
- + <groupId>${project.groupId}</groupId>
- + <artifactId>ext.bundle.math.jscience_50SNAP</artifactId>
- + <!-- Now frozen TO use version 1.0.9, so we don't have to build JScience wrapper anymore -->
- + <version>1.0.9</version>
- + </dependency>
- +
- + <!-- This is commented out UNTIL i can get JIDE TO exported properly TO BMD -->
- + <dependency>
- + <groupId>com.jidesoft</groupId>
- + <artifactId>jide-oss</artifactId>
- + <version>3.5.5</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.apache.poi</groupId>
- + <artifactId>poi-ooxml</artifactId>
- + <version>3.9</version>
- + </dependency>
- + <!-- SLF4J Test Bindings.
- + We can change the scope during unit testing, but don't commit to SVN with scope other than "test"
- + -->
- + <!--
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-simple</artifactId>
- + <version>1.6.2</version>
- +
- + <scope>test</scope>
- + </dependency>
- + -->
- +
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- + <dependency>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- + </dependency>
- +
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-log4j12</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- +
- +<!-- END log4j boilerplate -->
- +
- </dependencies>
- <build>
- Index: org.appdapter.lib.remote/pom.xml
- ===================================================================
- --- org.appdapter.lib.remote/pom.xml (revision 566)
- +++ org.appdapter.lib.remote/pom.xml (working copy)
- @@ -13,14 +13,7 @@
- <description>Appdapter Maven project including Java/SPARQL Client, produces jar, NOT bundle. Excludes concrete SLF4J binding.</description>
- <dependencies>
- - <!-- Was using this FOR compile-edit workarounds, but now it's gone!
- - <dependency>
- - <groupId>org.jscience</groupId>
- - <artifactId>jscience-mathematics</artifactId>
- - <version>5.0-SNAPSHOT</version>
- - <scope>provided</scope>
- - </dependency>
- - -->
- +
- <!-- *************** Compile Deps - mostly OSGi-friendly versions *********************** -->
- <dependency>
- <groupId>javax.servlet</groupId>
- @@ -50,23 +43,56 @@
- <dependency>
- <groupId>${project.groupId}</groupId>
- - <artifactId>ext.bundle.apache_httpclient</artifactId>
- + <artifactId>org.appdapter.lib.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- +<!-- BEGIN log4j boilerplate -->
- + <dependency>
- + <groupId>org.slf4j</groupId>
- + <artifactId>slf4j-api</artifactId>
- + <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- + </dependency>
- <dependency>
- - <groupId>${project.groupId}</groupId>
- - <artifactId>org.appdapter.lib.core</artifactId>
- - <version>${project.version}</version>
- + <!-- Here is an OSGi-friendly Log4J bundle, which we presume can be initialized through
- + the methods provided by Appdapter, which assumes a log4j.properties file AT
- + root of this bundle. TO initialize Log4J differently, we could make this a
- + compile-scoped dependency, AND THEN DO any Log4J config using CODE, e.g.
- + using "BasicConfigurator".
- + -->
- + <groupId>org.apache.log4j</groupId>
- + <artifactId>com.springsource.org.apache.log4j</artifactId>
- + <version>1.2.16</version>
- </dependency>
- - <dependency>
- + <dependency>
- <groupId>org.slf4j</groupId>
- - <artifactId>slf4j-api</artifactId>
- + <artifactId>slf4j-log4j12</artifactId>
- <version>1.7.5</version>
- + <scope>runtime</scope>
- + <exclusions>
- + <!-- We exclude the normally embedded Log4J version, because it is NOT OSGi friendly.
- + We instead use the bundled version supplied by SpringSource below.
- + -->
- + <exclusion>
- + <artifactId>log4j</artifactId>
- + <groupId>log4j</groupId>
- + </exclusion>
- + </exclusions>
- </dependency>
- -
- +
- +<!-- END log4j boilerplate -->
- </dependencies>
- <build>
- @@ -100,7 +126,7 @@
- </project>
- <!--
- /*
- - * Copyright 2011 by The Appdapter Project (www.appdapter.org).
- + * Copyright 2013 by The Appdapter Project (www.appdapter.org).
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may NOT use this file except in compliance with the License.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement