Created
March 19, 2018 20:59
-
-
Save alex4u2nv/3701f75aae515695bda54575afd5c524 to your computer and use it in GitHub Desktop.
plugin-management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pluginManagement> | |
<plugins> | |
<!-- | |
Build an AMP if 3rd party libs are needed by the extensions | |
JARs are the default artifact produced in your modules, if you want to build an amp for each module | |
you have to enable this plugin and inspect the src/main/assembly.xml file if you want to customize | |
the layout of your AMP. The end result is that Maven will produce both a JAR file and an AMP with your | |
module. | |
--> | |
<!-- | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.6</version> | |
<executions> | |
<execution> | |
<id>build-amp-file</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
<configuration> | |
<appendAssemblyId>false</appendAssemblyId> | |
<descriptor>src/main/assembly/amp.xml</descriptor> | |
</configuration> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>org.alfresco.maven.plugin</groupId> | |
<artifactId>alfresco-maven-plugin</artifactId> | |
<version>${alfresco.sdk.version}</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
--> | |
<!-- Filter resources in any sub-project with this config --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>3.0.1</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<nonFilteredFileExtensions> <!-- jpg, jpeg, gif, bmp and png are added automatically --> | |
<nonFilteredFileExtension>ftl</nonFilteredFileExtension> | |
<nonFilteredFileExtension>acp</nonFilteredFileExtension> | |
<nonFilteredFileExtension>svg</nonFilteredFileExtension> | |
<nonFilteredFileExtension>pdf</nonFilteredFileExtension> | |
<nonFilteredFileExtension>doc</nonFilteredFileExtension> | |
<nonFilteredFileExtension>docx</nonFilteredFileExtension> | |
<nonFilteredFileExtension>xls</nonFilteredFileExtension> | |
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension> | |
<nonFilteredFileExtension>ppt</nonFilteredFileExtension> | |
<nonFilteredFileExtension>pptx</nonFilteredFileExtension> | |
<nonFilteredFileExtension>bin</nonFilteredFileExtension> | |
<nonFilteredFileExtension>lic</nonFilteredFileExtension> | |
<nonFilteredFileExtension>swf</nonFilteredFileExtension> | |
<nonFilteredFileExtension>zip</nonFilteredFileExtension> | |
<nonFilteredFileExtension>msg</nonFilteredFileExtension> | |
<nonFilteredFileExtension>jar</nonFilteredFileExtension> | |
<nonFilteredFileExtension>ttf</nonFilteredFileExtension> | |
<nonFilteredFileExtension>eot</nonFilteredFileExtension> | |
<nonFilteredFileExtension>woff</nonFilteredFileExtension> | |
<nonFilteredFileExtension>woff2</nonFilteredFileExtension> | |
<nonFilteredFileExtension>css</nonFilteredFileExtension> | |
<nonFilteredFileExtension>ico</nonFilteredFileExtension> | |
<nonFilteredFileExtension>psd</nonFilteredFileExtension> | |
<nonFilteredFileExtension>js</nonFilteredFileExtension> | |
</nonFilteredFileExtensions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment