nkvnkv
nkvnkv

Reputation: 954

Repository operational?

Is this maven repository operational from eclipse?

<repository>
  <id>tapx</id>
  <name>howard lewisship snapshot repository</name>
  <url>http://howardlewisship.com/snapshot-repository/</url>
  <snapshots>
    <enabled>true</enabled>
    <updatePolicy>never</updatePolicy>
    <checksumPolicy>fail</checksumPolicy>
  </snapshots>
</repository>

Upvotes: 1

Views: 259

Answers (1)

Dave Newton
Dave Newton

Reputation: 160191

This question doesn't specifically have anything to do with Eclipse, but Maven.

Assuming you're using m2eclipse, you can use the repository browser as detailed in the Browsing and Manipulating Maven Repositories docs. Since I'm not an Eclipse user, I prefer to use the command line.

To answer your (non-programming) question, AFAICT, yes, the repository works fine.

pom snippet Also works with the snapshots setting, but isn't required.

  <repositories>
    <repository>
      <id>tapx</id>
      <name>howard lewisship snapshot repository</name>
      <url>http://howardlewisship.com/snapshot-repository/</url>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>com.howardlewisship</groupId>
      <artifactId>tapx-core</artifactId>
      <version>1.2-SNAPSHOT</version>
    </dependency>
  </dependencies>

dependency:tree output

[...maven/playground]$ mvn dependency:tree
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ test ---
[INFO] com.davelnewton:test:jar:1.0.0-SNAPSHOT
[INFO] \- com.howardlewisship:tapx-core:jar:1.2-SNAPSHOT:compile
[INFO]    \- org.apache.tapestry:tapestry-core:jar:5.3.4:compile
[INFO]       +- org.antlr:antlr-runtime:jar:3.3:compile
[INFO]       |  \- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO]       |     \- antlr:antlr:jar:2.7.7:compile
[INFO]       +- commons-codec:commons-codec:jar:1.5:compile
[INFO]       +- org.apache.tapestry:tapestry-json:jar:5.3.4:compile
[INFO]       \- org.apache.tapestry:tapestry-ioc:jar:5.3.4:compile
[INFO]          +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO]          +- org.apache.tapestry:tapestry-func:jar:5.3.4:compile
[INFO]          +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO]          +- javax.inject:javax.inject:jar:1:compile
[INFO]          +- log4j:log4j:jar:1.2.14:compile
[INFO]          +- org.apache.tapestry:tapestry5-annotations:jar:5.3.4:compile
[INFO]          +- javassist:javassist:jar:3.12.1.GA:compile
[INFO]          \- org.apache.tapestry:plastic:jar:5.3.4:compile

You can also browse the repo from the web.

Upvotes: 2

Related Questions