Changes

Jump to navigation Jump to search
169 bytes added ,  12:47, 30 January 2013
no edit summary
* <code>mvn compile</code>: the BaseX source files are compiled. To launch the project, type in <code>java -cp target/classes org.basex.BaseX</code>, or have a look at our [[Start Scripts]].
* <code>mvn package</code>: JAR archives are created in the <code>{{Code|target</code> }} class directory and a {{Code|lib}} directory is created that contains all relevant libraries. This is useful if you want to use the [[Start Scripts]] contained in the {{Code|etc}} directory.* <code>mvn install</code>: the JAR archive is installed to the local repository, and made available to other Maven projects. This is particularly useful if you are compiling a beta version of BaseX, for which no archives exist in the repositories.
By adding the flag <code>-DskipTests</code> you can skip the JUnit tests and speed up packaging. You may as well use [[Eclipse|Eclipse and m2eclipse]] to compile the BaseX sources.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu