Sigh....

Changing o.a.aries.proxy.impl version to 1.0.2 helps the bundle to built
but some test starts failing.

Failed tests:

testFrameworkResolvedBeforeInnerBundlesStart(org.apache.aries.application.runtime.itests.IsolatedRuntimeTest)

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



On Thu, Nov 14, 2013 at 10:44 AM, Albert Lee <[email protected]> wrote:

> Mark,
>
> Thanks for the hints.
>
> After update maven to 3.0.5, I was able to start building Aries. However I
> have to use:
>
> mvn -fn install
>
> per the instruction in the Aries build wiki to get around a build failure
> in the  Proxy Bundle module.
>
> [INFO] Apache Aries Proxy Service ........................ SUCCESS [4.334s]
> [INFO] Apache Aries Proxy Bundle ......................... FAILURE [0.040s]
> [INFO] Apache Aries Proxy iTests ......................... SUCCESS
> [1:52.170s]
>
> All build module complete successfully except this one with the following
> message posted at the end of the build.
>
> [INFO] Apache Aries ...................................... SUCCESS [1.163s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 38:45.332s
> [INFO] Finished at: Thu Nov 14 10:11:26 CST 2013
> [INFO] Final Memory: 777M/1000M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project org.apache.aries.proxy: Could
> not resolve dependencies for project
> org.apache.aries.proxy:org.apache.aries.proxy:bundle:1.0.2-SNAPSHOT: Fa
> ilure to find
> org.apache.aries.proxy:org.apache.aries.proxy.impl:jar:1.0.2-SNAPSHOT in
> http://snapshots.repository.codehaus.org was cached in the local
> repository, resolution will
> not be reattempted until the update interval of codehaus.snapshots has
> elapsed or updates are forced -> [Help 1]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on
> project org.apache.aries.application.runtime.isolated.itests: There are t
> est failures.
> [ERROR]
> [ERROR] Please refer to
> C:\Users\leealber\aries\aries\application\application-itests\target\surefire-reports
> for the individual test results.
> [ERROR] -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.apache.aries.proxy
> [INFO] Build failures were ignored.
>
> Is this normal? proxy\proxy-bundle\pom.xml depends on
>         <dependency>
>             <groupId>org.apache.aries.proxy</groupId>
>             <artifactId>org.apache.aries.proxy.impl</artifactId>
>             <version>1.0.2-SNAPSHOT</version>
>
> But maven repository only has 1.0.2 (i.e. not SNAPSHOT).  Once I changed
> to
>             <version>1.0.2</version>
>
> the proxy-bundle is now building.
>
> Should a JIRA be opened to get this fix?
>
> Thanks again for the help.
>
>
> On Thu, Nov 14, 2013 at 5:01 AM, mark <[email protected]> wrote:
>
>> Hi Albert,
>> Try using Maven 3.0.5. The cyclic problem occurs if your version of Maven
>> is too low (2.2.1) or too high (3.1.1).
>>
>> Regards,
>> Mark
>>
>>
>> On 13 November 2013 22:33, Albert Lee <[email protected]> wrote:
>>
>> > I downloaded svn.apache.org/repos/asf/aries/trunk and following the
>> > instructions from
>> http://aries.apache.org/development/buildingaries.htmlto
>> > build Aries project.
>> >
>> > The parent and eba-maven-plugin modules built successfully. When I
>> tried to
>> > build from the root,
>> > it failed with the following message
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] The projects in the reactor contain a cyclic reference: Edge
>> between
>> >
>> >
>> 'Vertex{label='org.apache.aries.versioning:org.apache.aries.versioning.plugin'}'
>> > and 'Vertex{label='org.
>> > apache.aries.versioning:org.apache.aries.versioning.checker'}'
>> introduces
>> > to cycle in the graph
>> > org.apache.aries.versioning:org.apache.aries.versioning.checker -->
>> > org.apache.aries
>> > :org.apache.aries.util -->
>> > org.apache.aries.versioning:org.apache.aries.versioning.plugin -->
>> > org.apache.aries.versioning:org.apache.aries.versioning.checker
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] For more information, run Maven with the -e switch
>> > [INFO]
>> > ------------------------------------------------------------------------
>> >
>> > Is this normal? How can I resolve this problem?
>> >
>> > Thanks,
>> > --
>> > Albert Lee.
>> >
>>
>
>
>
> --
> Albert Lee.
>



-- 
Albert Lee.

Reply via email to