Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <name>CaspersBox Web Services</name>
- <groupId>com.cws</groupId>
- <artifactId>cws</artifactId>
- <version>5.5.1</version>
- <packaging>pom</packaging>
- <description>CWS SuperPom</description>
- <url>http://www.caspersbox.com/</url>
- <properties>
- <!-- plugin versioning -->
- <maven-ear-plugin.version>3.3.0</maven-ear-plugin.version>
- <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
- <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
- <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
- <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
- <maven-ear-plugin.version>3.3.0</maven-ear-plugin.version>
- <maven-javadoc-plugin>3.5.0</maven-javadoc-plugin>
- <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
- <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
- <!-- test -->
- <junit.version>5.9.2</junit.version>
- <assertj.version>3.24.2</assertj.version>
- <!-- apache -->
- <commons-codec.version>1.15</commons-codec.version>
- <commons-collections.version>4.4</commons-collections.version>
- <commons-logging.version>1.2</commons-logging.version>
- <commons-httpclient.version>5.2.1</commons-httpclient.version>
- <commons-email.version>1.5</commons-email.version>
- <commons-io.version>2.11.0</commons-io.version>
- <commons-pool.version>2.11.1</commons-pool.version>
- <commons-dbcp.version>2.9.0</commons-dbcp.version>
- <commons-lang.version>3.12.0</commons-lang.version>
- <commons-net.version>3.9.0</commons-net.version>
- <commons-digester.version>3.2</commons-digester.version>
- <log4j.version>2.20.0</log4j.version>
- <mail.version>1.6.2</mail.version>
- <activation.version>1.1.1</activation.version>
- <mysql.version>8.0.31</mysql.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.release>19</maven.compiler.release>
- <maven.compiler.source>19</maven.compiler.source>
- <maven.compiler.target>19</maven.compiler.target>
- </properties>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <organization>
- <name>CaspersBox Web Services</name>
- <url>${project.url}</url>
- </organization>
- <developers>
- <developer>
- <id>khuntly</id>
- <name>Kevin Huntly</name>
- <url>https://github.com/cws-khuntly</url>
- <organization>${project.organization.name}</organization>
- <organizationUrl>${project.organization.url}</organizationUrl>
- <roles>
- <role>developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
- </developers>
- <issueManagement>
- <system>GitHub</system>
- <url>https://github.com/cwsus/esolutions/issues</url>
- </issueManagement>
- <dependencies>
- <!-- Test Libraries -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj.version}</version>
- <scope>test</scope>
- </dependency>
- <!-- Apache Commons -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-email</artifactId>
- <version>${commons-email.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- </exclusion>
- </exclusions>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- <version>${commons-httpclient.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- <exclusion>
- <artifactId>slf4j-api</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- <version>${commons-collections.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons-codec.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <version>${commons-net.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-dbcp2</artifactId>
- <version>${commons-dbcp.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- <version>${commons-pool.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${commons-digester.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <!-- Log4J -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${log4j.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <version>${activation.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <!-- provided dependencies -->
- <dependency>
- <groupId>com.sun.mail</groupId>
- <artifactId>javax.mail</artifactId>
- <version>${mail.version}</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <version>${mysql.version}</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>WebSphere</id>
- <properties>
- <jaxb.api.version>2.3.1</jaxb.api.version>
- <com.sun.xml.bind.version>4.0.2</com.sun.xml.bind.version>
- <maven.compiler.release />
- <maven.compiler.target>1.8</maven.compiler.target>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.executable>C:/Program Files/Java/jdk1.8.0_361/bin/javac.exe</maven.compiler.executable>
- <maven.compiler.fork>true</maven.compiler.fork>
- </properties>
- <dependencies>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>${jaxb.api.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-core</artifactId>
- <version>${com.sun.xml.bind.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>${com.sun.xml.bind.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>tomcat</id>
- <properties>
- <jakarta.xml.bind.version>4.0.0</jakarta.xml.bind.version>
- <org.glassfish.jaxb.version>4.0.2</org.glassfish.jaxb.version>
- <maven.compiler.release>19</maven.compiler.release>
- <maven.compiler.target>19</maven.compiler.target>
- <maven.compiler.source>19</maven.compiler.source>
- </properties>
- <dependencies>
- <dependency>
- <groupId>jakarta.xml.bind</groupId>
- <artifactId>jakarta.xml.bind-api</artifactId>
- <version>${jakarta.xml.bind.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>${org.glassfish.jaxb.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
- <build>
- <finalName>${project.name}-${project.version}</finalName>
- <directory>${basedir}/target</directory>
- <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
- <scriptSourceDirectory>${basedir}/src/main/scripts</scriptSourceDirectory>
- <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
- <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ear-plugin</artifactId>
- <version>${maven-ear-plugin.version}</version>
- <configuration>
- <applicationName>${project.artifactId}</applicationName>
- <description>${project.description}</description>
- <displayName>${project.artifactId}</displayName>
- <generateModuleId>true</generateModuleId>
- <initializeInOrder>true</initializeInOrder>
- <archive>
- <manifestEntries>
- <Project-Name>${project.name}</Project-Name>
- <Subproject-Name>${project.name}</Subproject-Name>
- <Specification-Title>${project.name}</Specification-Title>
- <Specification-Vendor>${project.organization.name}</Specification-Vendor>
- <Specification-Version>${project.version}</Specification-Version>
- <Implementation-Title>${project.name}</Implementation-Title>
- <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
- <Implementation-Version>${project.version}</Implementation-Version>
- <Build-Date>${maven.build.timestamp}</Build-Date>
- <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- <configuration>
- <archive>
- <manifestEntries>
- <Project-Name>${project.name}</Project-Name>
- <Subproject-Name>${project.name}</Subproject-Name>
- <Specification-Title>${project.name}</Specification-Title>
- <Specification-Vendor>${project.organization.name}</Specification-Vendor>
- <Specification-Version>${project.version}</Specification-Version>
- <Implementation-Title>${project.name}</Implementation-Title>
- <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
- <Implementation-Version>${project.version}</Implementation-Version>
- <Build-Date>${maven.build.timestamp}</Build-Date>
- <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${maven-source-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <archive>
- <manifestEntries>
- <Project-Name>${project.name}</Project-Name>
- <Subproject-Name>${project.name}</Subproject-Name>
- <Specification-Title>${project.name}</Specification-Title>
- <Specification-Vendor>${project.organization.name}</Specification-Vendor>
- <Specification-Version>${project.version}</Specification-Version>
- <Implementation-Title>${project.name}</Implementation-Title>
- <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
- <Implementation-Version>${project.version}</Implementation-Version>
- <Build-Date>${maven.build.timestamp}</Build-Date>
- <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven-war-plugin.version}</version>
- <configuration>
- <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
- <archive>
- <manifestEntries>
- <Project-Name>${project.name}</Project-Name>
- <Subproject-Name>${project.name}</Subproject-Name>
- <Specification-Title>${project.name}</Specification-Title>
- <Specification-Vendor>${project.organization.name}</Specification-Vendor>
- <Specification-Version>${project.version}</Specification-Version>
- <Implementation-Title>${project.name}</Implementation-Title>
- <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
- <Implementation-Version>${project.version}</Implementation-Version>
- <Build-Date>${maven.build.timestamp}</Build-Date>
- <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ear-plugin</artifactId>
- <version>${maven-ear-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${maven-source-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven-war-plugin.version}</version>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement