initialize
This commit is contained in:
189
lib/pom.xml
Normal file
189
lib/pom.xml
Normal file
@@ -0,0 +1,189 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.itac.interface</groupId>
|
||||
<artifactId>imsinterfaces-lib</artifactId>
|
||||
<name>imsinterfaces-lib</name>
|
||||
<version>${mes.interface.version}</version>
|
||||
<parent>
|
||||
<groupId>com.itac.interface</groupId>
|
||||
<artifactId>imsinterfaces</artifactId>
|
||||
<version>${mes.interface.version}</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface</groupId>
|
||||
<artifactId>imsinterfaces-installer</artifactId>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface</groupId>
|
||||
<artifactId>imsinterfaces-asm-oib-suite</artifactId>
|
||||
<type>zip</type>
|
||||
<scope>provided</scope>
|
||||
<classifier>windows</classifier>
|
||||
</dependency>
|
||||
<!-- <dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>imsinterfaces-simm-adapter</artifactId>
|
||||
<type>zip</type>
|
||||
<scope>provided</scope>
|
||||
<classifier>windows</classifier>
|
||||
</dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>data-interface-cogiscan-plugin</artifactId>
|
||||
<type>zip</type>
|
||||
<!--classifier>jar-with-dependencies</classifier-->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.commonsmt</groupId>
|
||||
<artifactId>commonsmt-plugindoc</artifactId>
|
||||
<type>zip</type>
|
||||
<classifier>doc</classifier>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>imsinterfaces-commonsmt-plugin</artifactId>
|
||||
<type>zip</type>
|
||||
<scope>provided</scope>
|
||||
<classifier>plugin</classifier>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>imsinterfaces-commonsmt-dotnetplugin</artifactId>
|
||||
<type>zip</type>
|
||||
<scope>provided</scope>
|
||||
<classifier>windows</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>imsinterfaces-commonsmt-dotnetplugin</artifactId>
|
||||
<type>zip</type>
|
||||
<scope>provided</scope>
|
||||
<classifier>sources</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>data-interface-line-dashboard-plugin</artifactId>
|
||||
<type>zip</type>
|
||||
<!--classifier>jar-with-dependencies</classifier-->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>data-interface-yamaha-plugin</artifactId>
|
||||
<type>zip</type>
|
||||
<!--classifier>jar-with-dependencies</classifier-->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itac.interface.interfaces</groupId>
|
||||
<artifactId>data-interface-config-bundle</artifactId>
|
||||
<type>jar</type>
|
||||
<classifier>jar-with-dependencies</classifier>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dependencies</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>false</overWriteSnapshots>
|
||||
<overWriteIfNewer>true</overWriteIfNewer>
|
||||
<excludeTransitive>true</excludeTransitive>
|
||||
<includeScope>provided</includeScope>
|
||||
<excludeTypes>war</excludeTypes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>copy-onlinedoc-dependencies</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>false</overWriteSnapshots>
|
||||
<overWriteIfNewer>true</overWriteIfNewer>
|
||||
<excludeTransitive>true</excludeTransitive>
|
||||
<includeScope>provided</includeScope>
|
||||
<includeTypes>war</includeTypes>
|
||||
<stripVersion>true</stripVersion>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-installer</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.basedir}/target/lib</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../installer/target</directory>
|
||||
<filtering>false</filtering>
|
||||
<includes>
|
||||
<include>*.exe</include>
|
||||
</includes>
|
||||
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmaven</groupId>
|
||||
<artifactId>gmaven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>execute</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<source>
|
||||
File targetDir = new File(project.build.directory, "lib");
|
||||
if (targetDir.exists()) {
|
||||
File[] files =
|
||||
targetDir.listFiles();
|
||||
File outputFile = new File(targetDir, "downloads.txt");
|
||||
PrintWriter pw = new
|
||||
PrintWriter(outputFile);
|
||||
for (File file : files) {
|
||||
pw.println(file.getName());
|
||||
}
|
||||
pw.close();
|
||||
}
|
||||
</source>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
Reference in New Issue
Block a user