mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -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
11
pom.xml
@@ -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>
|
||||
|
@@ -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>
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user