Regenerate BR; install everything except bundles

This commit is contained in:
Michal Srb 2015-01-20 08:27:59 +01:00
parent 8cdf8849c4
commit a0175266f4

View File

@ -9,26 +9,27 @@ URL: http://jaxb.java.net
Source0: https://jaxb.java.net/%{version}/jaxb-ri-%{version}.src.zip Source0: https://jaxb.java.net/%{version}/jaxb-ri-%{version}.src.zip
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: codemodel BuildRequires: mvn(args4j:args4j)
BuildRequires: istack-commons BuildRequires: mvn(com.google.code.javaparser:javaparser)
BuildRequires: relaxngcc BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
BuildRequires: xml-commons-resolver BuildRequires: mvn(com.sun.istack:istack-commons-tools)
BuildRequires: txw2 BuildRequires: mvn(com.sun:tools)
BuildRequires: relaxngDatatype BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
BuildRequires: glassfish-dtd-parser BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
BuildRequires: glassfish-jaxb-api BuildRequires: mvn(com.sun.xsom:xsom)
BuildRequires: glassfish-fastinfoset BuildRequires: mvn(junit:junit)
BuildRequires: jing BuildRequires: mvn(net.java.dev.msv:msv-core)
BuildRequires: stax-ex BuildRequires: mvn(net.java:jvnet-parent:pom:)
BuildRequires: isorelax BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: xsom BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: rngom BuildRequires: mvn(org.apache.maven.plugins:maven-deploy-plugin)
BuildRequires: javaparser BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: args4j BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: args4j-tools BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: maven-site-plugin BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
BuildRequires: maven-dependency-plugin BuildRequires: mvn(org.jvnet.staxex:stax-ex)
BuildRequires: maven-shade-plugin BuildRequires: mvn(relaxngDatatype:relaxngDatatype)
BuildRequires: mvn(xmlunit:xmlunit)
BuildArch: noarch BuildArch: noarch
@ -43,9 +44,9 @@ This package contains the API documentation for %{name}.
%prep %prep
%setup -q -c %setup -q -c
# uses very old args4j # uses very old args4j
%pom_disable_module compiler txw %pom_disable_module compiler txw
%pom_disable_module bundles
%pom_remove_dep com.sun:tools %pom_remove_dep com.sun:tools
%pom_add_dep_mgmt com.sun:tools %pom_add_dep_mgmt com.sun:tools
@ -58,23 +59,13 @@ This package contains the API documentation for %{name}.
%pom_remove_plugin :gfnexus-maven-plugin %pom_remove_plugin :gfnexus-maven-plugin
%pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-site-plugin
%pom_remove_dep org.glassfish.jaxb:jaxb-runtime bundles/runtime %mvn_alias org.glassfish.jaxb:jaxb-runtime "com.sun.xml.bind:jaxb-impl"
%pom_remove_dep org.glassfish.jaxb:jaxb-jxc bundles/jxc %mvn_alias org.glassfish.jaxb:jaxb-xjc "com.sun.xml.bind:jaxb-xjc"
%mvn_alias com.sun.xml.bind:jaxb-impl org.glassfish.jaxb:jaxb-runtime
%mvn_alias com.sun.xml.bind:jaxb-jxc org.glassfish.jaxb:jaxb-jxc
%build %build
%mvn_build -f -i -- -Ddev %mvn_build -f -- -Ddev
%install %install
%mvn_artifact boms/bom/pom.xml
%mvn_artifact boms/bom-ext/pom.xml
%mvn_artifact pom.xml
%mvn_artifact bundles/pom.xml
%mvn_artifact bundles/runtime/pom.xml bundles/runtime/target/jaxb-impl-%{version}.jar
%mvn_artifact bundles/jxc/pom.xml bundles/jxc/target/jaxb-jxc-%{version}.jar
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles