xowa_maven_mvn.sh 2.2 KB

12345678910111213141516171819202122232425
  1. cd ./src/xowa_maven
  2. # install files from xowa.git to local repo; note that these files aren't in any maven repository
  3. echo "* XOWA: installing non-Maven repo artifacts"
  4. $mvn install:install-file -Dfile=bin/any/java/jtidy/jtidy_xowa.jar -DgroupId=xowa -DartifactId=jtidy_xowa -Dversion=r938 -Dpackaging=jar
  5. $mvn install:install-file -Dfile=bin/any/java/luaj/luaj_xowa.jar -DgroupId=xowa -DartifactId=luaj_xowa -Dversion=2.0 -Dpackaging=jar
  6. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-analyzers-common-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-analyzers-common-mobile -Dversion=5.3.0 -Dpackaging=jar
  7. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-core-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-core-mobile -Dversion=5.3.0 -Dpackaging=jar
  8. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-highlighter-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-highlighter-mobile -Dversion=5.3.0 -Dpackaging=jar
  9. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-memory-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-memory-mobile -Dversion=5.3.0 -Dpackaging=jar
  10. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-queries-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-queries-mobile -Dversion=5.3.0 -Dpackaging=jar
  11. $mvn install:install-file -Dfile=bin/any/java/lucene/5.3.0.drd/lucene-queryparser-5.3.0-mobile-2.jar -DgroupId=org.apache.lucene -DartifactId=lucene-queryparser-mobile -Dversion=5.3.0 -Dpackaging=jar
  12. $mvn install:install-file -Dfile=bin/any/java/jdbc/sqlite/sqlite-jdbc-3.18.0.jar -DgroupId=xowa -DartifactId=sqllite -Dversion=3.18.0 -Dpackaging=jar
  13. $mvn install:install-file -Dfile=bin/any/java/getopt/utils-1.0.jar -DgroupId=xowa -DartifactId=getopt -Dversion=1.0.0 -Dpackaging=jar
  14. $mvn install:install-file -Dfile=bin/any/java/jacksum/jacksum.jar -DgroupId=xowa -DartifactId=jacksum -Dversion=1.0.0 -Dpackaging=jar
  15. echo "* XOWA: running"
  16. $mvn clean
  17. $mvn formatter:format
  18. $mvn compile
  19. $mvn -Dtest="gplx.**" test
  20. $ant -v -buildfile build.xml -Dplat_name=$plat_name
  21. echo "* XOWA: launching xowa"
  22. java -jar xowa_maven.jar