fedora-java / javapackages

Macros and scripts for Java packaging support
Other
7 stars 15 forks source link

Add macro to simplify making dependent collections #43

Closed msimacek closed 7 years ago

msimacek commented 7 years ago

The metapackage now only needs:

%install
%{scl_install}
%{scl_install_java}
...
%files runtime -f .java-filelist
%{scl_files}

Configuration files are installed from templates. I verified that regular maven builds and installations work, but I still need to check ivy and eclipse.

codecov-io commented 7 years ago

Codecov Report

Merging #43 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #43   +/-   ##
=======================================
  Coverage   89.75%   89.75%           
=======================================
  Files          44       44           
  Lines        3154     3154           
=======================================
  Hits         2831     2831           
  Misses        323      323

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0635100...8296e3a. Read the comment docs.

msimacek commented 7 years ago

I think this is mostly ready. @mizdebsk can you please review it and I'll take care of the testing?

msimacek commented 7 years ago

If you want to try it, you can use example collection from https://github.com/fedora-java/example-java1. I added a build script that can be used for testing. It takes a mock config that needs to contain repo with maven collection and builds all the packages using mock[chain] in correct order.