Commit 9e30f49e authored by skuro's avatar skuro
Browse files

POM cleanup, updated to latest available artifacts versions, removed obsolete...

POM cleanup, updated to latest available artifacts versions, removed obsolete stuff, life, universe and everything. Changed an exact multiple of 42 characters.

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@332 04253f4f-3451-0410-a141-5562f1e59037
parent ea49f962
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -27,20 +27,14 @@
	</parent>
	<description>
		This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to
		AMP builds, to be released as a different artifact ). Using standard m2 lifecycle commands (mvn compile package deploy) and generally
		available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. It can be
		used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will
		describe in this website. In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and
		selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the
		least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to maven2). For more details on the
		m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project).
		AMP builds, to be released as a different artifact ).
	</description>
	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.archetype</groupId>
				<artifactId>archetype-packaging</artifactId>
				<version>2.0-alpha-2</version>
				<version>2.0</version>
			</extension>
			<!--
				Unreleased version of webdav wagon plugin which fixes a boring
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ Lifecycle HOWTO - Usage

--- Fast one shot build and embedded jetty run-war|run-exploded  [and restore bootstrap] [and customize webappName] [and integrate LDAP]:

' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn integration-test [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] ' 
' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn integration-test" [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] '

(default env=src/main/properties/local/application.properties)

+3 −3
Original line number Diff line number Diff line
@@ -15,11 +15,11 @@
	<property name="alfresco.dir" value=""/>
	-->
	
	<!-- By default loads src/main/properties/local/application.properties -->
	<!-- By default loads src/main/properties/local/alfresco-global.properties -->
	<property name="env" value="local"/>
	<property name="webapp.name" value="alfresco" />

	<property file="${properties.dir}/${env}/application.properties" />
	<property file="${properties.dir}/${env}/alfresco-global.properties" />

	<!-- Import tomcat utility tasks -->
	<import file="${tools.dir}/ant/tasks/tomcat-tasks.xml"/>
@@ -51,7 +51,7 @@
				<exclude name="**/restore-context.xml" />
			</fileset>
		</copy>
		<copy file="${properties.dir}/${env}/application.properties" tofile="${build.dir}/classes/alfresco/extension/application.properties"></copy>
		<copy file="${properties.dir}/${env}/alfresco-global.properties" tofile="${build.dir}/classes/alfresco-global.properties"></copy>
	</target>


+2 −2
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@
      <extension>
        <groupId>org.apache.maven.archetype</groupId>
        <artifactId>archetype-packaging</artifactId>
        <version>2.0-alpha-4</version>
        <version>2.0</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <artifactId>maven-archetype-plugin</artifactId>
        <version>2.0-alpha-4</version>
        <version>2.0</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
+13 −13
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
  <!-- Configuration point for the build time properties -->
	<properties>
		<env>local</env>
		<alfresco.version>3.2r</alfresco.version>
		<alfresco.version>3.4.a</alfresco.version>
		<share.log.level>info</share.log.level>
		<share.servlet.port>8081</share.servlet.port>
	</properties>
Loading