Well you shouldn't manually download SNAPSHOT versions and install them locally.
This will definitely not work as you expected. By the way a SNAPSHOT on a
remote repository consists of the following parts:
{artifactId}-{version}-{build-date}.{build-time}-{counter}.jar
Locally you only have one {artifactId}-{version}-SNAPSHOT, but on the server
you usually have 1-20 of them. When building Maven checks the remote daily
(default) but can be set to check in other intervals, if new SNAPSHOTs have
been provided. Maven uses the Date, Time and Counter to check this.
So in your case you shouldn't have manually donwloaded the stuff to your local
repo, but have maven to that for you by adding the apache and the sonatype
snapshot repos to your build.
Perhaps some more explanation here:
http://stackoverflow.com/questions/5901378/what-exactly-is-a-maven-snapshot-and-why-do-we-need-it
Chris
-----Ursprüngliche Nachricht-----
Von: lynwall [mailto:[email protected]]
Gesendet: Donnerstag, 30. April 2015 19:11
An: [email protected]
Betreff: Re: Help proofreading Maven documentation
I'm sure I'm missing something really obvious here so I apologize in advance
for the stupid question. I've downloaded the files in the repository and they
are in a folder named 7.1.0-SNAPSHOT, but the file names have the build number
rather than snapshot (eg.
flexmojos-maven-plugin-7.1.0-20150425.164827-22.jar) so when I refer to
<flexmojos.version>7.1.0-SNAPSHOT</flexmojos.version> maven can't resolve it.
I've made sure that my repositories are pointing to the snapshots repository.
How do I get maven to see 7.1.0-SNAPSHOT?
<repositories>
<repository>
<id>flex-mojos-repository</id>
<url>
https://oss.sonatype.org/content/repositories/snapshots/net/flexmojos/oss/</url>
<releases> <enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>local</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/net/flexmojos/oss/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots> <enabled>false</enabled> </snapshots>
</pluginRepository>
</pluginRepositories>
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Help-proofreading-Maven-documentation-tp10169p10238.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.