Paolo Antinori created SHRINKRES-282:
----------------------------------------
Summary: Resolve just a pom.xml
Key: SHRINKRES-282
URL:
https://issues.jboss.org/browse/SHRINKRES-282
Project: ShrinkWrap Resolvers
Issue Type: Bug
Affects Versions: 2.2.6
Reporter: Paolo Antinori
What's the correct way to resolve a pom.xml ? My use case is to obtain a BOM.
{code}
Maven.resolver().resolve("org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:3.0.0-beta-2").withoutTransitivity().asFile();
{code}
{code}
MavenResolvedArtifact artifact =
Maven.resolver().resolve("org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:3.0.0-beta-2").withoutTransitivity()
.asSingle(MavenResolvedArtifact.class);
{code}
they both fail? Am I doing something wrong or is this behavior broken for pom files?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)