
Documentation for Crowd 1.2. Documentation for other versions of Crowd is available too.
Atlassian does not support customised Crowd source
This document is intended to serve as an IntelliJ IDEA setup guide for those who have a Crowd source license and wish to customise Crowd 1.2.2 or later. For support beyond this document, please see answers from the community..
TOMCAT.JDBC.mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/jta-1_0_1B-classes.zip
mvn install:install-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/mail.jar
mvn install:install-file -DgroupId=javax.activation -DartifactId=jaf -Dversion=1.1 -Dpackaging=jar -Dfile= -Dfile=/path/to/activation.jar
SOURCE.JDBC/mysql-connector-java-5.x.x-bin.jar to the TOMCAT/common/lib/ directory.TOMCAT/common/lib/ directory.TOMCAT/common/lib/ directory.TOMCAT/conf/context.xml configuration file to add a global JNDI JDBC connection. Make sure to customise the username and password for your specific environment.
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<Resource type="javax.sql.DataSource" name="jdbc/CrowdDS" username="crowduser" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/crowddb?autoReconnect=true" auth="Container"/>
</Context>
SOURCE/maven/conf/settings.xml to your ~/.m2 directory.mvn command to download the project dependencies (otherwise known as download the Internet):
mvn clean install idea:idea -Dmaven.test.skip
The download may take a few hours when you do it for the first time.
If you receive an error like the following:
target/crowd-acceptance-test-1.2.2.jar
[INFO] [cargo:start {execution: start-crowd-container}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to get container installation home as the container has not yet been installed. Please call install() first.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Failed to get container installation home as the container has not yet been installed. Please call install() first.
at org.codehaus.cargo.container.installer.ZipURLInstaller.getHome(ZipURLInstaller.java:195)
Please comment out the crowd-acceptance-test line in the atlassian-crowd-1.2.2-source/atlassian-crowd/pom.xml file:
<modules>
<module>crowd-core</module>
<module>crowd-atlassian-user</module>
<module>crowd-web-app</module>
<module>crowd-demo-app</module>
<module>crowd-migration</module>
<module>crowd-language</module>
<!--<module>crowd-acceptance-test</module>-->
<module>crowd-upgrader</module>
<module>crowd-integration-jive</module>
<module>crowd-integration-acegi</module>
<module>crowd-importer</module>
<module>crowd-openid-client</module>
<module>crowd-openid-server</module>
<module>crowd-client-libraries</module>
<module>crowd-tomcat-libraries</module>
<module>crowd-javadoc</module>
</modules>
Re-run this command.
mvn clean install idea:idea -Dmaven.test.skip
SOURCE/atlassian-crowd.ipr with IntelliJ IDEA.SOURCE/atlassian-crowd/crowd-web-app/src/main/resources/jdbc.properties configuration file and change hibernate.dialect to org.hibernate.dialect.MySQLDialect.SOURCE/atlassian-crowd/crowd-web-app/src/main/resources/crowd.properties configuration file and change application.login.url to contain the port and IP address you have configured Tomcat to run on. The default is localhost:8080.TOMCAT runtime configuration for the crowd-web-app module.