Commit e1cd5245 authored by Brian Long's avatar Brian Long
Browse files

added APS extension archetype

parent 82b2d4b1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
# Maven
/target
pom.xml.versionsBackup

# Eclipse
.settings
.project
.classpath
+56 −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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<artifactId>beedk-aps-ext-archetype</artifactId>
	<packaging>maven-archetype</packaging>

	<parent>
		<groupId>com.inteligr8.ootbee</groupId>
		<artifactId>beedk-parent</artifactId>
		<version>1.1-SNAPSHOT</version>
		<relativePath>..</relativePath>
	</parent>

	<name>Order of the Bee Development Kit: Project Scaffolding for an APS Extension</name>
	<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>

	<licenses>
		<license>
			<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
			<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
		</license>
	</licenses>

	<scm>
		<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
		<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
		<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
	</scm>
	<organization>
		<name>Order of the Bee</name>
		<url>https://orderofthebee.net</url>
	</organization>
	<developers>
		<developer>
			<id>brian.long</id>
			<name>Brian Long</name>
			<email>brian@inteligr8.com</email>
			<organization>Inteligr8</organization>
			<organizationUrl>https://www.inteligr8.com</organizationUrl>
			<url>https://twitter.com/brianmlong</url>
		</developer>
	</developers>
	
	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.archetype</groupId>
				<artifactId>archetype-packaging</artifactId>
				<version>${archetype-packaging.version}</version>
			</extension>
		</extensions>
	</build>
</project>
+48 −0
Original line number Diff line number Diff line
<archetype-descriptor name="${project.artifactId}"
        xmlns="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0 https://maven.apache.org/xsd/archetype-descriptor-1.1.0.xsd">
    <requiredProperties>
        <requiredProperty key="shortname">
            <validationRegex>[A-Za-z0-9]+</validationRegex>
        </requiredProperty>
        <requiredProperty key="dockerRegistryHost">
            <defaultValue>quay.io</defaultValue>
        </requiredProperty>
        <requiredProperty key="dockerImagePrefix">
            <defaultValue>local</defaultValue>
        </requiredProperty>
        <requiredProperty key="beedkVersion">
            <defaultValue>[1.0.0,2.0.0)</defaultValue>
        </requiredProperty>
    </requiredProperties>
    <fileSets>
        <fileSet filtered="true" packaged="true">
            <directory>src/main/java</directory>
            <includes>
                <include>*.java</include>
            </includes>
        </fileSet>
        <fileSet filtered="true" packaged="true">
            <directory>src/test/java</directory>
            <includes>
                <include>*.java</include>
            </includes>
        </fileSet>
        <fileSet filtered="true">
            <directory>src</directory>
            <excludes>
                <exclude>main/java/*.java</exclude>
                <exclude>test/java/*.java</exclude>
            </excludes>
        </fileSet>
        <fileSet filtered="false">
            <directory></directory>
            <includes>
                <include>.gitignore</include>
                <include>rad.*</include>
                <include>*.md</include>
            </includes>
        </fileSet>
    </fileSets>
</archetype-descriptor>
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
# Maven
/target
pom.xml.versionsBackup

# Eclipse
.settings
.project
.classpath
+84 −0
Original line number Diff line number Diff line
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    
    <groupId>${groupId}</groupId>
    <artifactId>${artifactId}</artifactId>
    <version>${version}</version>
    <packaging>jar</packaging>
    
    <name>${shortname} Activiti App Extension</name>

    <properties>
    	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    	<maven.compiler.source>11</maven.compiler.source>
    	<maven.compiler.target>11</maven.compiler.target>
    	<maven.compiler.release>11</maven.compiler.release>

		<aps.version>2.4.1</aps.version>
    </properties>

    <dependencies>
		<dependency>
			<groupId>com.activiti</groupId>
			<artifactId>activiti-app</artifactId>
			<version>${aps.version}</version>
			<classifier>classes</classifier>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>com.activiti</groupId>
					<artifactId>aspose-transformation</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.alfresco.officeservices</groupId>
					<artifactId>aoservices</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
    </dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>io.repaint.maven</groupId>
				<artifactId>tiles-maven-plugin</artifactId>
				<version>2.40</version>
				<extensions>true</extensions>
				<configuration>
					<tiles>
						<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-aps-ext-rad-tile -->
						<tile>com.inteligr8.ootbee:beedk-aps-ext-rad-tile:1.1-SNAPSHOT</tile>
					</tiles>
				</configuration>
			</plugin>
		</plugins>
	</build>
	
	<profiles>
		<profile>
			<id>rad</id>
			<activation>
				<property>
					<name>rad</name>
				</property>
			</activation>
			<properties>
				<!-- add properties here -->
				<aps.tomcat.opts>-Dproperty-to-set=value</aps.tomcat.opts>
			</properties>
		</profile>
	</profiles>
    
    <repositories>
        <repository>
            <id>alfresco-public</id>
            <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
        </repository>
		<repository>
			<id>activiti-releases</id>
			<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-enterprise-releases</url>
		</repository>
    </repositories>
</project>
 No newline at end of file
Loading