Kevin
PS: Since I am building from sources, I generally use "mvn -o" to
prevent maven from fetching o.a.isis resources from the repositories.
PPS: Is there a more appropriate method that I can use to have
maven use my local repository over the o.a.isis sources?
You local resources will be used without the -o flag, its just that
Maven will check with the repository that you do in fact have the latest
version on disk. This happens because we are using snapshots, and these
by the very nature could change at any time. If you were using released
versions of everything then Maven would be satisfied that what you have
on your disk is the same as in the public repository, as your
version-1.0 is the same as its version-1.0. However in the snapshot
world your version-1.0-SNAPSHOT might not be the same as its
version-1.0-SNAPSHOT.
However this should not even be happening as the source code is
definitive: the code you build on your machine should be seen as the
latest version. For some reason we have the following in the
distributionManagement section of the pom (run mvn help:effective-pom to
see it)
<snapshotRepository>
<id>apache.snapshots.https</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</snapshotRepository>
which tells Maven to look there for snapshots.
Dan, is there any reason for this? This should be used only for modules
that depend on Isis and might want to run/build a snapshot version
without building all the dependent code first.
Rob