File:  [Local Repository] / MHLDB3-Client / pom.xml
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Dec 2 12:53:43 2023 UTC (5 months, 1 week ago) by burroadmin
Branches: MAIN
CVS tags: HEAD
- client project allows to run (and debug) cronjobs within the MHLDB3 project

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

	<!-- POM based on tutorial in http://maven.apache.org/pom.html -->

	<!-- The Basics -->
	<groupId>org.alltimeflashdreamer</groupId>
	<artifactId>mhldb3-client</artifactId>
	<version>0.1</version>
	<packaging>jar</packaging>

	<!-- defaults for scope: compile / type: jar -->
	<dependencies>
        <dependency>
            <groupId>org.alltimeflashdreamer</groupId>
            <artifactId>mhldb3-ejb</artifactId>
            <version>0.1</version>
        </dependency>
        <dependency>
            <groupId>org.alltimeflashdreamer</groupId>
            <artifactId>mhldb3-shared</artifactId>
            <version>0.1</version>
        </dependency>
		<dependency>
			<groupId>org.wildfly</groupId>
			<artifactId>wildfly-ejb-client-bom</artifactId>
			<type>pom</type>
			<scope>compile</scope>
			<version>27.0.1.Final</version>
		</dependency>
	</dependencies>

	<!-- not needed <parent>...</parent -->
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.wildfly.bom</groupId>
				<artifactId>wildfly-ejb-client-bom-builder</artifactId>
				<version>27.0.1.Final</version>
				<type>pom</type>
			</dependency>
		</dependencies>
	</dependencyManagement>
	<!-- modules>...</modules -->

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

	<!-- Build Settings -->
	<build>
		<sourceDirectory>src/main/java</sourceDirectory>
		<testSourceDirectory>src/test/java</testSourceDirectory>
		<defaultGoal>install</defaultGoal>
		<directory>${basedir}/build</directory>
		<finalName>${project.artifactId}-${project.version}</finalName>
		<!-- filters> <filter>filters/filter1.properties</filter> </filters -->
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<includes>
					<include>META-INF/wildfly-config.xml</include>
				</includes>
			</resource>
		</resources>
		<testResources />
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.11.0</version>
				<configuration>
					<source>17</source>
					<target>17</target>
					<compilerArgs>
						<!-- arg>-verbose</arg -->
						<arg>-Xlint:all,-options,-path</arg>
						<arg>-parameters</arg>
					</compilerArgs>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>3.2.0</version>
				<configuration>
					<archive>
						<manifest>
							<addClasspath>true</addClasspath>
							<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
							<classpathLayoutType>custom</classpathLayoutType>
							<!-- layout adapted from
							https://maven.apache.org/shared/maven-archiver/examples/classpath.html -->
							<customClasspathLayout>$${artifact.groupId}-$${artifact.artifactId}-$${artifact.version}$${dashClassifier?}.$${artifact.extension}</customClasspathLayout>
						</manifest>
						<!-- manifestFile>${basedir}/src/main/resources/META-INF/MANIFEST.MF</manifestFile -->
						<manifestEntries>
							<Dependencies>
								<!-- Dependencies>org.javassist,org.apache.velocity</Dependencies>
								<Dependencies>org.javassist optional,org.apache.velocity export</Dependencies -->
							</Dependencies>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<!-- Add the maven exec plugin to allow us to run a java program via
			maven -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>3.1.0</version>
				<executions>
					<execution>
						<goals>
							<goal>exec</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<executable>/usr/lib/jvm/java-17-openjdk-amd64/bin/java</executable>
					<workingDirectory>${project.build.directory}/exec-working-directory
					</workingDirectory>
					<arguments>
						<!-- automatically creates the classpath using all project 
							dependencies, also adding the project build directory -->
						<argument>-classpath</argument>
						<classpath />
						<argument>org.alltimeflashdreamer.mhldb3.client.CronjobClient</argument>
					</arguments>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<reporting />


	<!-- Environment Settings -->
	<!-- issueManagement>...</issueManagement> 
	<ciManagement>...</ciManagement>
	<mailingLists>...</mailingLists> 
	<scm>
	<connection>scm:cvs:ext:burroadmin@ente.limmat.ch:/var/lib/cvs/root:wettbureau-jsf</connection>
	<tag>HEAD</tag> 
	</scm> 
	<prerequisites>...</prerequisites -->
	<!-- repositories>...</repositories -->
	<!-- pluginRepositories>...</pluginRepositories> -->
	<!-- distributionManagement>...</distributionManagement -->

	<profiles>
	</profiles>
</project>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>