Maven test whether to download the successful method-eclipse features of the feature of self-band

Source: Internet
Author: User
1 maven test whether to download the successful method:

When configured, one is used for uploading and one for downloading:

Add download code:

<repositories>

<repository>

<id>central</id>

<name>Central</name>

<url>http://127.0.0.1:8081/nexus/content/repositories/central/</url>

<releases>

<enabled>true</enabled>

</releases>

</repository>

</repositories>

To detect the correct way to download from center: Use cmd to view the path:

1) Add Test dependencies:

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>3.8</version>

</dependency>

2) input Command MVN compile

3 View Download path, visible configuration download successful

2 features of Eclipse self-band

Note: He added only to find dependencies on his own upload, but couldn't find the center's dependencies

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.