- Revision
- 748
- Author
- mauro
- Date
- 2008-06-21 03:15:15 -0500 (Sat, 21 Jun 2008)
Log Message
Updated build notes and added note to selenium dependency with remote repo.
Modified Paths
Diff
Modified: trunk/BUILD.txt (747 => 748)
--- trunk/BUILD.txt 2008-06-19 17:19:51 UTC (rev 747) +++ trunk/BUILD.txt 2008-06-21 08:15:15 UTC (rev 748) @@ -23,14 +23,17 @@ mvn -Pnt,examples,jetty install IMPORTANT NOTE ON REPOSITORIES: -Some dependencies (eg OpenQa or JBoss ones) are not synched with central maven repo. +Some dependencies are not synched with central maven repo. Rather than configuring lots of remote repositories to the root POM, which implies lots of redundant lookups to several remote servers, it is the responsibility of the user building the code to ensure that these are configured in the user ~/.m2/settings.xml, as profiles, -and then build (just once with the corresponding profiles): +and then build (just once) with the corresponding profiles to retrieve the dependency. +A good practice is to leave a note next to dependency declaration where these are found. -mvn clean install -Popenqa,jboss +Eg to build with openqa profile (for selenium): -where the definition of openqa and jboss profiles would look something like: +mvn clean install -Popenqa + +where the definition of openqa profile would look something like: <profiles> <profile> <id>openqa</id> @@ -59,31 +62,4 @@ </pluginRepository> </pluginRepositories> </profile> - <profile> - <id>jboss</id> - <repositories> - <repository> - <id>jboss-releases</id> - <url>http://repository.jboss.com/maven2</url> - <snapshots> - <enabled>false</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - </repositories> - <pluginRepositories> - <pluginRepository> - <id>jboss-releases</id> - <url>http://repository.jboss.com/maven2</url> - <snapshots> - <enabled>false</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </pluginRepository> - </pluginRepositories> - </profile> </profiles> \ No newline at end of file
Modified: trunk/integration/waffle-taglib/pom.xml (747 => 748)
--- trunk/integration/waffle-taglib/pom.xml 2008-06-19 17:19:51 UTC (rev 747) +++ trunk/integration/waffle-taglib/pom.xml 2008-06-21 08:15:15 UTC (rev 748) @@ -33,7 +33,7 @@ <version>1.1.2</version> <scope>runtime</scope> </dependency> - <dependency> + <dependency> <!-- in openqa repo --> <groupId>org.openqa.selenium.client-drivers</groupId> <artifactId>selenium-java-client-driver</artifactId> <version>0.9.2</version>
To unsubscribe from this list please visit:
