Advertisement
cbevin

Maven Pom.xml

May 31st, 2018
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.62 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <project xmlns="http://maven.apache.org/POM/4.0.0"
  4.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6.     <modelVersion>4.0.0</modelVersion>
  7.  
  8.     <groupId>com.digitalml.plugins</groupId>
  9.     <artifactId>poller-maven-plugin</artifactId>
  10.     <version>1.0</version>
  11.     <packaging>maven-plugin</packaging>
  12.  
  13.     <properties>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.         <maven.compiler.source>1.8</maven.compiler.source>
  16.         <maven.compiler.target>1.8</maven.compiler.target>
  17.         <maven.version>3.3.9</maven.version>
  18.         <spring.boot-version>1.5.2.RELEASE</spring.boot-version>
  19.     </properties>
  20.  
  21.     <name>Ignite Poller Maven Plugin</name>
  22.     <description>The DigitalML Ignite Poller for polling an SFTP server and executing files</description>
  23.     <url>http://www.digitalml.com</url>
  24.  
  25.     <licenses>
  26.         <license>
  27.             <name>The Apache Software License, Version 2.0</name>
  28.             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  29.         </license>
  30.     </licenses>
  31.  
  32.     <developers>
  33.         <developer>
  34.             <name>Carl Bevin</name>
  35.             <email>cbevin@digitalml.com</email>
  36.             <organization>DigitalML</organization>
  37.             <organizationUrl>http://www.digitalml.com</organizationUrl>
  38.         </developer>
  39.         <developer>
  40.             <name>Ryan Jones</name>
  41.             <email>rjones@digitalml.com</email>
  42.             <organization>DigitalML</organization>
  43.             <organizationUrl>http://www.digitalml.com</organizationUrl>
  44.         </developer>
  45.         <developer>
  46.             <name>Noris Nyamekye</name>
  47.             <email>nnyamekye@digitalml.com></email>
  48.             <organization>DigitalML</organization>
  49.             <organizationUrl>http://www.digitalml.com</organizationUrl>
  50.         </developer>
  51.     </developers>
  52.  
  53.     <scm>
  54.         <connection>scm:git:git://github.com/digitalMLInc/SFTPPoller.git</connection>
  55.         <url>https://github.com/digitalMLInc/SFTPPoller</url>
  56.     </scm>
  57.  
  58.     <dependencyManagement>
  59.         <dependencies>
  60.             <!-- Spring Boot BOM -->
  61.             <dependency>
  62.                 <groupId>org.springframework.boot</groupId>
  63.                 <artifactId>spring-boot-dependencies</artifactId>
  64.                 <version>${spring.boot-version}</version>
  65.                 <type>pom</type>
  66.                 <scope>import</scope>
  67.             </dependency>
  68.             <!-- Camel BOM -->
  69.             <dependency>
  70.                 <groupId>org.apache.camel</groupId>
  71.                 <artifactId>camel-spring-boot-dependencies</artifactId>
  72.                 <version>2.18.3</version>
  73.                 <type>pom</type>
  74.                 <scope>import</scope>
  75.             </dependency>
  76.         </dependencies>
  77.     </dependencyManagement>
  78.  
  79.     <dependencies>
  80.         <dependency>
  81.             <groupId>org.apache.maven</groupId>
  82.             <artifactId>maven-plugin-api</artifactId>
  83.             <version>${maven.version}</version>
  84.             <scope>provided</scope>
  85.         </dependency>
  86.         <dependency>
  87.             <groupId>org.apache.maven</groupId>
  88.             <artifactId>maven-core</artifactId>
  89.             <version>${maven.version}</version>
  90.             <scope>provided</scope>
  91.         </dependency>
  92.         <dependency>
  93.             <groupId>org.apache.maven</groupId>
  94.             <artifactId>maven-artifact</artifactId>
  95.             <version>${maven.version}</version>
  96.             <scope>provided</scope>
  97.         </dependency>
  98.         <dependency>
  99.             <groupId>org.apache.maven</groupId>
  100.             <artifactId>maven-compat</artifactId>
  101.             <version>${maven.version}</version>
  102.             <scope>test</scope>
  103.         </dependency>
  104.         <dependency>
  105.             <groupId>org.apache.maven.plugin-tools</groupId>
  106.             <artifactId>maven-plugin-annotations</artifactId>
  107.             <version>3.5.1</version>
  108.             <scope>provided</scope>
  109.         </dependency>
  110.         <dependency>
  111.             <groupId>junit</groupId>
  112.             <artifactId>junit</artifactId>
  113.             <version>4.12</version>
  114.             <scope>test</scope>
  115.         </dependency>
  116.         <dependency>
  117.             <groupId>org.apache.maven.plugin-testing</groupId>
  118.             <artifactId>maven-plugin-testing-harness</artifactId>
  119.             <version>3.3.0</version>
  120.             <scope>test</scope>
  121.         </dependency>
  122.  
  123.         <!-- Spring Boot -->
  124.         <dependency>
  125.             <groupId>org.springframework.boot</groupId>
  126.             <artifactId>spring-boot-starter-web</artifactId>
  127.             <exclusions>
  128.                 <exclusion>
  129.                     <groupId>org.springframework.boot</groupId>
  130.                     <artifactId>spring-boot-starter-tomcat</artifactId>
  131.                 </exclusion>
  132.             </exclusions>
  133.         </dependency>
  134.         <dependency>
  135.             <groupId>org.springframework.boot</groupId>
  136.             <artifactId>spring-boot-starter-undertow</artifactId>
  137.         </dependency>
  138.         <dependency>
  139.             <groupId>org.springframework.boot</groupId>
  140.             <artifactId>spring-boot-starter-actuator</artifactId>
  141.         </dependency>
  142.  
  143.         <!-- Camel -->
  144.         <dependency>
  145.             <groupId>org.apache.camel</groupId>
  146.             <artifactId>camel-spring-boot-starter</artifactId>
  147.         </dependency>
  148.         <dependency>
  149.             <groupId>org.apache.camel</groupId>
  150.             <artifactId>camel-stream-starter</artifactId>
  151.         </dependency>
  152.         <dependency>
  153.             <groupId>org.apache.camel</groupId>
  154.             <artifactId>camel-ftp</artifactId>
  155.         </dependency>
  156.  
  157.         <dependency>
  158.             <groupId>org.apache.commons</groupId>
  159.             <artifactId>commons-exec</artifactId>
  160.             <version>1.3</version>
  161.         </dependency>
  162.         <dependency>
  163.             <groupId>org.apache.commons</groupId>
  164.             <artifactId>commons-lang3</artifactId>
  165.             <version>3.5</version>
  166.         </dependency>
  167.         <dependency>
  168.             <groupId>org.apache.commons</groupId>
  169.             <artifactId>commons-collections4</artifactId>
  170.             <version>4.1</version>
  171.         </dependency>
  172.         <dependency>
  173.             <groupId>com.google.code.gson</groupId>
  174.             <artifactId>gson</artifactId>
  175.             <version>2.8.0</version>
  176.         </dependency>
  177.         <dependency>
  178.             <groupId>commons-io</groupId>
  179.             <artifactId>commons-io</artifactId>
  180.             <version>2.5</version>
  181.         </dependency>
  182.  
  183.         <!-- Test -->
  184.         <dependency>
  185.             <groupId>org.springframework.boot</groupId>
  186.             <artifactId>spring-boot-starter-test</artifactId>
  187.             <scope>test</scope>
  188.         </dependency>
  189.         <dependency>
  190.             <groupId>org.apache.camel</groupId>
  191.             <artifactId>camel-test-spring</artifactId>
  192.             <scope>test</scope>
  193.         </dependency>
  194.         <dependency>
  195.             <groupId>org.mockftpserver</groupId>
  196.             <artifactId>MockFtpServer</artifactId>
  197.             <version>2.7.1</version>
  198.             <scope>test</scope>
  199.         </dependency>
  200.     </dependencies>
  201.  
  202.     <distributionManagement>
  203.         <snapshotRepository>
  204.             <id>ossrh</id>
  205.             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  206.         </snapshotRepository>
  207.         <repository>
  208.             <id>ossrh</id>
  209.             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  210.         </repository>
  211.     </distributionManagement>
  212.     <build>
  213.         <plugins>
  214.             <plugin>
  215.                 <groupId>com.digitalml.plugins</groupId>
  216.                 <artifactId>poller-maven-plugin</artifactId>
  217.                 <version>1.0</version>
  218.                 <configuration>
  219.                     <SUBMIT_COMMAND>chmod 777 dev+/setup.sh</SUBMIT_COMMAND>
  220.                     <SUBMIT_COMMAND1>dev+/setup.sh</SUBMIT_COMMAND1>
  221.                     <SUBMIT_COMMAND2>chmod +x dev+/scm.sh</SUBMIT_COMMAND2>
  222.                     <SUBMIT_COMMAND3>dev+/scm.sh http://gogs:3000 gogs:3000 ICSRuntime
  223.                         aca277a1ae7ed6492cb2540722dac7b29b595466 admin123</SUBMIT_COMMAND3>
  224.                     <SUBMIT_COMMAND4></SUBMIT_COMMAND4>
  225.                     <SUBMIT_COMMAND5></SUBMIT_COMMAND5>
  226.                     <SUBMIT_COMMAND6></SUBMIT_COMMAND6>
  227.                     <SUBMIT_COMMAND7></SUBMIT_COMMAND7>
  228.                     <SUBMIT_COMMAND8></SUBMIT_COMMAND8>
  229.                     <SUBMIT_COMMAND9></SUBMIT_COMMAND9>
  230.                     <SUBMIT_COMMAND10></SUBMIT_COMMAND10>
  231.                 </configuration>
  232.             </plugin>
  233.             <plugin>
  234.                 <groupId>org.apache.maven.plugins</groupId>
  235.                 <artifactId>maven-plugin-plugin</artifactId>
  236.                 <version>3.5.1</version>
  237.                 <executions>
  238.                     <execution>
  239.                         <id>mojo-descriptor</id>
  240.                         <goals>
  241.                             <goal>descriptor</goal>
  242.                         </goals>
  243.                     </execution>
  244.                     <execution>
  245.                         <id>help-goal</id>
  246.                         <goals>
  247.                             <goal>helpmojo</goal>
  248.                         </goals>
  249.                     </execution>
  250.                 </executions>
  251.             </plugin>
  252.         </plugins>
  253.     </build>
  254.     <profiles>
  255.         <profile>
  256.             <id>release</id>
  257.             <build>
  258.                 <plugins>
  259.                     <plugin>
  260.                         <groupId>org.apache.maven.plugins</groupId>
  261.                         <artifactId>maven-source-plugin</artifactId>
  262.                         <executions>
  263.                             <execution>
  264.                                 <id>attach-sources</id>
  265.                                 <goals>
  266.                                     <goal>jar</goal>
  267.                                 </goals>
  268.                             </execution>
  269.                         </executions>
  270.                     </plugin>
  271.                     <plugin>
  272.                         <groupId>org.apache.maven.plugins</groupId>
  273.                         <artifactId>maven-javadoc-plugin</artifactId>
  274.                         <executions>
  275.                             <execution>
  276.                                 <id>attach-javadocs</id>
  277.                                 <goals>
  278.                                     <goal>jar</goal>
  279.                                 </goals>
  280.                             </execution>
  281.                         </executions>
  282.                     </plugin>
  283.                     <plugin>
  284.                         <groupId>org.apache.maven.plugins</groupId>
  285.                         <artifactId>maven-gpg-plugin</artifactId>
  286.                         <version>1.6</version>
  287.                         <executions>
  288.                             <execution>
  289.                                 <id>sign-artifacts</id>
  290.                                 <phase>verify</phase>
  291.                                 <goals>
  292.                                     <goal>sign</goal>
  293.                                 </goals>
  294.                             </execution>
  295.                         </executions>
  296.                     </plugin>
  297.                 </plugins>
  298.             </build>
  299.         </profile>
  300.     </profiles>
  301. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement