You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2008/10/29 13:56:28 UTC
BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Hi,
Just checked out the sources for sca-java and run across BUILD
FAILURE: package org.jdom does not exist for modules\binding-feed.
What's wrong?
[INFO] Building Apache Tuscany SCA Atom+RSS Feed Binding Extension
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\oss\tuscany-sca\modules\binding-feed\target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'rome:rome:pom:0.9:compile' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project
rome:rome at C:\.m2\rome\rome\0.9\rome-0.9.po
m
[INFO] [compiler:compile]
[INFO] Compiling 21 source files to
C:\oss\tuscany-sca\modules\binding-feed\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\oss\tuscany-sca\modules\binding-feed\src\main\java\org\apache\tuscany\sca\binding\feed\provider\AtomFeedEntryUtil.java:[29,16]
package org.jdom does not exist
C:\oss\tuscany-sca\modules\binding-feed\src\main\java\org\apache\tuscany\sca\binding\feed\provider\AtomFeedEntryUtil.java:[30,16]
package org.jdom does not exist
C:\oss\tuscany-sca\modules\binding-feed\src\main\java\org\apache\tuscany\sca\binding\feed\provider\AtomFeedEntryUtil.java:[31,16]
package org.jdom does not exist
C:\oss\tuscany-sca\modules\binding-feed\src\main\java\org\apache\tuscany\sca\binding\feed\provider\AtomFeedEntryUtil.java:[32,22]
package org.jdom.input does not exist
C:\oss\tuscany-sca\modules\binding-feed\src\main\java\org\apache\tuscany\sca\binding\feed\provider\AtomFeedEntryUtil.java:[33,23]
package org.jdom.output does not exist
...
jlaskowski@work /cygdrive/c/oss/tuscany-sca
$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
jlaskowski@work /cygdrive/c/oss/tuscany-sca
$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/tuscany/java/sca
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 708887
Node Kind: directory
Schedule: normal
Last Changed Author: lresende
Last Changed Rev: 707769
Last Changed Date: 2008-10-25 00:32:21 +0200 (Sat, 25 Oct 2008)
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
Re: BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Thu, Oct 30, 2008 at 12:04 PM, Simon Laws <si...@googlemail.com> wrote:
> I have to do a full build a little later so I'll let you know if I see the
> same.
I applied the patch to modules/pom.xml as other modules used it too.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
Re: BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Thu, Oct 30, 2008 at 12:24 PM, ant elder <an...@gmail.com> wrote:
> Looking at the pom.xml's binding-feed has a dependency on rome, and the rome
> pom.xml defines a dependency on jdom, so jdom should be pulled in as a
> transitive dependency. Not sure why this isn't happening for you, which
> version of Maven are you using, i'm on 2.0.7?
$ mvn -version
Maven version: 2.0.9
Java version: 1.5.0_14
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
Re: BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Posted by ant elder <an...@gmail.com>.
On Thu, Oct 30, 2008 at 11:04 AM, Simon Laws <si...@googlemail.com>wrote:
>
>
> On Thu, Oct 30, 2008 at 10:56 AM, Jacek Laskowski <ja...@laskowski.net.pl>wrote:
>
>> On Wed, Oct 29, 2008 at 1:56 PM, Jacek Laskowski <ja...@laskowski.net.pl>
>> wrote:
>>
>> > Just checked out the sources for sca-java and run across BUILD
>> > FAILURE: package org.jdom does not exist for modules\binding-feed.
>> > What's wrong?
>>
>> Right after I applied the following patch I could build the sources.
>> Is it only me who runs across it?
>>
>> jlaskowski@work /cygdrive/c/oss/tuscany-sca/modules/binding-feed
>> $ svn diff pom.xml
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml (revision 709106)
>> +++ pom.xml (working copy)
>> @@ -140,6 +140,12 @@
>> </exclusion>
>> </exclusions>
>> </dependency>
>> +
>> +<dependency>
>> + <groupId>org.jdom</groupId>
>> + <artifactId>jdom</artifactId>
>> + <version>1.1</version>
>> +</dependency>
>>
>> </dependencies>
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>>
>
> Hi Jacek
>
> I have to do a full build a little later so I'll let you know if I see the
> same.
>
> Simon
This is working ok for me.
Looking at the pom.xml's binding-feed has a dependency on rome, and the rome
pom.xml defines a dependency on jdom, so jdom should be pulled in as a
transitive dependency. Not sure why this isn't happening for you, which
version of Maven are you using, i'm on 2.0.7?
...ant
Re: BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Posted by Simon Laws <si...@googlemail.com>.
On Thu, Oct 30, 2008 at 10:56 AM, Jacek Laskowski <ja...@laskowski.net.pl>wrote:
> On Wed, Oct 29, 2008 at 1:56 PM, Jacek Laskowski <ja...@laskowski.net.pl>
> wrote:
>
> > Just checked out the sources for sca-java and run across BUILD
> > FAILURE: package org.jdom does not exist for modules\binding-feed.
> > What's wrong?
>
> Right after I applied the following patch I could build the sources.
> Is it only me who runs across it?
>
> jlaskowski@work /cygdrive/c/oss/tuscany-sca/modules/binding-feed
> $ svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 709106)
> +++ pom.xml (working copy)
> @@ -140,6 +140,12 @@
> </exclusion>
> </exclusions>
> </dependency>
> +
> +<dependency>
> + <groupId>org.jdom</groupId>
> + <artifactId>jdom</artifactId>
> + <version>1.1</version>
> +</dependency>
>
> </dependencies>
>
> Jacek
>
> --
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>
Hi Jacek
I have to do a full build a little later so I'll let you know if I see the
same.
Simon
Re: BUILD FAILURE: package org.jdom does not exist for modules\binding-feed
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Wed, Oct 29, 2008 at 1:56 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> Just checked out the sources for sca-java and run across BUILD
> FAILURE: package org.jdom does not exist for modules\binding-feed.
> What's wrong?
Right after I applied the following patch I could build the sources.
Is it only me who runs across it?
jlaskowski@work /cygdrive/c/oss/tuscany-sca/modules/binding-feed
$ svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml (revision 709106)
+++ pom.xml (working copy)
@@ -140,6 +140,12 @@
</exclusion>
</exclusions>
</dependency>
+
+<dependency>
+ <groupId>org.jdom</groupId>
+ <artifactId>jdom</artifactId>
+ <version>1.1</version>
+</dependency>
</dependencies>
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl