Thank you so much for your help!
Lyn Wall | UI Architect | KBM Group | (Tel) 713 995 2392 | (Mob) 281 377 6356 | [email protected]<mailto:[email protected]> From: Christofer Dutz [via Apache Flex Users] [mailto:[email protected]] Sent: Friday, May 01, 2015 4:54 AM To: Wall, Lyn Subject: AW: Help proofreading Maven documentation 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:[hidden email]</user/SendEmail.jtp?type=node&node=10242&i=0>] Gesendet: Donnerstag, 30. April 2015 19:11 An: [hidden email]</user/SendEmail.jtp?type=node&node=10242&i=1> 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. ________________________________ If you reply to this email, your message will be added to the discussion below: http://apache-flex-users.2333346.n4.nabble.com/Help-proofreading-Maven-documentation-tp10169p10242.html To unsubscribe from Help proofreading Maven documentation, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=10169&code=bHluLndhbGxAa2JtZy5jb218MTAxNjl8MjEwMjc4OTEzNQ==>. NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Help-proofreading-Maven-documentation-tp10169p10244.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
