Bump to 4.3.0-SNAPSHOT

- Fix Solr re-packaging for all-in-one
 - Remove config artifacts
 - Initial Share AMP archetype 


git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@737 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
ohej
2014-06-16 21:09:16 +00:00
parent c814ca2b18
commit 5c56d668e2
11 changed files with 36 additions and 43 deletions

View File

@@ -10,7 +10,7 @@
<defaultValue>org.alfresco</defaultValue> <defaultValue>org.alfresco</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_version"> <requiredProperty key="alfresco_target_version">
<defaultValue>4.2.e</defaultValue> <defaultValue>4.3.0-SNAPSHOT</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="package"> <requiredProperty key="package">
<defaultValue>(not used)</defaultValue> <defaultValue>(not used)</defaultValue>

View File

@@ -32,34 +32,33 @@
<artifactItem> <artifactItem>
<artifactId>alfresco-solr</artifactId> <artifactId>alfresco-solr</artifactId>
<groupId>${alfresco.groupId}</groupId> <groupId>${alfresco.groupId}</groupId>
<classifier>config</classifier>
<version>${alfresco.version}</version> <version>${alfresco.version}</version>
<type>zip</type> <type>jar</type>
</artifactItem> </artifactItem>
</artifactItems> </artifactItems>
</configuration> </configuration>
</execution> </execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution> <execution>
<id>overlay-solr-war</id> <id>copy-alfresco-solr</id>
<goals><goal>unpack</goal></goals>
<phase>generate-resources</phase> <phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration> <configuration>
<tasks> <outputDirectory>${alfresco.solr.war.overlay}</outputDirectory>
<echo message="Unpacking Apache Solr for web.xml overlay" /> <artifactItems>
<unzip src="${alfresco.solr.dir}/apache-solr-1.4.1.war" dest="${alfresco.solr.war.overlay}" /> <artifactItem>
</tasks> <artifactId>alfresco-solr</artifactId>
<groupId>${alfresco.groupId}</groupId>
<version>${alfresco.version}</version>
<type>war</type>
</artifactItem>
</artifactItems>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
@@ -110,6 +109,7 @@
</replacements> </replacements>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
@@ -130,6 +130,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
@@ -163,8 +164,9 @@
<dependency> <dependency>
<groupId>${alfresco.groupId}</groupId> <groupId>${alfresco.groupId}</groupId>
<artifactId>alfresco-solr</artifactId> <artifactId>alfresco-solr</artifactId>
<classifier>config</classifier>
<version>${alfresco.version}</version> <version>${alfresco.version}</version>
<type>zip</type> <type>jar</type>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@@ -3,4 +3,4 @@ version=0.1-SNAPSHOT
groupId=archetype.it groupId=archetype.it
artifactId=allInOneTest artifactId=allInOneTest
alfresco_target_groupId=org.alfresco alfresco_target_groupId=org.alfresco
alfresco_target_version=4.2.e alfresco_target_version=4.3.0-SNAPSHOT

View File

@@ -3,4 +3,4 @@ version=0.1-SNAPSHOT
groupId=archetype.it groupId=archetype.it
artifactId=allInOneTest artifactId=allInOneTest
alfresco_target_groupId=org.alfresco alfresco_target_groupId=org.alfresco
alfresco_target_version=4.2.e alfresco_target_version=4.3.0-SNAPSHOT

View File

@@ -10,7 +10,7 @@
<defaultValue>org.alfresco</defaultValue> <defaultValue>org.alfresco</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_version"> <requiredProperty key="alfresco_target_version">
<defaultValue>4.2.e</defaultValue> <defaultValue>4.3.0-SNAPSHOT</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_amp_client_war"> <requiredProperty key="alfresco_target_amp_client_war">
<defaultValue>alfresco</defaultValue> <defaultValue>alfresco</defaultValue>
@@ -19,7 +19,7 @@
<defaultValue>org.alfresco</defaultValue> <defaultValue>org.alfresco</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_amp_client_war_version"> <requiredProperty key="alfresco_target_amp_client_war_version">
<defaultValue>4.2.e</defaultValue> <defaultValue>4.3.0-SNAPSHOT</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="package"> <requiredProperty key="package">
<defaultValue>(not used)</defaultValue> <defaultValue>(not used)</defaultValue>

