From: <ku...@us...> - 2010-08-12 16:43:21
|
Revision: 2260 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2260&view=rev Author: kurzum Date: 2010-08-12 16:43:15 +0000 (Thu, 12 Aug 2010) Log Message: ----------- Added Paths: ----------- trunk/lib/makePOM.sh trunk/lib/pomBegin.xml trunk/lib/pomEnd.xml trunk/lib/rdbtoonto/ trunk/pom.xml Added: trunk/lib/makePOM.sh =================================================================== --- trunk/lib/makePOM.sh (rev 0) +++ trunk/lib/makePOM.sh 2010-08-12 16:43:15 UTC (rev 2260) @@ -0,0 +1,28 @@ +#!/bin/sh + +#~ for i in $(ls -1) ; do echo $i ; done + +rm -v pom.xml +cp -v pomBegin.xml pomtmp.xml + + +for filepath in $(find . -name "*.jar") +do + +artifactid=$(echo $filepath | sed 's/.*\///') + +#~ mvn deploy:deploy-file -Dfile=$filepath -DrepositoryId=archiva.snapshots -Durl=http://db0.aksw.org:8081/archiva/repository/snapshots -DartifactId=$artifactid -DgroupId=dllearnerDependency -Dversion=snapshot -Dpackaging=jar + +echo "writing to "$PWD"/pomtmp.xml" +echo "<dependency> <groupId>dllearnerDependency</groupId> <artifactId>"$artifactid"</artifactId> <version>snapshot</version> </dependency>" >> pomtmp.xml +echo "<dependency> <groupId>dllearnerDependency</groupId> <artifactId>"$artifactid"</artifactId> <version>snapshot</version> </dependency>" +done + +cat pomEnd.xml >> pomtmp.xml + +mv pomtmp.xml ../pom.xml + + +echo "in case the script fails with 401 you need to update credentials in ~/.m2/settings.xml" +echo "YOU MIGHT need to uncomment the line that uploads the jars to the server ;)" +echo "done" Property changes on: trunk/lib/makePOM.sh ___________________________________________________________________ Added: svn:executable + * Added: trunk/lib/pomBegin.xml =================================================================== --- trunk/lib/pomBegin.xml (rev 0) +++ trunk/lib/pomBegin.xml 2010-08-12 16:43:15 UTC (rev 2260) @@ -0,0 +1,63 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.dllearner</groupId> + <artifactId>dllearner</artifactId> + <version>snapshot</version> + <properties> + <!-- tell the compiler we can use 1.5 --> + <maven.compiler.source>1.5</maven.compiler.source> + <maven.compiler.target>1.5</maven.compiler.target> + + </properties> + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url> http://db0.aksw.org:8081/archiva/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>http://db0.aksw.org:8081/archiva/repository/snapshots/</url> + </snapshotRepository> + </distributionManagement> + + <repositories> +<!-- + <repository> + <id>some_stuff_such_as_pellet</id> + <url>http://on.cs.unibas.ch/maven/repository</url> + </repository> + <repository> + <id>java sun maven</id> + <url>http://download.java.net/maven/2</url> + </repository> +--> + <repository> + <id>our archiva</id> + <url>http://db0.aksw.org:8081/archiva/repository/internal/</url> + </repository> +<!-- + <repository> + <id>Jamon 2.7</id> + <url>http://maven.jahia.org/maven2</url> + </repository> + <repository> + <id>browserlauncher2</id> + <url>http://www.laughingpanda.org/maven2</url> + </repository> +--> + </repositories> + + + <build> + <directory>target</directory> + <outputDirectory>target/classes</outputDirectory> + <finalName>${artifactId}-${version}</finalName> + <testOutputDirectory>target/test-classes</testOutputDirectory> + <sourceDirectory>src/dl-learner</sourceDirectory> + <scriptSourceDirectory>bin</scriptSourceDirectory> + <!-- <testSourceDirectory>src/test/java</testSourceDirectory> --> + </build> + + <dependencies> Added: trunk/lib/pomEnd.xml =================================================================== --- trunk/lib/pomEnd.xml (rev 0) +++ trunk/lib/pomEnd.xml 2010-08-12 16:43:15 UTC (rev 2260) @@ -0,0 +1,5 @@ + + </dependencies> + + +</project> Added: trunk/pom.xml =================================================================== --- trunk/pom.xml (rev 0) +++ trunk/pom.xml 2010-08-12 16:43:15 UTC (rev 2260) @@ -0,0 +1,117 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.dllearner</groupId> + <artifactId>dllearner</artifactId> + <version>snapshot</version> + <properties> + <!-- tell the compiler we can use 1.5 --> + <maven.compiler.source>1.5</maven.compiler.source> + <maven.compiler.target>1.5</maven.compiler.target> + + </properties> + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url> http://db0.aksw.org:8081/archiva/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>http://db0.aksw.org:8081/archiva/repository/snapshots/</url> + </snapshotRepository> + </distributionManagement> + + <repositories> +<!-- + <repository> + <id>some_stuff_such_as_pellet</id> + <url>http://on.cs.unibas.ch/maven/repository</url> + </repository> + <repository> + <id>java sun maven</id> + <url>http://download.java.net/maven/2</url> + </repository> +--> + <repository> + <id>our archiva</id> + <url>http://db0.aksw.org:8081/archiva/repository/internal/</url> + </repository> +<!-- + <repository> + <id>Jamon 2.7</id> + <url>http://maven.jahia.org/maven2</url> + </repository> + <repository> + <id>browserlauncher2</id> + <url>http://www.laughingpanda.org/maven2</url> + </repository> +--> + </repositories> + + + <build> + <directory>target</directory> + <outputDirectory>target/classes</outputDirectory> + <finalName>${artifactId}-${version}</finalName> + <testOutputDirectory>target/test-classes</testOutputDirectory> + <sourceDirectory>src/dl-learner</sourceDirectory> + <scriptSourceDirectory>bin</scriptSourceDirectory> + <!-- <testSourceDirectory>src/test/java</testSourceDirectory> --> + </build> + + <dependencies> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-el.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-datatypes.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-modularity.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-owlapiv3.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-rules.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-core.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>xsdlib.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-explanation.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>jgrapht-jdk1.5.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>pellet-query.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>relaxngDatatype.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>aterm-java-1.6.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>ant_latex.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>jopt-simple-3.1.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>BrowserLauncher2-all-1_3.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>swingx-1.6.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>looks-2.3.0.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>owlapi-bin.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>dig1.1-xmlbeans.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>lucene-core-3.0.1.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>ini4j-0.3.2.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>converter.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>commons-lang-2.3.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>rdbtoonto.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>mysql-connector-java-5.1.6-bin.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>commons-collections-3.2.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>commons-configuration-1.4.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>org.protege.editor.core.application.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>org.protege.editor.owl.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>org.semanticweb.HermiT.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>jamon-2.7.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>junit-4.4.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>postgresql-8.4-701.jdbc4.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>mysql-connector-java-5.1.6-bin.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>h2-1.2.131.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>secondstring-20060615.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>json.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>commons-logging-1.1.1.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>icu4j_3_4.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>concurrent.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>xercesImpl.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>jena.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>arq.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>iri.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>antlr-2.7.5.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>FaCTpp-OWLAPI-v1.4.0.1.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>owllink-bin.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>xbean.jar</artifactId> <version>snapshot</version> </dependency> +<dependency> <groupId>dllearnerDependency</groupId> <artifactId>log4j.jar</artifactId> <version>snapshot</version> </dependency> + + </dependencies> + + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |