Reputation: 2071
I create project as described in:
TEIID/Archetype+Template+Connector+Project
on mvn clean install I get:
[ERROR] Failed to execute goal on project connector-myType:
Could not resolve dependencies for project org.jboss.teiid.connectors:connector-myType:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.jboss.teiid:teiid-api:jar:8.7.0.Final:
Failed to read artifact descriptor for org.jboss.teiid:teiid-api:jar:8.7.0.Final:
Failure to find org.jboss.integration-platform:jboss-integration-platform-bom:pom:6.0.0-SNAPSHOT
in http://snapshots.jboss.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced -> [Help 1]
Failure to find org.jboss.integration-platform:jboss-integration-platform-bom:pom:6.0.0-SNAPSHOT in http://snapshots.jboss.org/maven2 was cached in the local repository,
I added into my pom.xml:
<repositories>
<repository>
<id>jboss</id>
<name>jboss</name>
<url>http://snapshots.jboss.org/maven2</url>
I also tried with https://repository.jboss.org/nexus/content/repositories/snapshots/
</repository>
</repositories>
but it din't help, although both
whats wrong with it ?
Upvotes: 0
Views: 128
Reputation: 17815
The repository is not correctly setup. Have a look at Maven Getting Started Guide.
Essentially it should be:
<repositories>
<repository>
<id>jboss</id>
<name>jboss</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Upvotes: 2