Hi,
I don't want to make entropy on the vote, so I report here the issues I had
while trying to build SMX 5.0.2 (and the same I had with SMX 5.0.1 and
5.1.0).

Let me anticipate that these issues are dependent on my environment where I
have some limitations, mainly I use maven behind an internal Repository
Mirror that limits access to external repos.



On my Windows and my Mac, it fails the build of the "Akka Camel" Example
and "Assembly".

[INFO] Apache ServiceMix :: Examples :: Akka :: Akka Camel  FAILURE
[18.551s]
[...]
[INFO] Apache ServiceMix :: Assembly ..................... FAILURE
[1:14.323s]
[...]
[INFO] Apache ServiceMix :: Integration Tests ............ SKIPPED


Assembly fails because it does not resolve
org.eclipse:osgi:jar:3.8.0.v20120529-1548:

[ERROR] Failed to execute goal on project apache-servicemix: Could not
resolve dependencies for project
org.apache.servicemix:apache-servicemix:pom:5.0.2: Failure to find
org.eclipse:osgi:jar:3.8.0.v20120529-1548 in
http://192.168.3.10:9081/archiva/repository/public was cached in the local
repository, resolution will not be reattempted until the update interval of
public has elapsed or updates are forced -> [Help 1]

as you can see I'm behind a Repository Mirror ->
http://192.168.3.10:9081/archiva/repository/public which has limited access
to remote repositories.
Can't org.eclipse:osgi:jar:3.8.0.v20120529-1548 be published to maven
central repo?



For the example of Akka Camel, is there any prerequisite I'm ignoring?
The project Camel Akka Example fails due to this test:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.servicemix.examples.akka.RouteBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.994 sec -
in org.apache.servicemix.examples.akka.RouteBuilderTest
Running org.apache.servicemix.examples.akka.StatsTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.002 sec
<<< FAILURE! - in org.apache.servicemix.examples.akka.StatsTest
testCountAverageAndStddev(org.apache.servicemix.examples.akka.StatsTest)
 Time elapsed: 1.002 sec  <<< FAILURE!
java.lang.AssertionError: Did not receive reporting containing
ITEM1,2,15.0000,4.8990
        at org.junit.Assert.fail(Assert.java:88)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:60)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:61)
        at
org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:56)
        at
org.apache.servicemix.examples.akka.StatsTest.testCountAverageAndStddev(StatsTest.scala:50)

Results :

Failed tests:

StatsTest.testCountAverageAndStddev:50->expectReport:56->expectReport:61->expectReport:61->expectReport:61->expectReport:61->expectReport:61->expectReport:61->expectReport:61->ex
pectReport:61->expectReport:61->expectReport:61->expectReport:60 Did not
receive reporting containing ITEM1,2,15.0000,4.8990

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0

About Akka problem, I don't know how much it is important and relevant, I
don't use Akka and don't know if the error is severe or not.

About the missing dependency to build Assembly, it affects probably only me
and it is only a problem for building the sources, but I would appreciate
if we can do something as it will give more consistency to the source code.

Hope this helps
Thank you,
Cristiano


P.S Last time (smx 5.0.0) I had the same problem with the Assembly project,
I was able to reconfigure my environment to build skipping the internal
repo mirror and it did worked, however it is time consuming and I'm much
busy now to make the switch for testing the build...

Reply via email to