Commit Graph

301 Commits

Author SHA1 Message Date
Stanislav Ochotnicky
4ee764f3d3 Make sure we look for requested pom file and not resolved 2012-10-19 09:39:08 +02:00
Stanislav Ochotnicky
a7133ac4fa Look into maven.repo.local first to handle corner-case packages (#865599)
- Finish handling of compatibility packages
2012-10-18 18:20:34 +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
Mikolaj Izdebski
4e46797c53 Disable animal-sniffer on RHEL 2012-08-27 14:17:46 +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
7d259eee4b Run redundant dependency checks only in mock 2012-07-23 18:37:28 +02:00
Mikolaj Izdebski
5856826cc4 Add manual page
Manpage was created using help2man and then tweaked manually.
2012-07-17 18:32:12 +02:00
Mikolaj Izdebski
d1265ccd6f Implement experimental dependency checking 2012-06-12 16:22:51 +02:00
Mikolaj Izdebski
ebf5130c1b Implement resolver logging 2012-06-12 16:22:47 +02:00
Krzysztof Daniel
544b33ba4e Bug 824789 - Use the version if it is possible. 2012-05-24 15:03:34 +02:00
Stanislav Ochotnicky
c45bdfa272 Use Obsoletes instead of Conflicts 2012-05-14 13:57:27 +02:00
Stanislav Ochotnicky
058da9b05b Obsolete and provide maven2 2012-05-14 10:19:19 +02:00
Stanislav Ochotnicky
dd1a604bed Make package noarch again to simplify bootstrapping 2012-03-30 14:15:46 +02:00
Stanislav Ochotnicky
7dbeeb52a2 Make javadoc noarch
- Make compilation source level 1.5
2012-02-10 14:21:31 +01:00
Stanislav Ochotnicky
dc239c72e5 Add forgotten patch 2012-01-31 16:13:08 +01:00
Stanislav Ochotnicky
341ded3b4d Alphabetize BRs/Rs and add xmlunit to BRs 2012-01-31 15:55:00 +01: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
Dennis Gilmore
c6a6cf4321 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 03:22:41 -06:00
Stanislav Ochotnicky
14cb0d553e Add common poms to BR as well 2011-12-13 14:40:35 +01:00
Stanislav Ochotnicky
bc14a55bee Add maven2-common-poms to Requires 2011-12-13 14:16:28 +01:00
Stanislav Ochotnicky
fdef3da767 Provide mvn script now instead of maven2
- Conflict with older versions of maven2
2011-10-11 12:53:56 +02:00
Stanislav Ochotnicky
798c76a1e6 Remove unused file 2011-09-08 14:40:47 +02:00
Stanislav Ochotnicky
61f66c0070 Fix test scope skipping 2011-09-08 14:31:03 +02:00
Stanislav Ochotnicky
33b0a5fcd6 Add missing patch 2011-08-22 16:31:27 +02:00
Stanislav Ochotnicky
082f1a5705 Remove unnecessary deps causing problems from lib/
- Add utf-8 source encoding patch
2011-08-22 16:23:24 +02:00
Ville Skyttä
d29bb36052 Bump and rebuild for post-3.0.3-11 commit: Disable debug package creation 2011-07-30 20:44:29 +03:00
Stanislav Ochotnicky
04aab49ee7 Disable debug package creation 2011-07-28 16:44:13 +02:00
Stanislav Ochotnicky
e48a64d229 Change to arch specific since we are using _libdir for _jnidir 2011-07-28 15:32:13 +02:00
Stanislav Ochotnicky
3ace7c298b Add bash completion (#706856) 2011-07-26 16:08:34 +02:00
Stanislav Ochotnicky
b755aadc15 Add resolving from jnidir and java-jni 2011-07-04 14:25:55 +02:00
Stanislav Ochotnicky
2aea90da84 Add maven-parent to BR/R 2011-06-23 17:22:27 +02:00
Stanislav Ochotnicky
1d63307f52 Process fragments in alphabetical order 2011-06-22 17:06:41 +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
70f23c4306 Add help to mvn-rpmbuild and mvn-local (rhbz#710448) 2011-06-06 10:34:24 +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
abf9b4a49a Enable MAVEN_OPTS override in scripts 2011-04-18 10:20:16 +02:00
Stanislav Ochotnicky
49f4ff0cb6 Update to 3.0.3
- Add ext subdirectory to lib
2011-03-04 14:02:08 +01:00
Stanislav Ochotnicky
9667d78a30 Update to 3.0.3rc1
- Enable tests again
2011-03-01 15:06:46 +01: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
19154e4096 Add forgotten sources 2011-01-28 17:57:55 +01:00
Stanislav Ochotnicky
6839257333 Update to latest version (3.0.2)
- Ignore test failures temporarily
2011-01-28 17:12:57 +01:00
Stanislav Ochotnicky
0f96b0570c Fix bug #669034
this is mostly just a workaround for 669034. Seems like
plexus-container-default has some quirks that cause it to lose
version so it's set to null. Needs more looking into to fix it
properly.
2011-01-12 16:57:07 +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
0cc48e02a3 Rename mvn3-local to mvn-local
- rename patch to be sequential from git format-patch
2011-01-11 14:57:59 +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
Stanislav Ochotnicky
91ffb10ecc Initial version of the package 2010-12-03 15:38:46 +01:00