I want to run maven-install-plugin before checking for dependencies. How can i do this? Plugin Configuration:
<artifactId>maven-install-plugin</artifactId> <executions> <execution> <id>install-library</id> <phase>process-resources</phase> <goals> <goal>install-file</goal> </goals> <configuration> <groupId>my.assets</groupId> <artifactId>myAsset</artifactId> <version>0.1-SNAPSHOT</version> <packaging>swc</packaging> <file>libs/asset.swc</file> </configuration> </execution> </executions>
I usually do this in the “clean” phase.
Potential: always fulfilled before everything else
Downside: you need to run "clean" (mvn clean compile, mvn clean install, etc.)