mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1107 (Mavenization of the RM build)
* Minor changes (update README.txt, pom.xml and build.xml) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
|
|
||||||
- Maven 3.0.3 (or higher)
|
- Maven 3.0.4 (or higher)
|
||||||
- Eclipse Maven Plugin (m2e)
|
- Eclipse Maven Plugin (m2e)
|
||||||
- See Maven setup instructions https://ts.alfresco.com/share/page/site/eng/wiki-page?title=Maven_Setup
|
- See Maven setup instructions https://ts.alfresco.com/share/page/site/eng/wiki-page?title=Maven_Setup
|
||||||
|
|
||||||
@@ -13,12 +13,13 @@ Initial Setup
|
|||||||
- Check out RM code into the "code" directory (eg "checkout https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD")
|
- Check out RM code into the "code" directory (eg "checkout https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD")
|
||||||
- Create the tomcat instances using "use-tomcat7" and "use-app-tomcat7"
|
- Create the tomcat instances using "use-tomcat7" and "use-app-tomcat7"
|
||||||
|
|
||||||
|
|
||||||
Using Eclipse
|
Using Eclipse
|
||||||
|
|
||||||
- Import projects as Maven projects ("Import > Maven > Existing Maven Projects")
|
- Import projects as Maven projects ("Import > Maven > Existing Maven Projects")
|
||||||
- Browse to the code directory of your project and select "rm-server/pom.xml" and "rm-share/pom.xml". DO NOT select the parent "/pom.xml"
|
- Browse to the code directory of your project and select "rm-server/pom.xml" and "rm-share/pom.xml". DO NOT select the parent "/pom.xml"
|
||||||
- Open the Ant view and add the build files for both modules ("build.xml")
|
- Open the Ant view and add the build files for both modules ("build.xml")
|
||||||
- Run the "prepareEnv" targets for both modules which will prepare the development environment. This target must be run just once.
|
- Run the "prepareEnv" target for rm-server which will prepare the development environment. This target must be run just once.
|
||||||
- Now "buildAndDeploy" target can be run which will create the amp file, apply it to the war file and copy the war file to webapps folder.
|
- Now "buildAndDeploy" target can be run which will create the amp file, apply it to the war file and copy the war file to webapps folder.
|
||||||
|
|
||||||
|
|
||||||
@@ -45,4 +46,3 @@ Summary of Available Internal Ant Targets
|
|||||||
- deleteWarFile : Deletes the war file
|
- deleteWarFile : Deletes the war file
|
||||||
- fetchWarFile : Gets the "original" war file
|
- fetchWarFile : Gets the "original" war file
|
||||||
- install : Executes the "mvn install" command
|
- install : Executes the "mvn install" command
|
||||||
- updateClassPath : Updates the classpath / Generates the eclipse configuration files
|
|
@@ -105,9 +105,11 @@
|
|||||||
|
|
||||||
<target name="deployExploded" description="">
|
<target name="deployExploded" description="">
|
||||||
<fail message="Exploded webapp directory '${app.war.artifactId}' does not exist.">
|
<fail message="Exploded webapp directory '${app.war.artifactId}' does not exist.">
|
||||||
<condition><not>
|
<condition>
|
||||||
|
<not>
|
||||||
<available file="${app.folder}" type="dir"/>
|
<available file="${app.folder}" type="dir"/>
|
||||||
</not></condition>
|
</not>
|
||||||
|
</condition>
|
||||||
</fail>
|
</fail>
|
||||||
<copy todir="${app.folder}/WEB-INF/lib" failonerror="true">
|
<copy todir="${app.folder}/WEB-INF/lib" failonerror="true">
|
||||||
<fileset dir="${ant.build.directory}">
|
<fileset dir="${ant.build.directory}">
|
||||||
|
@@ -236,6 +236,7 @@
|
|||||||
<version>5.1.14</version>
|
<version>5.1.14</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- Dependencies for the test result reports -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.uncommons</groupId>
|
<groupId>org.uncommons</groupId>
|
||||||
<artifactId>reportng</artifactId>
|
<artifactId>reportng</artifactId>
|
||||||
|
Reference in New Issue
Block a user