ALL HOW TOs





Generate jar/war

Reload all dependencies in pom.xml

Run all steps of Maven

Open an SVN project as a Maven project in Eclipse

In Windows Explorer

In Eclipse


Creating a local repository holding jars not available in a public repository

Assumptions

  <groupId>edu.cornell.clo</groupId>
  <artifactId>messageQueue</artifactId>
  <version>0.4.1</version>
  <packaging>jar</packaging>

In Project (that wants to access the jars)

In POM (for the project that wants to access the jars)

  <repositories>
    <repository>
      <id>data-local</id>
      <name>data</name>
      <url>file://${project.basedir}/repo</url>
    </repository>
  </repositories>
  <dependency>
    <groupId>_package-path_</groupId>
    <artifactId>_jar-name-without-version_</artifactId>
    <version>_version_</version>
  </dependency>

From our example above, this would be...

  <dependency>
    <groupId>edu.cornell.clo</groupId>
    <artifactId>messageQueue</artifactId>
    <version>0.4.1</version>
  </dependency>

Rebuild