]
Steven Hawkins resolved TEIID-4004.
-----------------------------------
Resolution: Done
Marking as resolved, since the pull request was merged.
Teiid teiid-web-security project can't be built
-----------------------------------------------
Key: TEIID-4004
URL:
https://issues.jboss.org/browse/TEIID-4004
Project: Teiid
Issue Type: Bug
Components: Tools
Reporter: Jan Stastny
Assignee: Jan Stastny
The project used to build custom OData WAR with different security profiles can't be
compiled in maven.
The problem is caused by its module database-service, which is located in
./examples/database-service/pom.xml. Maven complains, that it can't find artifact
odata-web-parent, which is the parent project here.
It can be resolved by specifying <relativePath>../../pom.xml</relativePath>
in the database-service jar's pom.xml
{code:plain}
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.teiid:database-service:[unknown-version]
(/home/jstastny/gitrepo/teiid-web-security/examples/database-service/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.jboss.teiid:database-service:[unknown-version]: Failure to find
org.jboss.teiid:odata-web-parent:pom:0.0.1-SNAPSHOT in
http://dvqe11.mw.lab.eng.bos.redhat.com:8081/nexus/content/repositories/r... was
cached in the local repository, resolution will not be reattempted until the update
interval of nexus-releases has elapsed or updates are forced and
'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help
2]
{code}