mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-10-01 14:41:57 +00:00
-- updated to remove filtered resources
git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@36 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><archetype>
|
||||
<id>test</id>
|
||||
<id>maven-alfresco-amp-archetype</id>
|
||||
<sources>
|
||||
<source>src/main/java/com/sourcesense/demoamp/Demo.java</source>
|
||||
<source>src/main/java/com/sourcesense/demoamp/DemoComponent.java</source>
|
||||
</sources>
|
||||
<resources>
|
||||
<resource>src/main/config/context/service-context.xml</resource>
|
||||
<resource>src/main/config/log4j.properties</resource>
|
||||
<resource>src/main/config/module-context.xml</resource>
|
||||
<resource>src/main/webapp/css/demoamp.css</resource>
|
||||
<resource>src/main/webapp/images/sourcesense.gif</resource>
|
||||
<resource>src/main/webapp/jsp/demoamp.jsp</resource>
|
||||
<resource>src/main/webapp/licenses/README-licenses.txt</resource>
|
||||
<resource>src/main/webapp/scripts/demoamp.js</resource>
|
||||
<resource>module.properties</resource>
|
||||
<resource>README.txt</resource>
|
||||
<resource>TODO.txt</resource>
|
||||
<resource filtered="false">src/main/config/context/service-context.xml</resource>
|
||||
<resource filtered="false">src/main/config/log4j.properties</resource>
|
||||
<resource filtered="false">src/main/config/module-context.xml</resource>
|
||||
<resource filtered="false">src/main/webapp/css/demoamp.css</resource>
|
||||
<resource filtered="false">src/main/webapp/images/sourcesense.gif</resource>
|
||||
<resource filtered="false">src/main/webapp/jsp/demoamp.jsp</resource>
|
||||
<resource filtered="false">src/main/webapp/licenses/README-licenses.txt</resource>
|
||||
<resource filtered="false">src/main/webapp/scripts/demoamp.js</resource>
|
||||
<resource filtered="false">module.properties</resource>
|
||||
<resource filtered="false">README.txt</resource>
|
||||
<resource filtered="false">TODO.txt</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<resource>src/test/properties/local/application.properties</resource>
|
||||
<resource>src/test/resources/alfresco/extension/custom-repository-context.xml</resource>
|
||||
<resource>src/test/resources/alfresco/extension/file-servers-custom.xml</resource>
|
||||
<resource>src/test/resources/log4j.properties</resource>
|
||||
<resource filtered="false">src/test/properties/local/application.properties</resource>
|
||||
<resource filtered="false">src/test/resources/alfresco/extension/custom-repository-context.xml</resource>
|
||||
<resource filtered="false">src/test/resources/alfresco/extension/file-servers-custom.xml</resource>
|
||||
<resource filtered="false">src/test/resources/log4j.properties</resource>
|
||||
</testResources>
|
||||
</archetype>
|
@@ -118,7 +118,7 @@
|
||||
<plugin>
|
||||
<groupId>org.alfresco.maven.plugin</groupId>
|
||||
<artifactId>maven-amp-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>2.0.0</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<archive>
|
||||
@@ -154,7 +154,7 @@
|
||||
<resource>
|
||||
<filtering>true</filtering>
|
||||
<directory>src/main/config</directory>
|
||||
<targetPath>alfresco/modules/${groupId}.${artifactId}</targetPath>
|
||||
<targetPath>alfresco/module/${groupId}.${artifactId}</targetPath>
|
||||
<excludes>
|
||||
<exclude>**README-*</exclude>
|
||||
</excludes>
|
||||
@@ -192,7 +192,7 @@
|
||||
<dependency>
|
||||
<groupId>org.alfresco.maven.plugin</groupId>
|
||||
<artifactId>maven-amp-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>2.0.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
@@ -244,7 +244,7 @@
|
||||
<dependency>
|
||||
<groupId>org.alfresco.maven.plugin</groupId>
|
||||
<artifactId>maven-amp-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>2.0.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<?xml version='${version}' encoding='UTF-8'?>
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<?xml version='${version}' encoding='UTF-8'?>
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
|
@@ -16,7 +16,8 @@
|
||||
limitations under the License.
|
||||
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>${groupId}</groupId>
|
||||
<artifactId>${artifactId}</artifactId>
|
||||
@@ -99,8 +100,7 @@
|
||||
<pluginRepository>
|
||||
<id>Maven Snapshots</id>
|
||||
<url>http://snapshots.maven.codehaus.org/maven2/</url>
|
||||
<snapshots>
|
||||
</snapshots>
|
||||
<snapshots></snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
@@ -333,13 +333,54 @@
|
||||
<locales>en</locales>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.alfresco.maven.plugin</groupId>
|
||||
<artifactId>maven-amp-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-amps</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<includeTypes>amp</includeTypes>
|
||||
<outputDirectory>${build.directory}/${webapp.name}</outputDirectory>
|
||||
<excludes>META*</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<!-- This is required to be re-defined explicitly at plugin level as otherwise the 'amp' extension
|
||||
unArchiver won't be available to the maven-dependency-plugin -->
|
||||
<dependency>
|
||||
<groupId>org.alfresco.maven.plugin</groupId>
|
||||
<artifactId>maven-amp-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
<archiveClasses>false</archiveClasses>
|
||||
<webappDirectory>target/${webapp.name}</webappDirectory>
|
||||
<warSourceExcludes>**classes/tools</warSourceExcludes>
|
||||
<warSourceExcludes>tools/**</warSourceExcludes>
|
||||
<webResources>
|
||||
|
||||
</webResources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@@ -622,7 +663,7 @@
|
||||
<configuration>
|
||||
<archiveClasses>false</archiveClasses>
|
||||
<webappDirectory>target/${webapp.name}</webappDirectory>
|
||||
<dependentWarExcludes >**/log4j.properties,**/lib/log4j*.jar,log4j.properties</dependentWarExcludes >
|
||||
<dependentWarExcludes>**/log4j.properties,**/lib/log4j*.jar,log4j.properties</dependentWarExcludes>
|
||||
<warSourceExcludes>**/log4j.properties,WEB-INF/classes/tools</warSourceExcludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@@ -108,12 +108,6 @@
|
||||
</goals>
|
||||
<id>announcement-mail</id>
|
||||
</execution>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>jira-report</goal>
|
||||
</goals>
|
||||
<id>jira-report</id>
|
||||
</execution>
|
||||
</executions>
|
||||
<!-- Automatically notifies the list when release is done. Please supply username and password in the command line -->
|
||||
<configuration>
|
||||
@@ -194,6 +188,10 @@
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>taglist-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-plugin-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
<distributionManagement>
|
||||
|
@@ -20,6 +20,7 @@
|
||||
<item name="Apache" href="http://www.apache.org/"/>
|
||||
</links>
|
||||
|
||||
|
||||
<menu name="Modules">
|
||||
<item name="Maven Alfresco AMP Archetype" href="../maven-alfresco-amp-archetype"/>
|
||||
<item name="Maven Alfresco Eextension Archetype" href="../maven-alfresco-extension-archetype"/>
|
||||
|
Reference in New Issue
Block a user