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>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<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>
|
||||
<plugin>
|
||||
<artifactId>maven-nosnapshot-plugin</artifactId>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<version>0.0.5</version>
|
||||
|
@ -253,20 +253,27 @@
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<!-- Needed for cross OS compatibility in acp/zip encoding -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<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>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!--
|
||||
useful for eclipse project configuration. Run "mvn eclipse:eclipse"
|
||||
and hit "F5" on the project
|
||||
-->
|
||||
<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>
|
||||
<!--
|
||||
useful for eclipse project configuration. Run "mvn eclipse:eclipse"
|
||||
and hit "F5" on the project
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
|
@ -107,6 +107,22 @@
|
||||
<webResources></webResources>
|
||||
</configuration>
|
||||
</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>
|
||||
</build>
|
||||
|
||||
|
@ -32,4 +32,24 @@
|
||||
</dependency>
|
||||
<!-- Spring Surf dependencies are available via proxy via maven.alfresco.com so just add them below -->
|
||||
</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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user