Versions Compared

Key

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

...

  • Check Mylyn Extras and select JIRA integration

Setup Project

...

Create New Project

Select New / Other (not Project) 
Image Added

Select Maven checkout from SCM

Image Added

Provide subversion URL

http://svn.magnolia.info/svn/magnolia/trunk 

Image Added

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

Image Added

Create a Server

If not yet done create a server.

Image Added

Deploy the Webapp project

Image Added

Open Server Edit Pane

Doubleclick on the server item 

Image Added

Disable publishing

Make sure that the option Serve modules without publishing is selected. This ensures that the classes are taken from the target directories. 

Image Added

Known Poblems

Wrong maven version is used for dependency checks

If the project can't build because of the following message (printed in Maven Console)

Code Block

[WARN] Rule 0: org.apache.maven.plugin.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 2.1-SNAPSHOT is not in the allowed range [2.0.9,2.0.9].

The expected stack trace is:

Code Block

You must add the following to your main project pom:

Code Block


        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0-alpha-3</version>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>

Create New Project

Select New / Other (not Project) 
Image Removed

Select Maven checkout from SCM

Image Removed

Provide subversion URL

http://svn.magnolia.info/svn/magnolia/trunk&nbsp;

Image Removed

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

Image Removed

Disable maven version check if needed

edit project pom.xml

Code Block

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0-alpha-3</version>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>

Create a Server

If not yet done create a server.

Image Removed

Deploy the Webapp project

Image Removed

Open Server Edit Pane

Doubleclick on the server item 

Image Removed

Disable publishing

Make sure that the option Serve modules without publishing is selected. This ensures that the classes are taken from the target directories. 

Then clean all projects

To ensure that everything is fine you have to check if magnolia-core/target/classes/mgnl-bean.properties exist.Image Removed