You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by an...@apache.org on 2009/12/28 10:05:49 UTC

svn commit: r894141 - /cayenne/main/trunk/tutorials/tutorial/pom.xml

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>



Re: svn commit: r894141 - /cayenne/main/trunk/tutorials/tutorial/pom.xml

Posted by Andrey Razumovsky <ra...@gmail.com>.
OK, I'll revert. just wanted to see if scopes affect maven build

2009/12/28 Andrus Adamchik <an...@objectstyle.org>

> 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, andrey@apache.org 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

Re: svn commit: r894141 - /cayenne/main/trunk/tutorials/tutorial/pom.xml

Posted by Andrus Adamchik <an...@objectstyle.org>.
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, andrey@apache.org 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>
>
>
>