OK, I'll revert. just wanted to see if scopes affect maven build 2009/12/28 Andrus Adamchik <[email protected]>
> Andrey, > > The tutorial project is special, and I intentionally defined all the > versions explicitly, as it has to look as a standalone module to the end > user once packaged in a distro. > > Andrus > > > > > On Dec 28, 2009, at 11:05 AM, [email protected] wrote: > > Author: andrey >> Date: Mon Dec 28 09:05:49 2009 >> New Revision: 894141 >> >> URL: http://svn.apache.org/viewvc?rev=894141&view=rev >> Log: >> playing with maven dependencies >> >> Modified: >> cayenne/main/trunk/tutorials/tutorial/pom.xml >> >> Modified: cayenne/main/trunk/tutorials/tutorial/pom.xml >> URL: >> http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial/pom.xml?rev=894141&r1=894140&r2=894141&view=diff >> >> ============================================================================== >> --- cayenne/main/trunk/tutorials/tutorial/pom.xml (original) >> +++ cayenne/main/trunk/tutorials/tutorial/pom.xml Mon Dec 28 09:05:49 2009 >> @@ -26,7 +26,8 @@ >> <dependency> >> <groupId>org.apache.cayenne</groupId> >> <artifactId>cayenne-server</artifactId> >> - <version>3.1-SNAPSHOT</version> >> + <version>${version}</version> >> + <scope>provided</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.derby</groupId> >> >> >> >> > -- Andrey
