Commit 7cc2e9cb authored by Brian Long's avatar Brian Long
Browse files

initial checkin

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+4 −0
Original line number Diff line number Diff line
# Maven
pom.xml.versionsBackup
target

pom.xml

0 → 100644
+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>

<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.inteligr8.alfresco</groupId>
	<artifactId>maven-assembly-amp-descriptor</artifactId>
	<version>1.0-SNAPSHOT</version>
	<packaging>jar</packaging>

	<name>A Maven Assembly Descriptor to assist with the creation of Alfresco Module Packages (AMPs)</name>

	<developers>
		<developer>
			<id>brian.long</id>
			<name>Brian Long</name>
			<email>brian@inteligr8.com</email>
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	
	<build>
		<resources>
			<resource>
				<directory>src</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
	</build>

</project>

src/assemblies/amp.xml

0 → 100644
+70 −0
Original line number Diff line number Diff line
<?xml version='1.0' encoding='UTF-8'?>

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
        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>
    <formats>
        <format>amp</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>

    <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>
            <filtered>false</filtered>
        </file>
    </files>

    <fileSets>
        <fileSet>
            <directory>src/main/web</directory>
            <outputDirectory>web</outputDirectory>
            <filtered>true</filtered>
            <excludes>
                <exclude>README.md</exclude>
            </excludes>
        </fileSet>
        <!-- For compatability with the Alfresco SDK -->
        <fileSet>
            <directory>src/main/assembly/web</directory>
            <outputDirectory>web</outputDirectory>
            <filtered>true</filtered>
            <excludes>
                <exclude>README.md</exclude>
            </excludes>
        </fileSet>
        <!-- For compatability with older versions of the Alfresco SDK -->
        <fileSet>
            <directory>src/main/webapp</directory>
            <outputDirectory>web</outputDirectory>
            <filtered>true</filtered>
            <excludes>
                <exclude>README.md</exclude>
            </excludes>
        </fileSet>
    </fileSets>

    <dependencySets>
        <dependencySet>
            <outputDirectory>lib</outputDirectory>
        </dependencySet>
    </dependencySets>
</assembly>