Documentation for Crowd 1.6. Documentation for other versions of Crowd is available too.

To compile the Crowd source code you will need to have Maven 2 installed.

Once you have installed Maven 2, you will then need to do the following:

  1. Copy or merge the /atlassian-crowd-1.2.0-source/maven/conf/settings.xml with your ~/.m2/settings.xml maven 2 configuration file.
  2. Install the JTA library available from Sun Microsystem's website into your local maven 2 repository
    Missing:
    ----------
    1) javax.transaction:jta:jar:1.0.1B
    
      Try downloading the file manually from: 
          http://java.sun.com/products/jta
    
      Then, install it using the command: 
          mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
              -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
    Alternatively, if you host your own repository you can deploy the file there:       mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta \
              -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file \
               -Durl=[url] -DrepositoryId=[id]
    
      Path to dependency: 
            1) com.atlassian.crowd:crowd-core:jar:1.2.0
            2) javax.transaction:jta:jar:1.0.1B
    
    ----------
    1 required artifact is missing.
    
    for artifact: 
      com.atlassian.crowd:crowd-core:jar:1.2.0
    
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      atlassian-m1-repository (http://repository.atlassian.com),
      atlassian-proxy (https://m2proxy.atlassian.com/repository/public)
    

Once you have completed this you will be able to then run the command mvn compile.

  • ラベルなし