Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Maven can be used as the build system for your project. org.lcsim uses this tool
for its build. This tool handles most (if not all) It automates most of the low-level details of
dependencies and building for Java projects. For instance, it can automatically download external JARs required by your project. The org.lcsim project uses this tool for its build system, as well.

Basic Setup

The dependent project's root directory should needs to contain three Maven configuration files
for Maven.

  • maven.xml - sets secondary project goals such as using XDocproject.xml - main configuration file, listing the project's core meta-information and its dependencies
  • projectmaven.propertiesxml - Maven settings for Maven , such as the default build target
  • project.properties - project properties file, including source repository locations, e.g. freehep.org
Info
titleorg.lcsim Source

All of these files can be copied from org.lcsim's root directory. For instructions on obtaining org.lcsim, refer to the build instructions.

After copying over these files from an org.lcsim checkoutIn the dependent project's project.xml file, the following lines should be inserted into project.xml to make it depend
on org.lcsim, itself.

No Format
<dependency>
  <groupId>lcsim</groupId>
  <artifactId>lcsim</artifactId>
  <version>0.9</version>
  <url>http://www.lcsim.org</url>
</dependency>

...