<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.hnv-tech</groupId>
	<artifactId>hibernate-tool</artifactId>
	<version>1.0</version>
	<packaging>jar</packaging>

	<name>hibernate-tool</name>
	<description>
		Hibernate acts as the essential "translator" between your Java application and your database. In modern software development, Java speaks in Objects, while databases speak in Tables. 
		Hibernate handles the heavy lifting of mapping these two different worlds together via Object-Relational Mapping (ORM).
		How Our Library Enhances Hibernate?
		While Hibernate is powerful, it often requires significant boilerplate code and complex configuration. Our library provides a suite of high-level functions designed to streamline your workflow:
		Boilerplate Reduction: Eliminate repetitive Session and Transaction management code.
		Simplified CRUD: Execute Create, Read, Update, and Delete operations with single-line commands.
		Enhanced Querying: Fluent API wrappers that make HQL (Hibernate Query Language) even more intuitive.
		Auto-Configuration: Smart defaults that get your database connection running in seconds, not hours.
	</description>
	<url>http://github.com/simpligility/ossrh-demo</url>
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>HNV</name>
			<email>hnv@hnv-tech.com</email>
			<organization>HNV</organization>
			<organizationUrl>https://hnv-tech.com</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:git://github.com/simpligility/ossrh-demo.git</connection>
		<developerConnection>
			scm:git:ssh://github.com:simpligility/ossrh-demo.git</developerConnection>
		<url>http://github.com/simpligility/ossrh-demo/tree/master</url>
	</scm>

	<distributionManagement>
		<snapshotRepository>
			<id>hibernate-tool</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>hibernate-tool</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.hnv-tech</groupId>
			<artifactId>jpa</artifactId>
			<version>1.0</version>
		</dependency>
	</dependencies>


	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>3.8.0</version>
				<executions>
				  <execution>
				  	<id>make-assembly</id>
					<phase>package</phase>
					<goals>
					  <goal>single</goal>
					</goals>
				  </execution>
				</executions>
				<configuration>
				  <descriptorRefs>
					<descriptorRef>jar-with-dependencies</descriptorRef>
				  </descriptorRefs>
				  <appendAssemblyId>false</appendAssemblyId>
				</configuration>
			</plugin>	  
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
			    <groupId>net.nicoulaj.maven.plugins</groupId>
			    <artifactId>checksum-maven-plugin</artifactId>
			    <version>1.11</version> <!-- Check for latest version -->
			    <executions>
			        <execution>
			            <goals>
			                <goal>artifacts</goal>
			            </goals>
			        </execution>
			    </executions>
			    <configuration>
			        <algorithms>
			            <algorithm>MD5</algorithm>
			            <algorithm>SHA-1</algorithm>
			        </algorithms>
			        <fileSets>
	                    <fileSet>	                       
	                        <includes>
	                            <include>*.pom</include>
	                        </includes>
	                        <!-- Define the files to be excluded using Ant patterns -->
	                        <excludes>
	                            <exclude>*.asc</exclude>
	                        </excludes>
	                    </fileSet>
	                </fileSets>
			    </configuration>
			</plugin>
		</plugins>
	</build>

</project>
