Is build broken?

35 views
Skip to first unread message

afili...@gmail.com

unread,
Feb 15, 2012, 6:35:05 PM2/15/12
to fusef...@googlegroups.com
Hello,

I'm new to a fuse fabric thing, and I'm trying to build latest version.
I cloned the repository from http://github.com/fusesource/fuse and tried to build it.
But unfortunately I've gotten:
[INFO] fabric-cxf ........................................ FAILURE [3.878s]
2012-02-15 15:03:18,409 [main           ] ERROR TestContextManager             - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d8f1be9] to prepare test instance [org.fusesource.fabric.cxf.LoadBalanceClientServerTest@7e717d91]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)[spring-test-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[junit-4.8.1.jar:]

Also I tried to build it without tests, but it is not possible too.
Result:
[INFO] fabric-bridge-zookeeper ........................... FAILURE [0.057s]
[ERROR] Failed to execute goal on project fabric-bridge-zookeeper: Could not resolve dependencies for project org.fusesource.fabric.bridge:fabric-bridge-zookeeper:bundle:99-master-SNAPSHOT: Failure to find org.fusesource.fabric.bridge:fabric-bridge:jar:tests:99-master-SNAPSHOT in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of repo1.maven has elapsed or updates are forced -> [Help 1]


afili...@gmail.com

unread,
Feb 15, 2012, 6:45:05 PM2/15/12
to fusef...@googlegroups.com
Attached logs.
logs.tar.gz

Bokde, Dhiraj

unread,
Feb 15, 2012, 6:51:08 PM2/15/12
to fusef...@googlegroups.com
Hi, 

Can you try compiling with -Dmaven.test.skip=true to skip test compilation and execution? 

Thanks,
Dhiraj. 

On Wed, Feb 15, 2012 at 3:45 PM, <afili...@gmail.com> wrote:
Attached logs.



--
Dhiraj Bokde
FuseSource 
Phone: (408) 368-3011
Email: dbo...@fusesource.com
Web: fusesource.com
Twitter: fusenews

afili...@gmail.com

unread,
Feb 15, 2012, 8:15:54 PM2/15/12
to fusef...@googlegroups.com
I already did it and included results in a log.

Result is:
Result:
[INFO] fabric-bridge-zookeeper ........................... FAILURE [0.057s]
[ERROR] Failed to execute goal on project fabric-bridge-zookeeper: Could not resolve dependencies for project org.fusesource.fabric.bridge:fabric-bridge-zookeeper:bundle:99-master-SNAPSHOT: Failure to find org.fusesource.fabric.bridge:fabric-bridge:jar:tests:99-master-SNAPSHOT in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of repo1.maven has elapsed or updates are forced -> [Help 1]

BTW
There is a workaround - build fabric-bridge fabric-bridge and then whole fuse without tests.
I guess problem lies in stream/fabric-bridge-zookeper/pom.xml:
<dependency>
        <groupId>org.fusesource.fabric.bridge</groupId>
        <artifactId>fabric-bridge</artifactId>
        <version>${project.version}</version>
        <type>test-jar</type>
        <scope>test</scope>
    </dependency>

Alex

da...@gridworkz.com

unread,
Jul 7, 2012, 3:29:46 PM7/7/12
to fusef...@googlegroups.com
Me too:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:46.509s
[INFO] Finished at: Sat Jul 07 14:51:28 EDT 2012
[INFO] Final Memory: 69M/399M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fabric-camel-dslio: Could not resolve dependencies for project org.fusesource.fabric:fabric-camel-dslio:bundle:99-master-SNAPSHOT: Could not find artifact org.apache.camel:camel-test:jar:2.9.0.fuse-70-070 in repo1.maven (http://repo1.mave

Ioannis Canellos

unread,
Jul 7, 2012, 3:45:25 PM7/7/12
to fusef...@googlegroups.com
It seems that some artifacts have not been published yet.

--
Ioannis Canellos

Twitter: iocanel


da...@gridworkz.com

unread,
Jul 7, 2012, 4:27:18 PM7/7/12
to fusef...@googlegroups.com
How do I build just the fabric-bridge as mentioned above?

Bokde, Dhiraj

unread,
Jul 9, 2012, 9:54:55 AM7/9/12
to fusef...@googlegroups.com
Hi Dave,

The error you are seeing is for camel-test, not fabric-bridge. Its not the same error. 

Regards,
Dhiraj. 
Reply all
Reply to author
Forward
0 new messages