<?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>
	<groupId>com.aurea.sonic.esb</groupId>
	<artifactId>sonic-annotations</artifactId>
	<packaging>pom</packaging>
	<version>12.0.9-SNAPSHOT</version>

	<name>Sonic ESB Annotations</name>
	<description>Sonic ESB Annotations</description>

	<url>https://www.aurea.com/our-solutions/cx-platform/cx-messenger/</url>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>1.7</maven.compiler.source>
		<maven.compiler.target>1.7</maven.compiler.target>
		<junit.version>4.12</junit.version>
		<mockito.version>1.9.5</mockito.version>
		<avatar.version>2.1.0</avatar.version>
		<wagon-http-lightweight.version>3.4.1</wagon-http-lightweight.version>
	</properties>

	<distributionManagement>
	    <repository>
	      <id>sonic-releases</id>
	      <url>https://int-factory.aurea.com/nexus/content/repositories/sonic-releases</url>
	    </repository>
		<snapshotRepository>
			<id>sonic-snapshots</id>
			<url>https://int-factory.aurea.com/nexus/content/repositories/sonic-snapshots</url>
		</snapshotRepository>
	</distributionManagement>

	<licenses>
		<license>
			<name>Aurea Software</name>
			<comments>Copyright (c) 2023. Aurea Software, Inc. All Rights Reserved.</comments>
		</license>
	</licenses>

	<scm>
		<connection>scm:git:https://github.com/trilogy-group/aurea-sonic-esb-addons-esbconnect.git</connection>
		<url>https://github.com/trilogy-group/aurea-sonic-esb-addons-esbconnect</url>
	</scm>

	<modules>
		<module>annotations-utils</module>
		<module>pojo-annotations</module>
		<module>pojo-processor</module>
		<module>connect-annotations</module>
		<module>connect-processor</module>
		<module>sonic-dependencies</module>
	</modules>
	
	<repositories>        
		<repository>
			<id>sonic-releases</id>
			<url>https://int-factory.aurea.com/nexus/content/repositories/sonic-releases</url>
		</repository>
    </repositories>
	
	<dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>${mockito.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.matthew-tamlin</groupId>
            <artifactId>avatar</artifactId>
            <version>${avatar.version}</version>
            <scope>test</scope>
        </dependency>
		<dependency>
			<groupId>com.google.testing.compile</groupId>
			<artifactId>compile-testing</artifactId>
			<version>0.8</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>0.7.9</version>
				<executions>
					<execution>
						<id>default-prepare-agent</id>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
					<execution>
						<id>default-report</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.3.2</version>
					<configuration>
						<source>${maven.compiler.source}</source>
						<target>${maven.compiler.target}</target>
						<compilerArgument>-proc:none</compilerArgument>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-javadoc-plugin</artifactId>
					<configuration>
						<quiet>true</quiet>
					</configuration>
					<executions>
						<execution>
							<id>attach-javadocs</id>
							<goals>
								<goal>jar</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
			</plugins>
		</pluginManagement>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-http-lightweight</artifactId>
				<version>${wagon-http-lightweight.version}</version>
			</extension>
		</extensions>
	</build>

</project>
