Moved installl lib to profile

This commit is contained in:
Willem Cazander 2022-09-03 13:08:37 +02:00
parent 0fa7b439cd
commit a4dda5107e

View file

@ -40,27 +40,36 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>deploy-local-x4o</id>
<phase>initialize</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
<version>0.8.7-SNAPSHOT2</version>
<packaging>jar</packaging>
<file>${project.basedir}/../local-lib/x4o-driver-0.8.7-SNAPSHOT2.jar</file>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>lib-install</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>deploy-local-x4o</id>
<phase>initialize</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>org.x4o</groupId>
<artifactId>x4o-driver</artifactId>
<version>0.8.7-SNAPSHOT2</version>
<packaging>jar</packaging>
<file>${project.basedir}/../local-lib/x4o-driver-0.8.7-SNAPSHOT2.jar</file>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project> </project>