Why no Class-Path manifest attribute?
by Florian Weimer
It seems that a significant number of JAR files under /usr/share/java do
not declare their dependencies using the Class-Path manifest attribute.
As a result, the dependencies need to be collected manually and included
with the final link (typically, in the -classpath argument to
/usr/bin/java). This is mightily inconvenient and leaks implementation
details across Java RPM package boundaries. (I don't think
%jpackage_script does recursive linking, unlike the JVM.)
rpmlint flags usage of the Class-Path attribute:
http://fedoraproject.org/wiki/Packaging:Java#class-path-in-manifest
But why?
--
Florian Weimer / Red Hat Product Security Team
9 years, 3 months
Easymock update to version 3.2
by Mikolaj Izdebski
Until recently in Fedora we had 3 versions of easymock - 1, 2 and 3. We
have managed to update all dependencies to use the latest upstream
version -- 3.2.
easymock package was just upfdated from version 1.2 to version 3.2 and
easymock3 will be retired. easymock has virtual provides easymock3 for
now, but packages should migrate to require just "easymock" or "easymock
>= 3" when they are touched. Maven compat alias mvn(easymock:easymock)
is *not* provided.
Also note that there is license change from MIT to ASL 2.0.
This update affects Fedora 20 and later, previous versions are not affected.
--
Mikolaj Izdebski
IRC: mizdebsk
9 years, 9 months
JUnit snapshot version is packaged in fedora
by Patrick Huang
Hi guys,
I just run into a problem and noticed JUnit package in fedora seems to use a snapshot version. It breaks powermock compatibility check. It's a issue in powermock itself and I've reported it http://code.google.com/p/powermock/issues/detail?id=453 But meanwhile, just wondering what's the reason behind packaging a snapshot version?
Regards,
Patrick Huang
Senior Software Engineer
Engineering - Internationalisation
Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: +61 7 3514 8278
Fax: +61 7 3514 8199
IRC: pahuang
github: github.com/huangp
Website: www.redhat.com
9 years, 9 months
transitioning some packages
by Andy Grimm
Hi, all. As some of you know, I changed jobs 3 months ago, and since
then, I have had no time to work on keeping my java packages updated
and in line with changing packaging guidelines. I'm looking for
volunteers to take over some of these packages, and thought I would
ask this list before posting to fedora-devel. The list is below.
I'll coordinate the orphaning process for each with people who
volunteer. Thanks in advance.
XmlSchema -- Lightweight schema object model
annogen -- Java framework for JSR-175 annotations
aopalliance -- Java/J2E AOP standards
apache-commons-ognl -- Object Graph Navigation Library
apache-parent -- Parent pom file for Apache projects
aspectjweaver -- Java byte-code weaving library
avalon-framework -- Java components interfaces
avalon-logkit -- Java logging toolkit
axiom -- Axis Object Model
axis2 -- Java-based Web Services / SOAP / WSDL engine
bcel -- Byte Code Engineering Library
bsf -- Bean Scripting Framework
btm -- Bitronix Transaction Manager
derby -- Relational database implemented entirely in java
ezmorph -- Object transformation library for Java
geronimo-validation -- Geronimo implementation of JSR 303
ha-jdbc -- High-availability JDBC
hamcrest12 -- Library of matchers for building test expressions
hessian -- Java implementation of a binary protocol for web services
hibernate3 -- Relational persistence and query service
htmlunit -- A headless web browser for automated testing
htmlunit-core-js -- Rhino fork for htmlunit
jakarta-commons-httpclient -- Jakarta Commons HTTPClient implements
the client side of HTTP standards
jamonapi -- A Java monitoring API
java-uuid-generator -- A pure Java UUID generator
javassist -- The Java Programming Assistant provides simple Java
bytecode manipulation
jexcelapi -- A Java API to read, write and modify Excel spreadsheets
joda-convert -- Java library for conversion to and from standard string formats
jsilver -- A pure-Java implementation of Clearsilver
json-lib -- JSON library for Java
jtype -- A small library for working with the Java 5 type system
mule -- Mule Enterprise Service Bus Java libraries
neethi -- Web Services Policy framework
netty31 -- An asynchronous event-driven network application framework
and tools for Java
proxool -- Java connection pool library quartz -- Enterprise Job
Scheduler for Java
sablecc -- A parser generator written in Java saxon -- Java XSLT processor
tagsoup -- A SAX-compliant HTML parser written in Java
woden -- Web Service Description Language (WSDL) validating parser
wss4j -- Apache WS-Security implementation
xalan-j2 -- Java XSLT processor
xml-security -- Implementation of W3C security standards for XML
xom -- XML Pull Parser
9 years, 9 months
Mule FTBFS in rawhide
by Matt Spaulding
Hi all,
Since mule is failing to build I am attempting to update it to use the new
Java guidelines. It currently uses a depmap file to find correct
dependencies. How is this done under the new guidelines? From what I've
read it appears that simply using "%mvn_build" should work, but it fails to
resolve some dependencies.
Thanks,
Matt Spaulding
9 years, 9 months
Intention to retire xml-commons-apis12
by Mat Booth
Hi,
Would anyone object to me retiring the "xml-commons-apis12" package in F20?
It is a compatibility package that has been hanging around for years that
provides an earlier version of the APIs provided by the "xml-commons-apis"
package.
All packages that need these APIs should be requiring or buildrequiring
xml-commons-apis instead. The last remaining package in F20 that used this
package was axis and I have just committed a patch for the that allows it
to build against the newer xml-commons-apis.
With no more packages in Fedora that depend on xml-commons-apis12 I would
like to retire it for F20 and later.
Mat
--
Mat Booth
http://fedoraproject.org/get-fedora
9 years, 10 months
Ivy integration
by Will Benton
Is anyone looking at ways to integrate Ivy more fully into Fedora? I ask because I'm working on packaging sbt[1], which uses Ivy for dependency management; my current approach involves patching sbt to ignore Ivy descriptor files (so it can build with RPM-managed dependencies), but this feels suboptimal and results in some other headaches. So if you're working on Ivy in Fedora (or if you're interested in talking about sbt in Fedora), I'd like to hear from you!
thanks,
wb
[1] see http://chapeau.freevariable.com/2013/08/making-fedora-a-better-place-for-... for a discussion of what this involves
9 years, 10 months
Fwd: Package: maven-ant-tasks-2.1.3-5.fc20 Tag: f20-rebuild Status: failed Built by: ausil
by Orion Poplawski
I'd appreciate any help anyone could give with this. I can't figure out
what is up.
[ERROR]
/export/home/orion/fedora/maven-ant-tasks/maven-ant-tasks-2.1.4/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java:[69,33]
package org.codehaus.plexus.embed does not exist
[ERROR]
/export/home/orion/fedora/maven-ant-tasks/maven-ant-tasks-2.1.4/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java:[519,21]
cannot find symbol
symbol: class Embedder
location: class org.apache.maven.artifact.ant.AbstractArtifactTask
But in the pom.xml:
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>1.0-alpha-9-stable-1</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
I tried the latest svn for maven-ant-tasks, but still the same error.
-------- Original Message --------
Subject: Package: maven-ant-tasks-2.1.3-5.fc20 Tag: f20-rebuild Status:
failed Built by: ausil
Date: Sat, 3 Aug 2013 10:18:30 +0000 (UTC)
From: Fedora Koji Build System <buildsys(a)fedoraproject.org>
To: ausil(a)fedoraproject.org, orion(a)fedoraproject.org
Package: maven-ant-tasks-2.1.3-5.fc20
Tag: f20-rebuild
Status: failed
Built by: ausil
ID: 443393
Started: Sat, 03 Aug 2013 09:59:46 UTC
Finished: Sat, 03 Aug 2013 10:18:17 UTC
maven-ant-tasks-2.1.3-5.fc20 (443393) failed on
buildvm-08.phx2.fedoraproject.org (noarch),
arm04-builder11.arm.fedoraproject.org (noarch):
BuildError: error building package (arch noarch), mock exited with
status 1; see build.log for more information
SRPMS:
maven-ant-tasks-2.1.3-5.fc20.src.rpm
Failed tasks:
-------------
Task 5711633 on buildvm-08.phx2.fedoraproject.org
Task Type: build (f20-rebuild,
/maven-ant-tasks:266e25776f98bb051fcc9c0934424f32e1d4053d)
Task 5712793 on arm04-builder11.arm.fedoraproject.org
Task Type: buildArch (maven-ant-tasks-2.1.3-5.fc20.src.rpm, noarch)
logs:
http://koji.fedoraproject.org/koji/getfile?taskID=5712793&name=build.log
http://koji.fedoraproject.org/koji/getfile?taskID=5712793&name=mock_outpu...
http://koji.fedoraproject.org/koji/getfile?taskID=5712793&name=root.log
http://koji.fedoraproject.org/koji/getfile?taskID=5712793&name=state.log
Closed tasks:
-------------
Task 5712649 on buildvm-08.phx2.fedoraproject.org
Task Type: buildSRPMFromSCM
(/maven-ant-tasks:266e25776f98bb051fcc9c0934424f32e1d4053d)
logs:
http://koji.fedoraproject.org/koji/getfile?taskID=5712649&name=build.log
http://koji.fedoraproject.org/koji/getfile?taskID=5712649&name=checkout.log
http://koji.fedoraproject.org/koji/getfile?taskID=5712649&name=mock_outpu...
http://koji.fedoraproject.org/koji/getfile?taskID=5712649&name=root.log
http://koji.fedoraproject.org/koji/getfile?taskID=5712649&name=state.log
Task Info: http://koji.fedoraproject.org/koji/taskinfo?taskID=5711633
Build Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=443393
9 years, 10 months