我必须做错事,因为我无法将Teiid管理员添加到我的项目中,因为pom祖先会消失在非版本库中。这看起来是对的吗?
看到错误
Could not find artifact org.jboss.as:jboss-as-parent:pom:7.5.0.Final-redhat-15 in org.reficio (http://repo.reficio.org/maven/) @ org.jboss.teiid:teiid-parent:8.12.0.Alpha3-SNAPSHOT,...pom.xml, line 376, column 23 -> [Help 2]
添加依赖
<dependency>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-admin</artifactId>
<version>8.11.0.Final</version>
<!-- same basic thing happens with <version>8.11.2</version> -->
</dependency>
如果您有任何想法,请告诉我,因为在jboss nexus实例打猎之后,我比起初时更加困惑。
由于
彼得
答案 0 :(得分:0)
Question and answers from Jboss Community提供了解决方案。要通过maven使用teiid,必须代理或将所有这些存储库添加到您的设置文件
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<id>jboss-developer-repository-group</id>
<name>JBoss Developer Maven Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/developer/</url>
<id>jboss-techpreview</id>
<name>JBoss Tech Preview</name>
<url>https://maven.repository.redhat.com/techpreview/all/</url>
<layout>default</layout>
<id>jboss-earlyaccess</id>
<name>JBoss Early Access</name>
<url>https://maven.repository.redhat.com/earlyaccess/all/</url>