mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-19 17:15:24 +00:00
-- fixing issue #9, removing FTL filtering by default in any archetype
-- added inline POM doc to allow more selective filtering git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@387 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
parent
120b53067a
commit
2d13720b4f
@ -158,8 +158,24 @@
|
|||||||
<url>http://domain.com/svn/trunk/</url>
|
<url>http://domain.com/svn/trunk/</url>
|
||||||
</scm>
|
</scm>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<!-- By default as per http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7 FTL are not filtered to avoid corruption.
|
||||||
|
| This behavior can be relaxed (in case filtering is needed in the FTLs) by selecting which files are filtered and which not as described
|
||||||
|
| here http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7#c3
|
||||||
|
-->
|
||||||
|
<nonFilteredFileExtensions>
|
||||||
|
<nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
<artifactId>maven-nosnapshot-plugin</artifactId>
|
<artifactId>maven-nosnapshot-plugin</artifactId>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<version>0.0.5</version>
|
<version>0.0.5</version>
|
||||||
|
@ -253,20 +253,27 @@
|
|||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>2.5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
<!-- By default as per http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7 FTL are not filtered to avoid corruption.
|
||||||
</plugin>
|
| This behavior can be relaxed (in case filtering is needed in the FTLs) by selecting which files are filtered and which not as described
|
||||||
<!--
|
| here http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7#c3
|
||||||
useful for eclipse project configuration. Run "mvn eclipse:eclipse"
|
-->
|
||||||
and hit "F5" on the project
|
<nonFilteredFileExtensions>
|
||||||
-->
|
<nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<!--
|
||||||
|
useful for eclipse project configuration. Run "mvn eclipse:eclipse"
|
||||||
|
and hit "F5" on the project
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
|
@ -107,6 +107,22 @@
|
|||||||
<webResources></webResources>
|
<webResources></webResources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<!-- By default as per http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7 FTL are not filtered to avoid corruption.
|
||||||
|
| This behavior can be relaxed (in case filtering is needed in the FTLs) by selecting which files are filtered and which not as described
|
||||||
|
| here http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7#c3
|
||||||
|
-->
|
||||||
|
<nonFilteredFileExtensions>
|
||||||
|
<nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -32,4 +32,24 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<!-- Spring Surf dependencies are available via proxy via maven.alfresco.com so just add them below -->
|
<!-- Spring Surf dependencies are available via proxy via maven.alfresco.com so just add them below -->
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<!-- By default as per http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7 FTL are not filtered to avoid corruption.
|
||||||
|
| This behavior can be relaxed (in case filtering is needed in the FTLs) by selecting which files are filtered and which not as described
|
||||||
|
| here http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=7#c3
|
||||||
|
-->
|
||||||
|
<nonFilteredFileExtensions>
|
||||||
|
<nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user