Make sure we look for requested pom file and not resolved
This commit is contained in:
parent
a7133ac4fa
commit
4ee764f3d3
@ -107,7 +107,7 @@ public class JavadirWorkspaceReader implements WorkspaceReader {
|
|||||||
MavenJPackageDepmap.debug("Resolved VERSION=" + version);
|
MavenJPackageDepmap.debug("Resolved VERSION=" + version);
|
||||||
|
|
||||||
if (artifact.getExtension().equals("pom")) {
|
if (artifact.getExtension().equals("pom")) {
|
||||||
path = getPOMPath(groupId, artifactId, version);
|
path = getPOMPath(groupId, artifactId, wantedVersion);
|
||||||
ret = new File(path.toString());
|
ret = new File(path.toString());
|
||||||
if (ret.isFile()) {
|
if (ret.isFile()) {
|
||||||
MavenJPackageDepmap.debug("Returning " + path.toString());
|
MavenJPackageDepmap.debug("Returning " + path.toString());
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: maven
|
Name: maven
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Java project management and project comprehension tool
|
Summary: Java project management and project comprehension tool
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -377,6 +377,9 @@ ln -sf `rpm --eval '%%{_jnidir}'` %{_datadir}/%{name}/repository-jni/JPP
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.4-13
|
||||||
|
- Make sure we look for requested pom file and not resolved
|
||||||
|
|
||||||
* Thu Oct 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.4-12
|
* Thu Oct 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.4-12
|
||||||
- Look into maven.repo.local first to handle corner-case packages (#865599)
|
- Look into maven.repo.local first to handle corner-case packages (#865599)
|
||||||
- Finish handling of compatibility packages
|
- Finish handling of compatibility packages
|
||||||
|
Loading…
Reference in New Issue
Block a user