Versions Compared

Key

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

...

  • Check Mylyn Extras and select JIRA integration

Setup Project(s)

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

...

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>

Add SVN Repository

You will have to register our SVN repository in case you want to checkout magnolia modules/projects

  1. open SVN Repository Exploring Perspective
    Image Added
  2. add repository location
    Image Added
  3. http://svn.magnolia-cms.com/svnImage Added
    Image Added

Checkout a Project

New Checkout

...

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

Enable Maven Dependency Management

Image Removed

Configure Project to use the eclipse maven profile

Image Removed

Importing a already checked out project from file system

...

  1. File -> Import
  2. in the import dialog select 'Maven Projects'
  3. configure the wizard to use the profile eclipse (advanced settings)

Using SCM checkout wizard

Create New Project

Select New / Other (not Project) 
Image Removed

Select Maven checkout from SCM

Image Removed

Provide subversion URL

1. http://svn.magnolia-cms.com/svn/community/magnolia/trunk/

2. Enable eclipse profile in the advanced settings

Image Removed

Check if you got all the projects (the sub modules)

Image Removed

...

Setup the Server (Tomcat)

Create a Server

If not yet done create a server.

...