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, 2 weeks ago) by burroadmin
Branches: MAIN
CVS tags: HEAD
- client project allows to run (and debug) cronjobs within the MHLDB3 project

    1: <project xmlns="http://maven.apache.org/POM/4.0.0"
    2: 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    3: 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    4: 	<modelVersion>4.0.0</modelVersion>
    5: 
    6: 	<!-- POM based on tutorial in http://maven.apache.org/pom.html -->
    7: 
    8: 	<!-- The Basics -->
    9: 	<groupId>org.alltimeflashdreamer</groupId>
   10: 	<artifactId>mhldb3-client</artifactId>
   11: 	<version>0.1</version>
   12: 	<packaging>jar</packaging>
   13: 
   14: 	<!-- defaults for scope: compile / type: jar -->
   15: 	<dependencies>
   16:         <dependency>
   17:             <groupId>org.alltimeflashdreamer</groupId>
   18:             <artifactId>mhldb3-ejb</artifactId>
   19:             <version>0.1</version>
   20:         </dependency>
   21:         <dependency>
   22:             <groupId>org.alltimeflashdreamer</groupId>
   23:             <artifactId>mhldb3-shared</artifactId>
   24:             <version>0.1</version>
   25:         </dependency>
   26: 		<dependency>
   27: 			<groupId>org.wildfly</groupId>
   28: 			<artifactId>wildfly-ejb-client-bom</artifactId>
   29: 			<type>pom</type>
   30: 			<scope>compile</scope>
   31: 			<version>27.0.1.Final</version>
   32: 		</dependency>
   33: 	</dependencies>
   34: 
   35: 	<!-- not needed <parent>...</parent -->
   36: 	<dependencyManagement>
   37: 		<dependencies>
   38: 			<dependency>
   39: 				<groupId>org.wildfly.bom</groupId>
   40: 				<artifactId>wildfly-ejb-client-bom-builder</artifactId>
   41: 				<version>27.0.1.Final</version>
   42: 				<type>pom</type>
   43: 			</dependency>
   44: 		</dependencies>
   45: 	</dependencyManagement>
   46: 	<!-- modules>...</modules -->
   47: 
   48: 	<properties>
   49: 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   50: 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   51: 	</properties>
   52: 
   53: 	<!-- Build Settings -->
   54: 	<build>
   55: 		<sourceDirectory>src/main/java</sourceDirectory>
   56: 		<testSourceDirectory>src/test/java</testSourceDirectory>
   57: 		<defaultGoal>install</defaultGoal>
   58: 		<directory>${basedir}/build</directory>
   59: 		<finalName>${project.artifactId}-${project.version}</finalName>
   60: 		<!-- filters> <filter>filters/filter1.properties</filter> </filters -->
   61: 		<resources>
   62: 			<resource>
   63: 				<directory>${basedir}/src/main/resources</directory>
   64: 				<includes>
   65: 					<include>META-INF/wildfly-config.xml</include>
   66: 				</includes>
   67: 			</resource>
   68: 		</resources>
   69: 		<testResources />
   70: 		<plugins>
   71: 			<plugin>
   72: 				<groupId>org.apache.maven.plugins</groupId>
   73: 				<artifactId>maven-compiler-plugin</artifactId>
   74: 				<version>3.11.0</version>
   75: 				<configuration>
   76: 					<source>17</source>
   77: 					<target>17</target>
   78: 					<compilerArgs>
   79: 						<!-- arg>-verbose</arg -->
   80: 						<arg>-Xlint:all,-options,-path</arg>
   81: 						<arg>-parameters</arg>
   82: 					</compilerArgs>
   83: 				</configuration>
   84: 			</plugin>
   85: 			<plugin>
   86: 				<groupId>org.apache.maven.plugins</groupId>
   87: 				<artifactId>maven-jar-plugin</artifactId>
   88: 				<version>3.2.0</version>
   89: 				<configuration>
   90: 					<archive>
   91: 						<manifest>
   92: 							<addClasspath>true</addClasspath>
   93: 							<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
   94: 							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
   95: 							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
   96: 							<classpathLayoutType>custom</classpathLayoutType>
   97: 							<!-- layout adapted from
   98: 							https://maven.apache.org/shared/maven-archiver/examples/classpath.html -->
   99: 							<customClasspathLayout>$${artifact.groupId}-$${artifact.artifactId}-$${artifact.version}$${dashClassifier?}.$${artifact.extension}</customClasspathLayout>
  100: 						</manifest>
  101: 						<!-- manifestFile>${basedir}/src/main/resources/META-INF/MANIFEST.MF</manifestFile -->
  102: 						<manifestEntries>
  103: 							<Dependencies>
  104: 								<!-- Dependencies>org.javassist,org.apache.velocity</Dependencies>
  105: 								<Dependencies>org.javassist optional,org.apache.velocity export</Dependencies -->
  106: 							</Dependencies>
  107: 						</manifestEntries>
  108: 					</archive>
  109: 				</configuration>
  110: 			</plugin>
  111: 			<!-- Add the maven exec plugin to allow us to run a java program via
  112: 			maven -->
  113: 			<plugin>
  114: 				<groupId>org.codehaus.mojo</groupId>
  115: 				<artifactId>exec-maven-plugin</artifactId>
  116: 				<version>3.1.0</version>
  117: 				<executions>
  118: 					<execution>
  119: 						<goals>
  120: 							<goal>exec</goal>
  121: 						</goals>
  122: 					</execution>
  123: 				</executions>
  124: 				<configuration>
  125: 					<executable>/usr/lib/jvm/java-17-openjdk-amd64/bin/java</executable>
  126: 					<workingDirectory>${project.build.directory}/exec-working-directory
  127: 					</workingDirectory>
  128: 					<arguments>
  129: 						<!-- automatically creates the classpath using all project 
  130: 							dependencies, also adding the project build directory -->
  131: 						<argument>-classpath</argument>
  132: 						<classpath />
  133: 						<argument>org.alltimeflashdreamer.mhldb3.client.CronjobClient</argument>
  134: 					</arguments>
  135: 				</configuration>
  136: 			</plugin>
  137: 		</plugins>
  138: 	</build>
  139: 	<reporting />
  140: 
  141: 
  142: 	<!-- Environment Settings -->
  143: 	<!-- issueManagement>...</issueManagement> 
  144: 	<ciManagement>...</ciManagement>
  145: 	<mailingLists>...</mailingLists> 
  146: 	<scm>
  147: 	<connection>scm:cvs:ext:burroadmin@ente.limmat.ch:/var/lib/cvs/root:wettbureau-jsf</connection>
  148: 	<tag>HEAD</tag> 
  149: 	</scm> 
  150: 	<prerequisites>...</prerequisites -->
  151: 	<!-- repositories>...</repositories -->
  152: 	<!-- pluginRepositories>...</pluginRepositories> -->
  153: 	<!-- distributionManagement>...</distributionManagement -->
  154: 
  155: 	<profiles>
  156: 	</profiles>
  157: </project>

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