简体   繁体   中英

eclipse maven dependencies pom file

Hi does anybody know where do i need to setup the mahout.version property in order for eclipse to get the latest version of the dependency?

<dependency>
    <groupId>org.apache.mahout</groupId>
    <artifactId>mahout-core</artifactId>
    <version>${mahout.version}</version>
</dependency>

if you have a super pom or parent pom.xml you can make the properties like this :

<properties>
<mahout.version>0.9</mahout.version>
</properties>

Please replace following in your pom.xml of maven build.

<dependency>
    <groupId>org.apache.mahout</groupId>
    <artifactId>mahout-core</artifactId>
    <version>0.8</version>
</dependency>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM