Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
8ea2e3c15d | |||
6ca94e982d | |||
e22932b100 | |||
754558ad8e |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -2,3 +2,7 @@
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
10
pom.xml
10
pom.xml
@@ -12,11 +12,19 @@
|
||||
|
||||
<name>A Maven Assembly Descriptor to assist with the creation of Alfresco Module Packages (AMPs)</name>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/maven-assembly-amp-descriptor</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Inteligr8</name>
|
||||
<url>https://www.inteligr8.com</url>
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<url>https://twitter.com/brianmlong</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
@@ -28,7 +36,7 @@
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src</directory>
|
||||
<filtering>true</filtering>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
|
@@ -4,66 +4,46 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
|
||||
|
||||
<id>build-amp</id>
|
||||
<id>amp</id>
|
||||
<formats>
|
||||
<format>amp</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
|
||||
<!-- required files -->
|
||||
<files>
|
||||
<file>
|
||||
<source>src/main/resources/alfresco/module/${project.artifactId}/module.properties</source>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
|
||||
<!-- Rarely used, but optional file mapping -->
|
||||
<file>
|
||||
<source>src/main/assembly/file-mapping.properties</source>
|
||||
<filtered>false</filtered>
|
||||
</file>
|
||||
|
||||
<!-- Search for log4j.properties in a couple different spots; preferring the in reverse order -->
|
||||
<file>
|
||||
<source>src/main/resources/log4j.properties</source>
|
||||
<filtered>false</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/alfresco/module/${project.artifactId}/log4j.properties</source>
|
||||
<source>${project.build.outputDirectory}/alfresco/module/${project.groupId}.${project.artifactId}/module.properties</source>
|
||||
<filtered>false</filtered>
|
||||
</file>
|
||||
</files>
|
||||
|
||||
<fileSets>
|
||||
<!-- Rarely used, but optional file mapping -->
|
||||
<fileSet>
|
||||
<directory>src/main/web</directory>
|
||||
<outputDirectory>web</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<excludes>
|
||||
<exclude>README.md</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/web</directory>
|
||||
<outputDirectory>web</outputDirectory>
|
||||
<directory>src/main/assembly</directory>
|
||||
<filtered>false</filtered>
|
||||
<includes>
|
||||
<include>file-mapping.properties</include>
|
||||
</includes>
|
||||
<outputDirectory></outputDirectory>
|
||||
</fileSet>
|
||||
<!-- For compatability with the Alfresco SDK -->
|
||||
|
||||
<!-- Optional log4j mapping -->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/web</directory>
|
||||
<outputDirectory>web</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<excludes>
|
||||
<exclude>README.md</exclude>
|
||||
</excludes>
|
||||
<directory>${project.build.outputDirectory}/alfresco/module/${project.groupId}.${project.artifactId}</directory>
|
||||
<filtered>false</filtered>
|
||||
<includes>
|
||||
<include>log4j.properties</include>
|
||||
</includes>
|
||||
<outputDirectory></outputDirectory>
|
||||
</fileSet>
|
||||
<!-- For compatability with older versions of the Alfresco SDK -->
|
||||
|
||||
<!-- A bunch of possible web resource locations -->
|
||||
<fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<directory>${project.build.outputDirectory}/web</directory>
|
||||
<filtered>false</filtered>
|
||||
<outputDirectory>web</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<excludes>
|
||||
<exclude>README.md</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
|
Reference in New Issue
Block a user