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
.SOURCE
.Copy the JDBC/mysql-connector-java-5.x.x-bin.jar
to the TOMCAT/common/lib/
directory.
Copy the <MAVEN_REPOSITORY>/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar to the TOMCAT/common/lib/
directory.
Copy the <MAVEN_REPOSITORY>/repository/javax/activation/jaf/1.1/jaf-1.1.jar to the TOMCAT/common/lib/
directory.
Copy the <MAVEN_REPOSITORY>/repository/javax/mail/mail/1.4/mail-1.4.jar to the TOMCAT/common/lib/
directory.
Edit the 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.
1 2<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>
Copy (or merge) the SOURCE/maven/conf/settings.xml
to your ~/.m2
directory.
Run the following Maven command in the root source directory (normally called atlassian-crowd-x.x.x-source) to download the project dependencies (otherwise known as download the Internet):
1 2mvn clean install -Dmaven.test.skip
The download may take a few hours when you do it for the first time.
If this build is successful, run the following Maven command:
1 2mvn idea:idea -Dmaven.test.skip
SOURCE/atlassian-crowd.ipr
with IntelliJ IDEA.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
.Rate this page: