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

    <parent>
	<groupId>org.openecard</groupId>
	<artifactId>app</artifactId>
	<version>1.1.0-SNAPSHOT</version>
    </parent>

    <groupId>org.openecard</groupId>
    <artifactId>clients</artifactId>
    <packaging>pom</packaging>
    <name>Client Implementations</name>

    <modules>
	<module>applet</module>
	<module>richclient</module>
    </modules>

    <profiles>
	<profile>
	    <id>android</id>
	    <activation>
		<!-- activate android when sdk path is defined -->
		<property>
		    <name>env.ANDROID_HOME</name>
		</property>
	    </activation>
	    <modules>
		<module>android</module>
	    </modules>
	</profile>
    </profiles>

</project>

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

	<parent>
		<groupId>org.openecard</groupId>
		<artifactId>app</artifactId>
		<version>1.1.0-SNAPSHOT</version>
	</parent>

	<groupId>org.openecard</groupId>
	<artifactId>clients</artifactId>
	<packaging>pom</packaging>
	<name>Client Implementations</name>

	<modules>
		<module>richclient</module>
	</modules>

	<profiles>
		<profile>
			<id>android</id>
			<activation>
				<!-- activate android when sdk path is defined -->
				<property>
					<name>env.ANDROID_HOME</name>
				</property>
			</activation>
			<modules>
				<module>android</module>
			</modules>
		</profile>
		<profile>
			<id>legacy-clients</id>
			<modules>
				<module>applet</module>
			</modules>
		</profile>
	</profiles>

</project>

Introduce legacy-clients build profile for applet client
Introduce legacy-clients build profile for applet client

The applet can be considered a legacy client as all major browsers are moving away from Java as a
plugin. The client is therefore only built when the profile is activated explicitly.
