From: <hee...@us...> - 2011-06-15 20:11:51
|
Revision: 2889 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2889&view=rev Author: heeroyuy Date: 2011-06-15 20:11:44 +0000 (Wed, 15 Jun 2011) Log Message: ----------- -added mvn-pkg plugin for the components-core and interfaces POM file Modified Paths: -------------- trunk/components-core/pom.xml trunk/interfaces/pom.xml Modified: trunk/components-core/pom.xml =================================================================== --- trunk/components-core/pom.xml 2011-06-15 17:22:09 UTC (rev 2888) +++ trunk/components-core/pom.xml 2011-06-15 20:11:44 UTC (rev 2889) @@ -1,211 +1,251 @@ <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> + <modelVersion>4.0.0</modelVersion> - <groupId>org.dllearner</groupId> - <artifactId>components-core</artifactId> - <packaging>jar</packaging> + <groupId>org.dllearner</groupId> + <artifactId>components-core</artifactId> + <packaging>jar</packaging> - <name>DL Learner Core Components</name> - <url>http://aksw.org/Projects/DLLearner</url> + <name>DL Learner Core Components</name> + <url>http://aksw.org/Projects/DLLearner</url> - <parent> - <groupId>org.dllearner</groupId> - <artifactId>dllearner-parent</artifactId> - <version>1.0-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.dllearner</groupId> + <artifactId>dllearner-parent</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> - <build> - <plugins> - <!--Surefire - for JUnits--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <!--Uncomment this when the junits are independent of a runtime directory--> - <!--<includes>--> - <!--<include>org/dllearner/test/junit/*</include>--> - <!--</includes>--> - <excludes> - <exclude>org/dllearner/test/*</exclude> - <exclude>org/dllearner/test/junit/TestOntologies.java</exclude> - <!--This line excludes inner classes--> - <exclude>**/*$*</exclude> - </excludes> - </configuration> - </plugin> - <!--Jar the tests up into a separate jar so other components tests' can leverage them--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>test-jar</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>jdeb</artifactId> - <groupId>org.vafer</groupId> - <version>0.8</version> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>jdeb</goal> - </goals> - <configuration> - <dataSet> - <data> - <src>${project.build.directory}/${project.build.finalName}.jar</src> - <type>file</type> - <mapper> - <type>perm</type> - <prefix>/usr/share/dllearner</prefix> - </mapper> - </data> - </dataSet> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <build> + <plugins> + <!--Surefire - for JUnits--> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- + Uncomment this when the junits are independent of a runtime + directory + --> + <!--<includes>--> + <!--<include>org/dllearner/test/junit/*</include>--> + <!--</includes>--> + <excludes> + <exclude>org/dllearner/test/*</exclude> + <exclude>org/dllearner/test/junit/TestOntologies.java</exclude> + <!--This line excludes inner classes--> + <exclude>**/*$*</exclude> + </excludes> + </configuration> + </plugin> + <!-- + Jar the tests up into a separate jar so other components tests' can + leverage them + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>de.tarent.maven.plugins</groupId> + <artifactId>maven-pkg-plugin</artifactId> + <version>2.1.0</version> + <configuration> - <dependencies> + <defaultTarget>all</defaultTarget> - <dependency> - <groupId>org.aksw.commons</groupId> - <artifactId>sparql</artifactId> - </dependency> + <defaultDistro>ubuntu_intrepid</defaultDistro> + <shortDescription>This is the libraries that are necessary for + running dl-learner.</shortDescription> - <!-- THIS IS FROM THE UNIBAS REPO--> - <dependency> - <groupId>net.sourceforge.owlapi</groupId> - <artifactId>owlapi</artifactId> - </dependency> + <defaults> + <section>libs</section> + <architecture>all</architecture> + <srcAuxFilesDir>src/main/pkg</srcAuxFilesDir> + <maintainer>Jens Lehmann</maintainer> + <bundleDependencies> + <boolean>true</boolean> + </bundleDependencies> + </defaults> - <!-- THIS IS FROM THE UNIBAS REPO--> - <dependency> - <groupId>com.owldl</groupId> - <artifactId>pellet</artifactId> - <exclusions> - <exclusion> <!-- declare the exclusion here --> - <groupId>org.mortbay.jetty</groupId> - <artifactId>org.mortbay.jetty</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> + <targetConfigurations> - <!--Available via central, we use the latest with minor mods to DL Learner source (IE Dig related code)--> - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>jena</artifactId> - </dependency> + <targetConfiguration> + <target>i386</target> - <!--SwingX is in central--> - <dependency> - <groupId>org.swinglabs</groupId> - <artifactId>swingx</artifactId> - </dependency> + <architecture>i386</architecture> + <srcJNIFilesDir>src/main/native/i386</srcJNIFilesDir> + </targetConfiguration> - <!--JSON is in Central--> - <dependency> - <groupId>org.json</groupId> - <artifactId>json</artifactId> - </dependency> + <targetConfiguration> + <target>armel</target> + <architecture>armel</architecture> + <srcJNIFilesDir>src/main/native/armel</srcJNIFilesDir> - <dependency> - <groupId>net.sf.jopt-simple</groupId> - <artifactId>jopt-simple</artifactId> - </dependency> + </targetConfiguration> + </targetConfigurations> - <!--Lucene is in Central--> - <dependency> - <groupId>org.apache.lucene</groupId> - <artifactId>lucene-core</artifactId> - </dependency> + <distroConfigurations> + <distroConfiguration> - <dependency> - <groupId>org.ini4j</groupId> - <artifactId>ini4j</artifactId> - </dependency> + <distros> + <distro>ubuntu_intrepid</distro> + <distro>ubuntu_karmic</distro> + </distros> + </distroConfiguration> + </distroConfigurations> + </configuration> + </plugin> + </plugins> + </build> - <dependency> - <groupId>xmlbeans</groupId> - <artifactId>xbean</artifactId> - </dependency> + <dependencies> - <dependency> - <groupId>com.google.code.factplusplus</groupId> - <artifactId>factpp-owlapi</artifactId> - </dependency> + <dependency> + <groupId>org.aksw.commons</groupId> + <artifactId>sparql</artifactId> + </dependency> - <dependency> - <groupId>net.sourceforge.owlapi.owllink</groupId> - <artifactId>owllink</artifactId> - </dependency> + <!-- THIS IS FROM THE UNIBAS REPO--> + <dependency> + <groupId>net.sourceforge.owlapi</groupId> + <artifactId>owlapi</artifactId> + </dependency> - <dependency> - <groupId>org.semanticweb.hermit</groupId> - <artifactId>hermit</artifactId> - </dependency> + <!-- THIS IS FROM THE UNIBAS REPO--> + <dependency> + <groupId>com.owldl</groupId> + <artifactId>pellet</artifactId> + <exclusions> + <exclusion> <!-- declare the exclusion here --> + <groupId>org.mortbay.jetty</groupId> + <artifactId>org.mortbay.jetty</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>com.jamonapi</groupId> - <artifactId>jamon</artifactId> - </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <scope>provided</scope> + </dependency> - <!--JENA ARQ is in central - we use the latest--> - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>arq</artifactId> - </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> + <!-- + Available via central, we use the latest with minor mods to DL + Learner source (IE Dig related code) + --> + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>jena</artifactId> + </dependency> - <dependency> - <groupId>net.sourceforge.dig</groupId> - <artifactId>dig-xmlbeans</artifactId> - </dependency> + <!--SwingX is in central--> + <dependency> + <groupId>org.swinglabs</groupId> + <artifactId>swingx</artifactId> + </dependency> - <dependency> - <groupId>com.h2database</groupId> - <artifactId>h2</artifactId> - </dependency> - <dependency> - <groupId>fuzzydll</groupId> - <artifactId>fuzzydl</artifactId> - <version>1.0</version> - </dependency> - - <dependency> - <groupId>fuzzydll</groupId> - <artifactId>fuzzyowl2fuzzydlparser</artifactId> - <version>1.0</version> - </dependency> - - </dependencies> + <!--JSON is in Central--> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + </dependency> + + + <dependency> + <groupId>net.sf.jopt-simple</groupId> + <artifactId>jopt-simple</artifactId> + </dependency> + + + <!--Lucene is in Central--> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + </dependency> + + <dependency> + <groupId>org.ini4j</groupId> + <artifactId>ini4j</artifactId> + </dependency> + + + <dependency> + <groupId>xmlbeans</groupId> + <artifactId>xbean</artifactId> + </dependency> + + <dependency> + <groupId>com.google.code.factplusplus</groupId> + <artifactId>factpp-owlapi</artifactId> + </dependency> + + <dependency> + <groupId>net.sourceforge.owlapi.owllink</groupId> + <artifactId>owllink</artifactId> + </dependency> + + <dependency> + <groupId>org.semanticweb.hermit</groupId> + <artifactId>hermit</artifactId> + </dependency> + + <dependency> + <groupId>com.jamonapi</groupId> + <artifactId>jamon</artifactId> + </dependency> + + <!--JENA ARQ is in central - we use the latest--> + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>arq</artifactId> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>net.sourceforge.dig</groupId> + <artifactId>dig-xmlbeans</artifactId> + </dependency> + + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + </dependency> + + <dependency> + <groupId>fuzzydll</groupId> + <artifactId>fuzzydl</artifactId> + <version>1.0</version> + </dependency> + + <dependency> + <groupId>fuzzydll</groupId> + <artifactId>fuzzyowl2fuzzydlparser</artifactId> + <version>1.0</version> + </dependency> + + </dependencies> </project> Modified: trunk/interfaces/pom.xml =================================================================== --- trunk/interfaces/pom.xml 2011-06-15 17:22:09 UTC (rev 2888) +++ trunk/interfaces/pom.xml 2011-06-15 20:11:44 UTC (rev 2889) @@ -1,175 +1,203 @@ <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> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> - <groupId>org.dllearner</groupId> - <artifactId>interfaces</artifactId> - <packaging>jar</packaging> - <name>Interfaces: GUI, CLI, Web Service</name> - <url>http://aksw.org/Projects/DLLearner</url> + <groupId>org.dllearner</groupId> + <artifactId>interfaces</artifactId> + <packaging>jar</packaging> + <name>Interfaces: GUI, CLI, Web Service</name> + <url>http://aksw.org/Projects/DLLearner</url> - <parent> - <groupId>org.dllearner</groupId> - <artifactId>dllearner-parent</artifactId> - <version>1.0-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.dllearner</groupId> + <artifactId>dllearner-parent</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> - <build> - <finalName>interfaces</finalName> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>tomcat-maven-plugin</artifactId> - </plugin> + <build> + <finalName>interfaces</finalName> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>tomcat-maven-plugin</artifactId> + </plugin> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>maven-jetty-plugin</artifactId> - <configuration> - <stopKey>stopKey</stopKey> - <stopPort>9999</stopPort> - <scanIntervalSeconds>1</scanIntervalSeconds> - <!--requestLog implementation="org.mortbay.jetty.NCSARequestLog"> - <filename>log/yyyy_mm_dd.request.log</filename> - <retainDays>90</retainDays> - <append>true</append> - <extended>false</extended> - <logTimeZone>GMT</logTimeZone> - </requestLog--> - </configuration> - <!--execution is used for testing--> - <executions> - <execution> - <id>start-jetty</id> - <phase>pre-integration-test</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <scanIntervalSeconds>0</scanIntervalSeconds> - <daemon>true</daemon> - <stopKey>stopKey</stopKey> - <stopPort>9999</stopPort> - </configuration> - </execution> - <execution> - <id>stop-jetty</id> - <phase>post-integration-test</phase> - <goals> - <goal>stop</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>maven-jetty-plugin</artifactId> + <configuration> + <stopKey>stopKey</stopKey> + <stopPort>9999</stopPort> + <scanIntervalSeconds>1</scanIntervalSeconds> + <!-- + requestLog implementation="org.mortbay.jetty.NCSARequestLog"> + <filename>log/yyyy_mm_dd.request.log</filename> + <retainDays>90</retainDays> <append>true</append> + <extended>false</extended> <logTimeZone>GMT</logTimeZone> + </requestLog + --> + </configuration> + <!--execution is used for testing--> + <executions> + <execution> + <id>start-jetty</id> + <phase>pre-integration-test</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <scanIntervalSeconds>0</scanIntervalSeconds> + <daemon>true</daemon> + <stopKey>stopKey</stopKey> + <stopPort>9999</stopPort> + </configuration> + </execution> + <execution> + <id>stop-jetty</id> + <phase>post-integration-test</phase> + <goals> + <goal>stop</goal> + </goals> + </execution> + </executions> + </plugin> - <!--Surefire - for JUnits --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <excludes> - <exclude>org/dllearner/test/junit/OWLlinkTest.java</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <artifactId>jdeb</artifactId> - <groupId>org.vafer</groupId> - <version>0.8</version> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>jdeb</goal> - </goals> - <configuration> - <dataSet> - <data> - <src>${project.build.directory}/${project.build.finalName}.jar</src> - <type>file</type> - <mapper> - <type>perm</type> - <prefix>/usr/share/dllearner</prefix> - </mapper> - </data> - </dataSet> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <!--Surefire - for JUnits --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <exclude>org/dllearner/test/junit/OWLlinkTest.java</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>de.tarent.maven.plugins</groupId> + <artifactId>maven-pkg-plugin</artifactId> + <version>2.1.0</version> + <configuration> - <dependencies> - <dependency> - <groupId>org.dllearner</groupId> - <artifactId>components-core</artifactId> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <!-- Exclude Project-D from Project-B --> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> + <defaultTarget>all</defaultTarget> - <!--Added the dependency of the core tests so that they will be accessible - from the tests in this component --> - <dependency> - <groupId>org.dllearner</groupId> - <artifactId>components-core</artifactId> - <classifier>tests</classifier> - <scope>test</scope> - </dependency> + <defaultDistro>ubuntu_intrepid</defaultDistro> + <shortDescription>My Short Project Description...</shortDescription> - <dependency> - <groupId>org.dllearner</groupId> - <artifactId>components-ext</artifactId> - </dependency> + <defaults> + <section>misc</section> + <mainClass>org.dllearner.cli.Start</mainClass> + <architecture>all</architecture> + <srcAuxFilesDir>src/main/pkg</srcAuxFilesDir> + <maintainer>Jens Lehmann</maintainer> + </defaults> + <targetConfigurations> - <dependency> - <groupId>com.jamonapi</groupId> - <artifactId>jamon</artifactId> - </dependency> + <targetConfiguration> + <target>i386</target> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> + <architecture>i386</architecture> + <srcJNIFilesDir>src/main/native/i386</srcJNIFilesDir> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - </dependency> + </targetConfiguration> + <targetConfiguration> + <target>armel</target> - <dependency> - <groupId>org.aksw.commons</groupId> - <artifactId>model</artifactId> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <!-- Exclude Project-D from Project-B --> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>com.googlecode.json-simple</groupId> - <artifactId>json-simple</artifactId> - </dependency> + <architecture>armel</architecture> + <srcJNIFilesDir>src/main/native/armel</srcJNIFilesDir> - </dependencies> + </targetConfiguration> + </targetConfigurations> + <distroConfigurations> + <distroConfiguration> + + <distros> + <distro>ubuntu_intrepid</distro> + <distro>ubuntu_karmic</distro> + </distros> + + </distroConfiguration> + </distroConfigurations> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.dllearner</groupId> + <artifactId>components-core</artifactId> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <!-- Exclude Project-D from Project-B --> + <artifactId>slf4j-log4j12</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- + Added the dependency of the core tests so that they will be + accessible from the tests in this component + --> + <dependency> + <groupId>org.dllearner</groupId> + <artifactId>components-core</artifactId> + <classifier>tests</classifier> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.dllearner</groupId> + <artifactId>components-ext</artifactId> + </dependency> + + + <dependency> + <groupId>com.jamonapi</groupId> + <artifactId>jamon</artifactId> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + </dependency> + + + <dependency> + <groupId>org.aksw.commons</groupId> + <artifactId>model</artifactId> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <!-- Exclude Project-D from Project-B --> + <artifactId>slf4j-log4j12</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.googlecode.json-simple</groupId> + <artifactId>json-simple</artifactId> + </dependency> + + </dependencies> + + </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |