<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>

	<artifactId>gimmicks</artifactId>

	<parent>
		<groupId>net.sf.javagimmicks</groupId>
		<artifactId>gimmicks-parent</artifactId>
		<version>0.95</version>
		<relativePath>parent/pom.xml</relativePath>
	</parent>

	<packaging>pom</packaging>

	<name>JavaGimmicks</name>
	<description>Utility classes, APIs and tools for Java</description>
	<url>http://jgutils.sourceforge.net/</url>

	<modules>
		<module>cdi</module>
		<module>cdi-collections</module>
		<module>cdi-testing</module>
		<module>collections</module>
		<module>concurrent</module>
		<module>core</module>
		<module>graph</module>
		<module>io</module>
		<module>jdbc-testing</module>
		<module>jpa-testing</module>
		<module>math</module>
		<module>parent</module>
		<module>swing</module>
		<module>testing</module>
	</modules>

	<scm>
		<url>https://github.com/m34434/JavaGimmicks</url>
		<connection>scm:git:https://github.com/m34434/JavaGimmicks.git</connection>
		<developerConnection>scm:git:https://github.com/m34434/JavaGimmicks.git</developerConnection>
	</scm>

	<build>
		<plugins>
			<!-- Build cumulative javadoc JAR -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<executions>
					<!-- Switch off default execution -->
					<execution>
						<id>attach-javadocs</id>
						<phase>none</phase>
					</execution>
					
					<!-- Instead switch on aggregation -->
					<execution>
						<id>aggregate-javadocs</id>
						<phase>verify</phase>
						<goals>
							<goal>aggregate-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			
			<!-- Build cumulative sources JAR -->
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<!-- Switch off default execution -->
					<execution>
						<id>attach-sources</id>
						<phase>none</phase>
					</execution>
					
					<!-- Instead switch on aggregation -->
					<execution>
						<id>aggregate-sources</id>
						<goals>
							<goal>aggregate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- Build cumulative binary JAR -->
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<id>make-assembly</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<appendAssemblyId>false</appendAssemblyId>
							<descriptor>assembly.xml</descriptor>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>