Re: [HELP] mvn_install doesn't install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/12/2015 05:33 PM, Alec Leamas wrote:
> Dear list,
> 
> As usual, I have problems... trying to update a package I run into this
> in %install:
> 
[...]
> - The artifact is part of .xmvn-reactor:
>    <artifact>
>       <groupId>org.harctoolbox</groupId>
>       <artifactId>HarctoolboxBundle</artifactId>
>       <extension>zip</extension>
>       <classifier>sources</classifier>
>       <version>1.0.0</version>
> 
> <path>/home/mk/rpmbuild/BUILD/harctoolboxbundle-Version-1.1.3/target/HarctoolboxBundle-1.0.0-sources.zip</path>
> 
>       <properties>
>         <type>pom</type>
>       </properties>
> 
> 
> Any hint out there why I run into this, or more exactly why the artifact
> isn't installed despite being part of xmvn-reactor?

Artifacts with non-empty classifiers (eg. attached artifacts) are not
installed by default because most commonly they are irrelevant for Fedora.

If you want to install all "sources" artefacts then it should be enough
to add the following line to %prep:

    %mvn_package :::sources:

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux