Commit Graph

16 Commits

Author SHA1 Message Date
Stanislav Ochotnicky
19395ab0e3 Add support for custom jar/pom/fragment directories 2012-11-09 13:26:13 +01:00
Stanislav Ochotnicky
4ee764f3d3 Make sure we look for requested pom file and not resolved 2012-10-19 09:39:08 +02:00
Stanislav Ochotnicky
ab2f71a525 Finalize support for compatibility packages
Now our resolvers will correctly handle multiple packages providing identical
GAs provided that just one has unversioned jar. Packages wanting to use
non-defaul GAV will have to either specify that exactly, or ask given package to
add additional compat version mapping manually (-v switch for add_maven_depmap)
2012-10-18 15:51:02 +02:00
Stanislav Ochotnicky
9b93db7e10 Add looking into maven.repo.local before other places
We want to look into .m2 cache just in case we already have an artifact
there. This can help with fixing builds and testing new things. It also fixes
problems encountered by few projects that require themselves
2012-10-18 09:40:36 +02:00
Stanislav Ochotnicky
6456c72388 Fix exit code of mvn-rpmbuild outside of mock
- Make sure we look for original asked-for version first
  version variable can be overwritten later in the function so we make
  sure to use the original value
2012-07-25 10:40:34 +02:00
Mikolaj Izdebski
ebf5130c1b Implement resolver logging 2012-06-12 16:22:47 +02:00
Stanislav Ochotnicky
776e9e4437 Use unversioned jar/pom only if versioned file doesn't exist
- This will allow simple way to add different version of the same
  artifact if needed
2012-01-31 15:55:00 +01:00
Stanislav Ochotnicky
cbb4efd11d Update to latest upstream version 2012-01-31 15:55:00 +01:00
Stanislav Ochotnicky
b755aadc15 Add resolving from jnidir and java-jni 2011-07-04 14:25:55 +02:00
Stanislav Ochotnicky
3b2966e851 Fix handling of fallback default_poms
- Add empty-dep into maven package to not require maven2 version
2011-06-22 12:03:54 +02:00
Stanislav Ochotnicky
a170a2aaad Resolve poms also from /usr/share/maven-poms
This will enable us to move fragments from etc
2011-06-10 11:17:07 +02:00
Stanislav Ochotnicky
bdbc16d2c1 Process fragments directly instead of maven2-depmap.xml
Fragments are also expected in /usr/share/maven-fragments where they
should be moved (backward compat preserved for now).

Big changes are due to reformatting to use spaces (sorry, cleaner
log/diff in separate resolver repo)
2011-06-10 10:33:20 +02:00
Stanislav Ochotnicky
2caba3e6ac Improve and clean up depmap handling for m2/m3 repos 2011-05-10 13:40:59 +02:00
Stanislav Ochotnicky
f5501c5008 Added mvn-rpmbuild script to be used in spec files
- mvn-local is now mixed mode (online with javadir priority)
- Changed mvn.jpp to mvn.local
2011-02-10 12:06:47 +01:00
Stanislav Ochotnicky
680881b48d Fix #667625 #667614 and #667636
- Install maven metadata so they are not downloaded when mvn is run (667625)

  repo-metadata.tar.xz will have to be updated as additional plugins need new metadata

- Make sure JavadirWorkspaceReader is used when building model (patch update)

  Needed because WorkspaceReader is not used early when building mvn project
  and this causes problems

- JavadirWorkspaceReader doesn't pretend to resolve non-existent artifacts anymore

  Instead it returns null (artifact not found) so that reactor/local resolver can work as expected
2011-01-12 11:05:29 +01:00
Stanislav Ochotnicky
1ae9fb1553 Add fedora local resolver
- Fix quoting of arguments to mvn scripts
- Add javadoc subpackage
- Make jars versionless and remove unneeded clean section
2010-12-21 15:45:43 +01:00