https://bugzilla.redhat.com/show_bug.cgi?id=894413

--- Comment #26 from gil cattaneo <[email protected]> ---
(In reply to Marcin.Dulak from comment #25)

> I have noticed that htmlcleaner is under
> /usr/share/java/htmlcleaner/htmlcleaner.jar and not as usually under
> /usr/share/java - is it a new
> convention of %mvn_install?

you can used in htmlcleaner spec file

%mvn_file :%{name} %{name}

%build

%mvn_build

%install
%mvn_install

JAR will be in %{_javadir}/%{name}.jar

or


%mvn_file :%{name} %{name}/%{name} %{name}

%mvn_install will then install JAR file for artifact "any_groupId:%{name}" to
the
location %{_javadir}/%{name}/%{name}.jar and it will also create symlink
%{_javadir}/%{name}.jar

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=tEtQSYjdpM&a=cc_unsubscribe
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to