|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>java-pti-install-local</groupId> |
| 5 | + <artifactId>java-pti-install-local</artifactId> |
| 6 | + <version>1</version> |
| 7 | + <packaging>pom</packaging> |
| 8 | + |
| 9 | + <parent> |
| 10 | + <groupId>java-pti</groupId> |
| 11 | + <artifactId>java-pti</artifactId> |
| 12 | + <version>1</version> |
| 13 | + <relativePath>../pom-local-install.xml</relativePath> |
| 14 | + </parent> |
| 15 | + |
| 16 | + |
| 17 | + <properties> |
| 18 | + <target.destination>../updates</target.destination> |
| 19 | + </properties> |
| 20 | + |
| 21 | + <build> |
| 22 | + <plugins> |
| 23 | + <plugin> |
| 24 | + <artifactId>maven-clean-plugin</artifactId> |
| 25 | + <version>3.3.2</version> |
| 26 | + <configuration> |
| 27 | + <filesets> |
| 28 | + <fileset> |
| 29 | + <directory>${target.destination}</directory> |
| 30 | + <followSymlinks>false</followSymlinks> |
| 31 | + </fileset> |
| 32 | + </filesets> |
| 33 | + </configuration> |
| 34 | + </plugin> |
| 35 | + <plugin> |
| 36 | + <groupId>org.apache.maven.plugins</groupId> |
| 37 | + <artifactId>maven-install-plugin</artifactId> |
| 38 | + <version>2.5.2</version> |
| 39 | + <executions> |
| 40 | + <execution> |
| 41 | + <id>install-external</id> |
| 42 | + <phase>process-resources</phase> |
| 43 | + <configuration> |
| 44 | + <file>${basedir}/../silabs-pti/build/libs/silabs-pti-lib-${java.pti.version}.jar</file> |
| 45 | + <repositoryLayout>default</repositoryLayout> |
| 46 | + <groupId>com.silabs.pti</groupId> |
| 47 | + <artifactId>com.silabs.external.silabs_pti</artifactId> |
| 48 | + <version>${java.pti.version}</version> |
| 49 | + <packaging>jar</packaging> |
| 50 | + <generatePom>true</generatePom> |
| 51 | + <localRepositoryPath>maven</localRepositoryPath> |
| 52 | + </configuration> |
| 53 | + <goals> |
| 54 | + <goal>install-file</goal> |
| 55 | + </goals> |
| 56 | + </execution> |
| 57 | + </executions> |
| 58 | + </plugin> |
| 59 | + </plugins> |
| 60 | + </build> |
| 61 | +</project> |
0 commit comments