Re: Java packages inpla Fedora

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

 



On 10/08/2010 12:03 AM, Orion Poplawski wrote:
> On 10/07/2010 02:52 PM, Guido Grazioli wrote:
>> 2010/10/7 Orion Poplawski<orion@xxxxxxxxxxxxx>:
>>> On 10/07/2010 02:07 PM, Orion Poplawski wrote:
>>> Also, it appears that commons-jexl changed it's groupId from commons-jexl for
>>> version 1.1 in F13 to org.apache.commons for 2.0.1 in F14.
>>
>>
>> There's an error in apache-commons-jexl specfile, as
>> /etc/maven/fragment entry is:
>>
>>      <maven>
>>          <groupId>org.apache.maven</groupId>
>>          <artifactId>commons-jexl</artifactId>
>>          <version>1.1</version>
>>      </maven>
>>
>> That's probably an unfortunate cut&paste from maven template
>> specfile, from java guidelines, which lists:
>>
>> %add_to_maven_depmap org.apache.maven %{name} %{version} JPP %{name}
>>
>> but should be:
>>
>> %add_to_maven_depmap %{groupId} %{name} %{version} JPP %{name}
>>
>> where %{groupId} = groupId of component packaged
>>
>> Cheers
>>
> 
> Changed groupId to commons-jexl in F13 as it is in the pom.  groupId is 
> org.apache.commons in F14+.
> 
> https://admin.fedoraproject.org/updates/apache-commons-jexl-1.1-4.fc13
> 

As for the ant:ant artifact...This seems to be incorrect groupId in the
pom.xml of package you are building. Easiest way to workaround this
without patching the pom.xml is creating depmap like this:

-----
<dependencies>
        <dependency>
          <maven>
                <groupId>ant</groupId>
                <artifactId>ant</artifactId>
          </maven>
          <jpp>
                <groupId>JPP</groupId>
                <artifactId>ant</artifactId>
          </jpp>
        </dependency>
</dependencies>
-----

and then using mvn-jpp with -Dmaven2.jpp.depmap.file=<depmap_file>

On another note you should make the package BuildArch: noarch if possible.

-- 
Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx>
Associate Software Engineer - Base Operating Systems Brno

PGP: 71A1677C
Red Hat Inc.                               http://cz.redhat.com

Attachment: signature.asc
Description: OpenPGP digital signature

--
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