Advertisement
Guest User

Untitled

a guest
Apr 16th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 20.63 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.  
  6.     <name>CaspersBox Web Services</name>
  7.     <groupId>com.cws</groupId>
  8.     <artifactId>cws</artifactId>
  9.     <version>5.5.1</version>
  10.     <packaging>pom</packaging>
  11.     <description>CWS SuperPom</description>
  12.     <url>http://www.caspersbox.com/</url>
  13.  
  14.     <properties>
  15.         <!-- plugin versioning -->
  16.         <maven-ear-plugin.version>3.3.0</maven-ear-plugin.version>
  17.         <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  18.         <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  19.         <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
  20.         <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
  21.         <maven-ear-plugin.version>3.3.0</maven-ear-plugin.version>
  22.         <maven-javadoc-plugin>3.5.0</maven-javadoc-plugin>
  23.         <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  24.         <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  25.         <!-- test -->
  26.         <junit.version>5.9.2</junit.version>
  27.         <assertj.version>3.24.2</assertj.version>
  28.         <!-- apache -->
  29.         <commons-codec.version>1.15</commons-codec.version>
  30.         <commons-collections.version>4.4</commons-collections.version>
  31.         <commons-logging.version>1.2</commons-logging.version>
  32.         <commons-httpclient.version>5.2.1</commons-httpclient.version>
  33.         <commons-email.version>1.5</commons-email.version>
  34.         <commons-io.version>2.11.0</commons-io.version>
  35.         <commons-pool.version>2.11.1</commons-pool.version>
  36.         <commons-dbcp.version>2.9.0</commons-dbcp.version>
  37.         <commons-lang.version>3.12.0</commons-lang.version>
  38.         <commons-net.version>3.9.0</commons-net.version>
  39.         <commons-digester.version>3.2</commons-digester.version>
  40.         <log4j.version>2.20.0</log4j.version>
  41.         <mail.version>1.6.2</mail.version>
  42.         <activation.version>1.1.1</activation.version>
  43.         <mysql.version>8.0.31</mysql.version>
  44.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  45.         <maven.compiler.release>19</maven.compiler.release>
  46.         <maven.compiler.source>19</maven.compiler.source>
  47.         <maven.compiler.target>19</maven.compiler.target>
  48.     </properties>
  49.  
  50.     <licenses>
  51.         <license>
  52.             <name>Apache License, Version 2.0</name>
  53.             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  54.             <distribution>repo</distribution>
  55.         </license>
  56.     </licenses>
  57.  
  58.     <organization>
  59.         <name>CaspersBox Web Services</name>
  60.         <url>${project.url}</url>
  61.     </organization>
  62.  
  63.     <developers>
  64.         <developer>
  65.             <id>khuntly</id>
  66.             <name>Kevin Huntly</name>
  67.             <email>[email protected]</email>
  68.             <url>https://github.com/cws-khuntly</url>
  69.             <organization>${project.organization.name}</organization>
  70.             <organizationUrl>${project.organization.url}</organizationUrl>
  71.             <roles>
  72.                 <role>developer</role>
  73.             </roles>
  74.             <timezone>-5</timezone>
  75.         </developer>
  76.     </developers>
  77.  
  78.     <issueManagement>
  79.         <system>GitHub</system>
  80.         <url>https://github.com/cwsus/esolutions/issues</url>
  81.     </issueManagement>
  82.  
  83.     <dependencies>
  84.         <!-- Test Libraries -->
  85.         <dependency>
  86.             <groupId>org.junit.jupiter</groupId>
  87.             <artifactId>junit-jupiter-engine</artifactId>
  88.             <version>${junit.version}</version>
  89.             <scope>test</scope>
  90.         </dependency>
  91.         <dependency>
  92.             <groupId>org.junit.jupiter</groupId>
  93.             <artifactId>junit-jupiter-api</artifactId>
  94.             <version>${junit.version}</version>
  95.             <scope>test</scope>
  96.         </dependency>
  97.         <dependency>
  98.             <groupId>org.junit.jupiter</groupId>
  99.             <artifactId>junit-jupiter-params</artifactId>
  100.             <version>${junit.version}</version>
  101.             <scope>test</scope>
  102.         </dependency>
  103.         <dependency>
  104.             <groupId>org.assertj</groupId>
  105.             <artifactId>assertj-core</artifactId>
  106.             <version>${assertj.version}</version>
  107.             <scope>test</scope>
  108.         </dependency>
  109.         <!-- Apache Commons -->
  110.         <dependency>
  111.             <groupId>org.apache.commons</groupId>
  112.             <artifactId>commons-email</artifactId>
  113.             <version>${commons-email.version}</version>
  114.             <exclusions>
  115.                 <exclusion>
  116.                     <groupId>javax.mail</groupId>
  117.                     <artifactId>mail</artifactId>
  118.                 </exclusion>
  119.             </exclusions>
  120.             <type>jar</type>
  121.             <scope>compile</scope>
  122.         </dependency>
  123.         <dependency>
  124.             <groupId>org.apache.httpcomponents.client5</groupId>
  125.             <artifactId>httpclient5</artifactId>
  126.             <version>${commons-httpclient.version}</version>
  127.             <exclusions>
  128.                 <exclusion>
  129.                     <groupId>commons-logging</groupId>
  130.                     <artifactId>commons-logging</artifactId>
  131.                 </exclusion>
  132.                 <exclusion>
  133.                     <artifactId>slf4j-api</artifactId>
  134.                     <groupId>org.slf4j</groupId>
  135.                 </exclusion>
  136.             </exclusions>
  137.             <type>jar</type>
  138.             <scope>compile</scope>
  139.         </dependency>
  140.         <dependency>
  141.             <groupId>commons-logging</groupId>
  142.             <artifactId>commons-logging</artifactId>
  143.             <version>${commons-logging.version}</version>
  144.             <type>jar</type>
  145.             <scope>compile</scope>
  146.         </dependency>
  147.         <dependency>
  148.             <groupId>org.apache.commons</groupId>
  149.             <artifactId>commons-collections4</artifactId>
  150.             <version>${commons-collections.version}</version>
  151.             <type>jar</type>
  152.             <scope>compile</scope>
  153.         </dependency>
  154.         <dependency>
  155.             <groupId>commons-codec</groupId>
  156.             <artifactId>commons-codec</artifactId>
  157.             <version>${commons-codec.version}</version>
  158.             <type>jar</type>
  159.             <scope>compile</scope>
  160.         </dependency>
  161.         <dependency>
  162.             <groupId>commons-net</groupId>
  163.             <artifactId>commons-net</artifactId>
  164.             <version>${commons-net.version}</version>
  165.             <type>jar</type>
  166.             <scope>compile</scope>
  167.         </dependency>
  168.         <dependency>
  169.             <groupId>org.apache.commons</groupId>
  170.             <artifactId>commons-lang3</artifactId>
  171.             <version>${commons-lang.version}</version>
  172.             <type>jar</type>
  173.             <scope>compile</scope>
  174.         </dependency>
  175.         <dependency>
  176.             <groupId>org.apache.commons</groupId>
  177.             <artifactId>commons-dbcp2</artifactId>
  178.             <version>${commons-dbcp.version}</version>
  179.             <type>jar</type>
  180.             <scope>compile</scope>
  181.         </dependency>
  182.         <dependency>
  183.             <groupId>org.apache.commons</groupId>
  184.             <artifactId>commons-pool2</artifactId>
  185.             <version>${commons-pool.version}</version>
  186.             <type>jar</type>
  187.             <scope>compile</scope>
  188.         </dependency>
  189.         <dependency>
  190.             <groupId>commons-io</groupId>
  191.             <artifactId>commons-io</artifactId>
  192.             <version>${commons-io.version}</version>
  193.             <type>jar</type>
  194.             <scope>compile</scope>
  195.         </dependency>
  196.         <dependency>
  197.             <groupId>org.apache.commons</groupId>
  198.             <artifactId>commons-digester3</artifactId>
  199.             <version>${commons-digester.version}</version>
  200.             <type>jar</type>
  201.             <scope>compile</scope>
  202.         </dependency>
  203.         <!-- Log4J -->
  204.         <dependency>
  205.             <groupId>org.apache.logging.log4j</groupId>
  206.             <artifactId>log4j-core</artifactId>
  207.             <version>${log4j.version}</version>
  208.             <type>jar</type>
  209.             <scope>compile</scope>
  210.         </dependency>
  211.         <dependency>
  212.             <groupId>javax.activation</groupId>
  213.             <artifactId>activation</artifactId>
  214.             <version>${activation.version}</version>
  215.             <type>jar</type>
  216.             <scope>compile</scope>
  217.         </dependency>
  218.         <!-- provided dependencies -->
  219.         <dependency>
  220.             <groupId>com.sun.mail</groupId>
  221.             <artifactId>javax.mail</artifactId>
  222.             <version>${mail.version}</version>
  223.             <type>jar</type>
  224.             <scope>provided</scope>
  225.         </dependency>
  226.         <dependency>
  227.             <groupId>com.mysql</groupId>
  228.             <artifactId>mysql-connector-j</artifactId>
  229.             <version>${mysql.version}</version>
  230.             <type>jar</type>
  231.             <scope>provided</scope>
  232.         </dependency>
  233.     </dependencies>
  234.  
  235.     <profiles>
  236.         <profile>
  237.             <id>WebSphere</id>
  238.  
  239.             <properties>
  240.                 <jaxb.api.version>2.3.1</jaxb.api.version>
  241.                 <com.sun.xml.bind.version>4.0.2</com.sun.xml.bind.version>
  242.                 <maven.compiler.release />
  243.                 <maven.compiler.target>1.8</maven.compiler.target>
  244.                 <maven.compiler.source>1.8</maven.compiler.source>
  245.                 <maven.compiler.executable>C:/Program Files/Java/jdk1.8.0_361/bin/javac.exe</maven.compiler.executable>
  246.                 <maven.compiler.fork>true</maven.compiler.fork>
  247.             </properties>
  248.  
  249.             <dependencies>
  250.                 <dependency>
  251.                     <groupId>javax.xml.bind</groupId>
  252.                     <artifactId>jaxb-api</artifactId>
  253.                     <version>${jaxb.api.version}</version>
  254.                     <type>jar</type>
  255.                     <scope>compile</scope>
  256.                 </dependency>
  257.                 <dependency>
  258.                     <groupId>com.sun.xml.bind</groupId>
  259.                     <artifactId>jaxb-core</artifactId>
  260.                     <version>${com.sun.xml.bind.version}</version>
  261.                     <type>jar</type>
  262.                     <scope>compile</scope>
  263.                 </dependency>
  264.                 <dependency>
  265.                     <groupId>com.sun.xml.bind</groupId>
  266.                     <artifactId>jaxb-impl</artifactId>
  267.                     <version>${com.sun.xml.bind.version}</version>
  268.                     <type>jar</type>
  269.                     <scope>compile</scope>
  270.                 </dependency>
  271.             </dependencies>
  272.         </profile>
  273.         <profile>
  274.             <id>tomcat</id>
  275.  
  276.             <properties>
  277.                 <jakarta.xml.bind.version>4.0.0</jakarta.xml.bind.version>
  278.                 <org.glassfish.jaxb.version>4.0.2</org.glassfish.jaxb.version>
  279.                 <maven.compiler.release>19</maven.compiler.release>
  280.                 <maven.compiler.target>19</maven.compiler.target>
  281.                 <maven.compiler.source>19</maven.compiler.source>
  282.             </properties>
  283.  
  284.             <dependencies>
  285.                 <dependency>
  286.                     <groupId>jakarta.xml.bind</groupId>
  287.                     <artifactId>jakarta.xml.bind-api</artifactId>
  288.                     <version>${jakarta.xml.bind.version}</version>
  289.                     <type>jar</type>
  290.                     <scope>compile</scope>
  291.                 </dependency>
  292.                 <dependency>
  293.                     <groupId>org.glassfish.jaxb</groupId>
  294.                     <artifactId>jaxb-runtime</artifactId>
  295.                     <version>${org.glassfish.jaxb.version}</version>
  296.                     <type>jar</type>
  297.                     <scope>compile</scope>
  298.                 </dependency>
  299.             </dependencies>
  300.         </profile>
  301.     </profiles>
  302.  
  303.     <build>
  304.         <finalName>${project.name}-${project.version}</finalName>
  305.         <directory>${basedir}/target</directory>
  306.         <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  307.         <scriptSourceDirectory>${basedir}/src/main/scripts</scriptSourceDirectory>
  308.         <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
  309.         <outputDirectory>${project.build.directory}/classes</outputDirectory>
  310.         <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
  311.  
  312.         <pluginManagement>
  313.             <plugins>
  314.                 <plugin>
  315.                     <groupId>org.apache.maven.plugins</groupId>
  316.                     <artifactId>maven-compiler-plugin</artifactId>
  317.                     <version>${maven-compiler-plugin.version}</version>
  318.                     <configuration>
  319.                         <encoding>${project.build.sourceEncoding}</encoding>
  320.                         <showDeprecation>true</showDeprecation>
  321.                         <showWarnings>true</showWarnings>
  322.                     </configuration>
  323.                 </plugin>
  324.                 <plugin>
  325.                     <groupId>org.apache.maven.plugins</groupId>
  326.                     <artifactId>maven-ear-plugin</artifactId>
  327.                     <version>${maven-ear-plugin.version}</version>
  328.                     <configuration>
  329.                         <applicationName>${project.artifactId}</applicationName>
  330.                         <description>${project.description}</description>
  331.                         <displayName>${project.artifactId}</displayName>
  332.                         <generateModuleId>true</generateModuleId>
  333.                         <initializeInOrder>true</initializeInOrder>
  334.                         <archive>
  335.                             <manifestEntries>
  336.                                 <Project-Name>${project.name}</Project-Name>
  337.                                 <Subproject-Name>${project.name}</Subproject-Name>
  338.                                 <Specification-Title>${project.name}</Specification-Title>
  339.                                 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  340.                                 <Specification-Version>${project.version}</Specification-Version>
  341.                                 <Implementation-Title>${project.name}</Implementation-Title>
  342.                                 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  343.                                 <Implementation-Version>${project.version}</Implementation-Version>
  344.                                 <Build-Date>${maven.build.timestamp}</Build-Date>
  345.                                 <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
  346.                             </manifestEntries>
  347.                         </archive>
  348.                     </configuration>
  349.                 </plugin>
  350.                 <plugin>
  351.                     <groupId>org.apache.maven.plugins</groupId>
  352.                     <artifactId>maven-jar-plugin</artifactId>
  353.                     <version>${maven-jar-plugin.version}</version>
  354.                     <configuration>
  355.                         <archive>
  356.                             <manifestEntries>
  357.                                 <Project-Name>${project.name}</Project-Name>
  358.                                 <Subproject-Name>${project.name}</Subproject-Name>
  359.                                 <Specification-Title>${project.name}</Specification-Title>
  360.                                 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  361.                                 <Specification-Version>${project.version}</Specification-Version>
  362.                                 <Implementation-Title>${project.name}</Implementation-Title>
  363.                                 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  364.                                 <Implementation-Version>${project.version}</Implementation-Version>
  365.                                 <Build-Date>${maven.build.timestamp}</Build-Date>
  366.                                 <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
  367.                             </manifestEntries>
  368.                         </archive>
  369.                     </configuration>
  370.                 </plugin>
  371.                 <plugin>
  372.                     <groupId>org.apache.maven.plugins</groupId>
  373.                     <artifactId>maven-source-plugin</artifactId>
  374.                     <version>${maven-source-plugin.version}</version>
  375.                     <executions>
  376.                         <execution>
  377.                             <id>attach-sources</id>
  378.                             <goals>
  379.                                 <goal>jar</goal>
  380.                             </goals>
  381.                         </execution>
  382.                     </executions>
  383.                     <configuration>
  384.                         <archive>
  385.                             <manifestEntries>
  386.                                 <Project-Name>${project.name}</Project-Name>
  387.                                 <Subproject-Name>${project.name}</Subproject-Name>
  388.                                 <Specification-Title>${project.name}</Specification-Title>
  389.                                 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  390.                                 <Specification-Version>${project.version}</Specification-Version>
  391.                                 <Implementation-Title>${project.name}</Implementation-Title>
  392.                                 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  393.                                 <Implementation-Version>${project.version}</Implementation-Version>
  394.                                 <Build-Date>${maven.build.timestamp}</Build-Date>
  395.                                 <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
  396.                             </manifestEntries>
  397.                         </archive>
  398.                     </configuration>
  399.                 </plugin>
  400.                 <plugin>
  401.                     <groupId>org.apache.maven.plugins</groupId>
  402.                     <artifactId>maven-war-plugin</artifactId>
  403.                     <version>${maven-war-plugin.version}</version>
  404.                     <configuration>
  405.                         <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
  406.                         <archive>
  407.                             <manifestEntries>
  408.                                 <Project-Name>${project.name}</Project-Name>
  409.                                 <Subproject-Name>${project.name}</Subproject-Name>
  410.                                 <Specification-Title>${project.name}</Specification-Title>
  411.                                 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  412.                                 <Specification-Version>${project.version}</Specification-Version>
  413.                                 <Implementation-Title>${project.name}</Implementation-Title>
  414.                                 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  415.                                 <Implementation-Version>${project.version}</Implementation-Version>
  416.                                 <Build-Date>${maven.build.timestamp}</Build-Date>
  417.                                 <Build-Platform>${os.name} ${os.arch} ${os.version}</Build-Platform>
  418.                             </manifestEntries>
  419.                         </archive>
  420.                     </configuration>
  421.                 </plugin>
  422.             </plugins>
  423.         </pluginManagement>
  424.  
  425.         <plugins>
  426.             <plugin>
  427.                 <groupId>org.apache.maven.plugins</groupId>
  428.                 <artifactId>maven-compiler-plugin</artifactId>
  429.                 <version>${maven-compiler-plugin.version}</version>
  430.             </plugin>
  431.             <plugin>
  432.                 <groupId>org.apache.maven.plugins</groupId>
  433.                 <artifactId>maven-ear-plugin</artifactId>
  434.                 <version>${maven-ear-plugin.version}</version>
  435.             </plugin>
  436.             <plugin>
  437.                 <groupId>org.apache.maven.plugins</groupId>
  438.                 <artifactId>maven-jar-plugin</artifactId>
  439.                 <version>${maven-jar-plugin.version}</version>
  440.             </plugin>
  441.             <plugin>
  442.                 <groupId>org.apache.maven.plugins</groupId>
  443.                 <artifactId>maven-source-plugin</artifactId>
  444.                 <version>${maven-source-plugin.version}</version>
  445.             </plugin>
  446.             <plugin>
  447.                 <groupId>org.apache.maven.plugins</groupId>
  448.                 <artifactId>maven-war-plugin</artifactId>
  449.                 <version>${maven-war-plugin.version}</version>
  450.             </plugin>
  451.         </plugins>
  452.     </build>
  453. </project>
  454.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement