RM-1107 (Mavenization of the RM build)

* Removed "updateClassPath" ant target
 * Minor changes/tweaks in the pom.xml files

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-01-08 19:35:25 +00:00
parent dae2194d93
commit 941eca033a
4 changed files with 6 additions and 44 deletions

View File

@@ -12,19 +12,13 @@
<delete dir="${ant.build.directory}" failonerror="true" />
</target>
<target name="install" depends="cleanTarget, updateClassPath">
<target name="install" depends="cleanTarget">
<exec executable="${mvn.exec}" failonerror="true">
<arg value="install" />
<arg value="-DskipTests" />
</exec>
</target>
<target name="updateClassPath">
<exec executable="${mvn.exec}" failonerror="true">
<arg value="eclipse:eclipse" />
</exec>
</target>
<target name="fetchWarFile">
<exec executable="${mvn.exec}" failonerror="true">
<arg value="dependency:get" />

11
pom.xml
View File

@@ -76,7 +76,6 @@
<!-- Maven specific build properties -->
<maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies>
<maven.alfresco.version>1.1.1</maven.alfresco.version>
<maven.build.sourceVersion>1.7</maven.build.sourceVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -127,7 +126,6 @@
<plugin>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>alfresco-maven-plugin</artifactId>
<version>${maven.alfresco.version}</version>
<extensions>true</extensions>
<configuration>
<backup>true</backup>
@@ -293,12 +291,11 @@
<artifactId>alfresco-maven-plugin</artifactId>
<version>1.1.1</version>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.3.2</version>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.3.2</version>
</plugin>
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>

View File

@@ -24,5 +24,5 @@
<copy file="${devContextFile}" todir="config/alfresco/extension" failonerror="true" />
</target>
<target name="prepareEnv" depends="updateClassPath, copyDBDriver, copyDevContextFile" description="" />
<target name="prepareEnv" depends="copyDBDriver, copyDevContextFile" description="" />
</project>

View File

@@ -78,35 +78,6 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<versionRange>[1.8,)</versionRange>
<goals>
<goal>add-source</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>