Modified: incubator/stanbol/trunk/rules/web/pom.xml URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/web/pom.xml?rev=1099523&r1=1099522&r2=1099523&view=diff ============================================================================== --- incubator/stanbol/trunk/rules/web/pom.xml (original) +++ incubator/stanbol/trunk/rules/web/pom.xml Wed May 4 17:15:37 2011 @@ -1,328 +1,325 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor + license agreements. See the NOTICE file distributed with this work for additional + information regarding copyright ownership. The ASF licenses this file to + You under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required + by applicable law or agreed to in writing, software distributed under the + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY KIND, either express or implied. See the License for the specific + language governing permissions and limitations under the License. --> <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"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.stanbol</groupId> - <artifactId>stanbol-parent</artifactId> - <version>0.9-SNAPSHOT</version> - <relativePath>../../parent</relativePath> - </parent> - - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.rules.web</artifactId> - <packaging>bundle</packaging> - - <name>Apache Stanbol Rules Web</name> - <description>Set of rst service to deal with rules and recipes</description> - - <dependencies> - - <!-- dependencies on other IKS modules --> - <dependency> - <groupId>org.apache.clerezza</groupId> - <artifactId>org.apache.clerezza.rdf.core</artifactId> - <version>0.12-incubating-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.clerezza</groupId> - <artifactId>org.apache.clerezza.rdf.rdfjson</artifactId> - <version>0.3-incubating-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.clerezza</groupId> - <artifactId>org.apache.clerezza.jaxrs.rdf.providers</artifactId> - <version>0.13-incubating-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.clerezza</groupId> - <artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId> - <version>0.9-incubating-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - - <!-- specific deps for this project --> - <dependency> - <groupId>com.sun.jersey</groupId> - <artifactId>jersey-server</artifactId> - <version>${jersey-version}</version> - </dependency> - <dependency> - <groupId>com.sun.jersey</groupId> - <artifactId>jersey-core</artifactId> - <version>${jersey-version}</version> - </dependency> - <dependency> - <groupId>com.sun.jersey</groupId> - <artifactId>jersey-json</artifactId> - <version>${jersey-version}</version> - <exclusions> - <!-- jaxb is now part of java 6 --> - <exclusion> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-api</artifactId> - </exclusion> - <exclusion> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-impl</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- - <dependency> <groupId>com.sun.jersey.contribs</groupId> - <artifactId>jersey-multipart</artifactId> <version>1.4</version> - </dependency> - --> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>freemarker</groupId> - <artifactId>freemarker</artifactId> - <version>2.3.9</version> - </dependency> - <!-- indirect dependency for freemarker --> - <dependency> - <groupId>org.codehaus.jettison</groupId> - <artifactId>jettison</artifactId> - <version>1.2</version> - </dependency> - - <!-- servlet container, most useful for the tests --> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty</artifactId> - <version>6.1.22</version> - <scope>provided</scope> - </dependency> - - <!-- generic tax --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.5.2</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>1.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - - <!-- OSGi tax --> - <dependency> - <groupId>org.osgi</groupId> - <artifactId>org.osgi.core</artifactId> - <version>4.1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.osgi</groupId> - <artifactId>org.osgi.compendium</artifactId> - <version>4.1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.felix</groupId> - <artifactId>org.apache.felix.scr.annotations</artifactId> - <version>1.2.0</version> - <scope>provided</scope> - </dependency> - - <!-- for tests --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <version>1.5.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.7</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.6</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.sun.jersey</groupId> - <artifactId>jersey-client</artifactId> - <version>${jersey-version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.ops4j.pax.exam</groupId> - <artifactId>pax-exam</artifactId> - <version>${pax-exam-version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.ops4j.pax.exam</groupId> - <artifactId>pax-exam-junit</artifactId> - <version>${pax-exam-version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.ops4j.pax.exam</groupId> - <artifactId>pax-exam-container-default</artifactId> - <version>${pax-exam-version}</version> - <scope>test</scope> - </dependency> - - <!-- Stanbol deps --> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.commons.web.base</artifactId> - <version>${stanbol-version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.ontologymanager.ontonet</artifactId> - <version>${stanbol-version}</version> - </dependency> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.rules.manager</artifactId> - <version>${stanbol-version}</version> - </dependency> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.rules.refactor</artifactId> - <version>${stanbol-version}</version> - </dependency> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.rules.base</artifactId> - <version>${stanbol-version}</version> - </dependency> - <dependency> - <groupId>org.apache.stanbol</groupId> - <artifactId>org.apache.stanbol.owl</artifactId> - <version>${stanbol-version}</version> - </dependency> - - <!-- OWL deps --> - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>jena</artifactId> - <version>2.6.2</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>owlapi</groupId> - <artifactId>owlapi</artifactId> - <version>3.0.0</version> - </dependency> - - </dependencies> - - - <repositories> - <!-- needed for jersey --> - <repository> - <id>maven2-repository.dev.java.net</id> - <name>Java.net Repository for Maven</name> - <url>http://download.java.net/maven/2/</url> - </repository> - <repository> - <id>repository-codehaus</id> - <name>Codehaus maven repository</name> - <url>http://repository.codehaus.org</url> - </repository> - - <!-- needed for clerezza SNAPSHOT only --> - <repository> - <id>apache repository - snapshot repo</id> - <name>apache repository</name> - <url>https://repository.apache.org/content/repositories/snapshots</url> - </repository> - </repositories> - - <build> - <!-- make it an OSGi bundle --> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <extensions>true</extensions> - <configuration> - <instructions> - <Export-Package> - org.apache.stanbol.rules.web.*;version=${stanbol-version} + <parent> + <groupId>org.apache.stanbol</groupId> + <artifactId>stanbol-parent</artifactId> + <version>0.9-SNAPSHOT</version> + <relativePath>../../parent</relativePath> + </parent> + + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.rules.web</artifactId> + <packaging>bundle</packaging> + + <name>Apache Stanbol Rules Web</name> + <description>Set of rst service to deal with rules and recipes</description> + + <dependencies> + + <!-- dependencies on other IKS modules --> + <dependency> + <groupId>org.apache.clerezza</groupId> + <artifactId>org.apache.clerezza.rdf.core</artifactId> + <version>0.12-incubating-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.clerezza</groupId> + <artifactId>org.apache.clerezza.rdf.rdfjson</artifactId> + <version>0.3-incubating-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.clerezza</groupId> + <artifactId>org.apache.clerezza.jaxrs.rdf.providers</artifactId> + <version>0.13-incubating-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.clerezza</groupId> + <artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId> + <version>0.9-incubating-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + + <!-- specific deps for this project --> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + <version>${jersey-version}</version> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + <version>${jersey-version}</version> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-json</artifactId> + <version>${jersey-version}</version> + <exclusions> + <!-- jaxb is now part of java 6 --> + <exclusion> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + </exclusion> + </exclusions> + </dependency> + <!-- <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-multipart</artifactId> + <version>1.4</version> </dependency> --> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>freemarker</groupId> + <artifactId>freemarker</artifactId> + <version>2.3.9</version> + </dependency> + <!-- indirect dependency for freemarker --> + <dependency> + <groupId>org.codehaus.jettison</groupId> + <artifactId>jettison</artifactId> + <version>1.2</version> + </dependency> + + <!-- servlet container, most useful for the tests --> + <dependency> + <groupId>org.mortbay.jetty</groupId> + <artifactId>jetty</artifactId> + <version>6.1.22</version> + <scope>provided</scope> + </dependency> + + <!-- generic tax --> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>1.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + + <!-- OSGi tax --> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.core</artifactId> + <version>4.1.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.compendium</artifactId> + <version>4.1.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.scr.annotations</artifactId> + <version>1.2.0</version> + <scope>provided</scope> + </dependency> + + <!-- for tests --> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.6</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-client</artifactId> + <version>${jersey-version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.ops4j.pax.exam</groupId> + <artifactId>pax-exam</artifactId> + <version>${pax-exam-version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.ops4j.pax.exam</groupId> + <artifactId>pax-exam-junit</artifactId> + <version>${pax-exam-version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.ops4j.pax.exam</groupId> + <artifactId>pax-exam-container-default</artifactId> + <version>${pax-exam-version}</version> + <scope>test</scope> + </dependency> + + <!-- Stanbol deps --> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.commons.web.base</artifactId> + <version>${stanbol-version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.ontologymanager.ontonet</artifactId> + <version>${stanbol-version}</version> + </dependency> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.rules.manager</artifactId> + <version>${stanbol-version}</version> + </dependency> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.rules.refactor</artifactId> + <version>${stanbol-version}</version> + </dependency> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.rules.base</artifactId> + <version>${stanbol-version}</version> + </dependency> + <dependency> + <groupId>org.apache.stanbol</groupId> + <artifactId>org.apache.stanbol.owl</artifactId> + <version>${stanbol-version}</version> + </dependency> + + <!-- OWL deps --> + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>jena</artifactId> + <version>2.6.2</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>owlapi</groupId> + <artifactId>owlapi</artifactId> + <version>3.0.0</version> + </dependency> + + <!-- Diagnostics deps --> + <dependency> <!-- we use log4j 1.2 --> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <!-- see also the log4j.properties in src/main/resources --> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <scope>runtime</scope> + </dependency> + + <!-- Testing deps --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <scope>test</scope> + </dependency> + + </dependencies> + + + <repositories> + <!-- needed for jersey --> + <repository> + <id>maven2-repository.dev.java.net</id> + <name>Java.net Repository for Maven</name> + <url>http://download.java.net/maven/2/</url> + </repository> + <repository> + <id>repository-codehaus</id> + <name>Codehaus maven repository</name> + <url>http://repository.codehaus.org</url> + </repository> + + <!-- needed for clerezza SNAPSHOT only --> + <repository> + <id>apache repository - snapshot repo</id> + <name>apache repository</name> + <url>https://repository.apache.org/content/repositories/snapshots</url> + </repository> + </repositories> + + <build> + <!-- make it an OSGi bundle --> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Export-Package> + org.apache.stanbol.rules.web.*;version=${stanbol-version} </Export-Package> - <Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=jersey-json|jettison|jackson-core-asl + <Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=jersey-json|jettison|jackson-core-asl </Embed-Dependency> - <Embed-Transitive>true</Embed-Transitive> - <Import-Package> - org.semanticweb.owlapi.*, - !javax.servlet.jsp.*, - !org.apache.tools.*, - !org.mortbay.*, - !org.apache.xpath.*, - !org.jdom.*, - !org.jaxen.*, - !org.apache.xml.*, - !org.mozilla.javascript.*, - !org.python.*, - !org.dom4j.*, - !org.apache.log.*, - * + <Embed-Transitive>true</Embed-Transitive> + <Import-Package> + org.semanticweb.owlapi.*, + !javax.servlet.jsp.*, + !org.apache.tools.*, + !org.mortbay.*, + !org.apache.xpath.*, + !org.jdom.*, + !org.jaxen.*, + !org.apache.xml.*, + !org.mozilla.javascript.*, + !org.python.*, + !org.dom4j.*, + !org.apache.log.*, + * </Import-Package> - <Embed-Dependency>freemarker</Embed-Dependency> - <_nouses>true</_nouses> - </instructions> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-scr-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.0.2</version> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - </plugins> - </build> + <Embed-Dependency>freemarker</Embed-Dependency> + <_nouses>true</_nouses> + </instructions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-scr-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0.2</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + </plugins> + </build> </project>
