when i tape mvn -Plegacy dependency:tree i can't see that the version used is
2.0.8 but 2.5.6
<profile>
                        <id>legacy</id>
                        <activation>
                                <activeByDefault>false</activeByDefault>
                                <jdk>1.5</jdk>
                        </activation>
                        
                        <properties>
                        <Spring.Version>2.0.8</Spring.Version>
                        </properties>
                        <dependencyManagement>
                        
                        <dependencies>
                                <dependency>
                                <groupId>org.springframework</groupId>
                <artifactId>spring</artifactId>
                <version>${Spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${Spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
                <version>${Spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aspects</artifactId>
                <version>${Spring.version}</version>
                         </dependency>
                        </dependencies>
                        </dependencyManagement>
                        <build>
                                <resources>
                                        <resource>
                                                
<directory>src\main\resources\ressourcesDev</directory>
                                        </resource>
                                </resources>
                                <plugins>
                                        <plugin>
                                                
<groupId>org.apache.maven.plugins</groupId>
                                                
<artifactId>maven-war-plugin</artifactId>
                                                <version>2.0</version>
                                                <configuration>
                                                        <webResources>
                                                                <resource>
                                                                        
<directory>WsService\ressources2</directory>
                                                                </resource>
                                                        </webResources>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                        
                </profile>

Bugzilla from [email protected] wrote:
> 
> You're almost there, see the maven-dependency-plugin documentation for the
> list or tree mojos.
> mvn dependency:list
> or
> mvn dependency:tree
> 
> Cheers.
> PS : btw, saying a little "thank you" at the end of a question on a
> mailing
> is a quite commonly admitted practice, which can even help getting answers
> sometimes...
> 
> 2008/12/22 aymen83 <[email protected]>
> 
>>
>> hi,
>> i have a question:
>> i want to know what versions of artifacts are used to compile my project?
>> i 'm using mvn dependency:resolve but i have some doubt about the result
>> this command shows the versions which are in my classpath? or the one's
>> used
>> in the compilation?
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-find-what-libraries-are-used--tp21124644p21124644.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 
> -- 
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-find-what-libraries-are-used--tp21124644p21128771.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to