View File

@@ -2,10 +2,10 @@
package=it.pkg package=it.pkg
version=0.1-SNAPSHOT version=0.1-SNAPSHOT
groupId=archetype.it groupId=archetype.it
alfresco_target_version=4.2.e alfresco_target_version=4.3.0-SNAPSHOT
$=cat archetype.properties $=cat archetype.properties
alfresco_target_groupId=org.alfresco alfresco_target_groupId=org.alfresco
alfresco_target_amp_client_war=alfresco alfresco_target_amp_client_war=alfresco
alfresco_target_amp_client_war_groupId=org.alfresco alfresco_target_amp_client_war_groupId=org.alfresco
alfresco_target_amp_client_war_version=4.2.e alfresco_target_amp_client_war_version=4.3.0-SNAPSHOT
artifactId=basic artifactId=basic

View File

@@ -2,10 +2,10 @@
package=it.pkg package=it.pkg
version=0.1-SNAPSHOT version=0.1-SNAPSHOT
groupId=archetype.it groupId=archetype.it
alfresco_target_version=4.2.e alfresco_target_version=4.3.0-SNAPSHOT
$=cat archetype.properties $=cat archetype.properties
alfresco_target_groupId=org.alfresco alfresco_target_groupId=org.alfresco
alfresco_target_amp_client_war=alfresco alfresco_target_amp_client_war=alfresco
alfresco_target_amp_client_war_groupId=org.alfresco alfresco_target_amp_client_war_groupId=org.alfresco
alfresco_target_amp_client_war_version=4.2.e alfresco_target_amp_client_war_version=4.3.0-SNAPSHOT
artifactId=basic artifactId=basic

View File

@@ -79,7 +79,7 @@
<dependency> <dependency>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-mmt</artifactId> <artifactId>alfresco-mmt</artifactId>
<version>4.2.e</version> <version>4.3.0-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@@ -37,7 +37,7 @@
| For available versions please search on https://artifacts.alfresco.com/nexus/index.html | For available versions please search on https://artifacts.alfresco.com/nexus/index.html
--> -->
<alfresco.groupId>org.alfresco</alfresco.groupId> <alfresco.groupId>org.alfresco</alfresco.groupId>
<alfresco.version>4.2.e</alfresco.version> <alfresco.version>4.3.0-SNAPSHOT</alfresco.version>
<!-- Values can be "alfresco" or "share". Default value is 'alfresco' assuming you are developing a repository AMP, change to share for share AMPs <!-- Values can be "alfresco" or "share". Default value is 'alfresco' assuming you are developing a repository AMP, change to share for share AMPs
| This impact (in AMP projects) the choice of the WAR project for embedded run | This impact (in AMP projects) the choice of the WAR project for embedded run
@@ -443,7 +443,7 @@
<argLine>${app.testing.jvm.args}</argLine> <argLine>${app.testing.jvm.args}</argLine>
<additionalClasspathElements> <additionalClasspathElements>
<!-- Adds the previously built ${app.amp.test.output.folder} to test classpath to enable module installation at test time --> <!-- Adds the previously built ${app.amp.test.output.folder} to test classpath to enable module installation at test time -->
<additionalClasspathElement>${app.amp.test.output.folder}</additionalClasspathElement> <!-- <additionalClasspathElement>${app.amp.test.output.folder}</additionalClasspathElement> -->
</additionalClasspathElements> </additionalClasspathElements>
</configuration> </configuration>
</plugin> </plugin>
@@ -480,20 +480,6 @@
<version>3.0.6.RELEASE</version> <version>3.0.6.RELEASE</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>${alfresco.groupId}</groupId>
<artifactId>alfresco-repository</artifactId>
<version>${alfresco.version}</version>
<classifier>config</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${alfresco.groupId}</groupId>
<artifactId>alfresco-data-model</artifactId>
<version>${alfresco.version}</version>
<classifier>config</classifier>
<scope>provided</scope>
</dependency>
</dependencies> </dependencies>
</profile> </profile>
@@ -681,6 +667,11 @@
<artifactId>jcl-over-slf4j</artifactId> <artifactId>jcl-over-slf4j</artifactId>
<version>1.5.11</version> <version>1.5.11</version>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.11</version>
</dependency>
</dependencies> </dependencies>
</profile> </profile>