On 18/10/10 11:06, Dan Haywood wrote:
On 18/10/2010 10:53, Robert Matthews wrote:
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.
We get this by way of inheriting from org.apache:apache-parent:7,
which was Mark's recommendation. Doing so will fit in with other
projects that Mark is involved with, so there's good precedent here,
and there's a good write-up on the release process that this parent
defines for us, which I've referenced from our wiki [1].
This makes sense, so if we used a logging snaphot then it would be
automatically loaded.
But I'm not sure why there's a problem with having this defined. We
need a snapshot repo, don't we? And this is the official one to use.
When my code is building I'll have a look why (if) our snapshot are
being sought.
Rob