A project containing a SNAPSHOT dependency that has a matching buildVersionPattern
set in srcdeps.yaml
.
The SNAPSHOT dependency is thus rebuilt each time the dependent project is built.
-
srcdeps.yaml
and its documentation under link:../../../doc/srcdeps-maven-configuration.adoc and https://github.com/srcdeps/srcdeps-core/blob/master/doc/srcdeps.yaml . -
Nothing special in
pom.xml
-
Issue
mvn clean install
on command line in the directory where this README file resides. -
Check in the output of the above
mvn
command if the test passed -
Check if the version
0.0.2-SNAPSHOT
oforg.l2x6.maven.srcdeps.itest:srcdeps-test-artifact-service
was installed in your local Maven repository. OpenMETA-INF/MANIFEST.MF
the jar and ensure it hasBuilt-From-Git-SHA1: 67e9a1480f6de434e513c3ced2b4e952dce5ddc0
-
Check the directory where the
srcdeps-test-artifact
was built:${maven.repo.local}/../srcdeps/org.l2x6.maven.srcdeps.itest
- i.e. typically~/.m2/srcdeps/org.l2x6.maven.srcdeps.itest