Versions Compared

Key

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

...

  • Check Mylyn Extras and select JIRA integration

Setup Project(s)

Single Module

...

Maven Repository

Warning

Be aware of the fact that the magnolia artifacts are hosted in our own repository. You have the following options:

  • register the repository in your maven settings.xml file
  • register the repository in your project pom

The repositories are:

settings.xml
The file is found in your home directory under ~/.m2/settings.xml

Example:

Code Block

<?xml version="1.0" encoding="UTF-8"?>
<settings 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/xsd/settings-1.0.0.xsd">
  <servers>
    <!-- needed for http access -->
    <server>
      <id>magnolia.enterprise</id>
      <username>****</username>
      <password>****</password>
    </server>
  </servers>

  <profiles>
    <profile>
      <id>my-default-profile</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>

      <repositories>
        <repository>
          <id>magnolia</id>
          <url>http://repo.magnolia-cms.com/m2</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>magnolia.enterprise</id>
          <url>http://repo.magnolia-cms.com/enterprise</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
      </repositories>

    </profile>
  </profiles>
</settings>

Checkout With Maven

  1. open "SVN Repository" perspective (Window -> Open perspective)
  2. select module to check out
  3. click "Check out" in the context menu

...