felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Gilmer <kgil...@gmail.com>
Subject Re: Cannot build project from source
Date Tue, 28 Jul 2015 18:09:30 GMT
Thanks Guys,

  I updated my local repo and was able to get further.  At one point I had
license violations from apache-rat-plugin but determined that I could
disable the check.  After building some more I got the following errors.
With searching I was unable to find a resolution...  LMK if anyone has seen
this before or has an idea on how to resolve it.

TIA
ken

     [exec] [INFO]
-------------------------------------------------------------
     [exec] [ERROR] COMPILATION ERROR :
     [exec] [INFO]
-------------------------------------------------------------
     [exec] [ERROR]
/Users/kggilmer/dev/repos/felix/framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:[224,9]
reference to assertEquals is ambiguous
     [exec]   both method assertEquals(java.lang.String,long,long) in
org.junit.Assert and method
assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in
org.junit.Assert match
     [exec] [ERROR]
/Users/kggilmer/dev/repos/felix/framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:[227,9]
reference to assertEquals is ambiguous
     [exec]   both method assertEquals(java.lang.String,long,long) in
org.junit.Assert and method
assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in
org.junit.Assert match
     [exec] [ERROR]
/Users/kggilmer/dev/repos/felix/framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:[293,9]
reference to assertEquals is ambiguous
     [exec]   both method assertEquals(java.lang.String,long,long) in
org.junit.Assert and method
assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in
org.junit.Assert match
     [exec] [ERROR]
/Users/kggilmer/dev/repos/felix/framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:[360,9]
reference to assertEquals is ambiguous
     [exec]   both method assertEquals(java.lang.String,long,long) in
org.junit.Assert and method
assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in
org.junit.Assert match
     [exec] [ERROR]
/Users/kggilmer/dev/repos/felix/framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:[363,9]
reference to assertEquals is ambiguous
     [exec]   both method assertEquals(java.lang.String,long,long) in
org.junit.Assert and method
assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in
org.junit.Assert match
     [exec] [INFO] 5 errors
...
     [exec] [INFO] Apache Felix Resolver ..............................
SUCCESS [  6.979 s]
     [exec] [INFO] Apache Felix Framework .............................
FAILURE [  2.712 s]
     [exec] [INFO] Apache Felix Main ..................................
SKIPPED
...
7831c1cc2448:felix kggilmer$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/
7831c1cc2448:felix kggilmer$ echo $MAVEN_OPTS
-Drat.ignoreErrors=true
7831c1cc2448:felix kggilmer$ mvn --version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06;
2015-04-22T04:57:37-07:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.4", arch: "x86_64", family: "mac"

On Mon, Jul 27, 2015 at 2:08 PM, Pierre De Rop <pierre.derop@gmail.com>
wrote:

> Hello Ken,
>
> oops, yes, Marcel is right: I forgot to remove the dependencymanager from
> the toplevel pom.xml (DM is now built using bndtools instead of maven).
>
> I just committed in rv 1692952 the toplevel pom.xml.
>
> I also added the resolver module in the toplevel pom.xml (the framework is
> now dependending on it).
>
> Now, I think there is one remaining issue (see [1]): the framework is
> currently needing java8 to build. So, for now, please try again, but using
> java8.
>
> cheers;
> /Pierre
>
> [1] http://www.mail-archive.com/dev@felix.apache.org/msg37248.html
>
> On Mon, Jul 27, 2015 at 10:26 PM, Marcel Offermans <
> marcel.offermans@luminis.nl> wrote:
>
> > On 27 Jul 2015 at 20:11:02 , Ken Gilmer (kgilmer@gmail.com) wrote:
> > /Users/kggilmer/dev/repos/felix/dependencymanager/pom.xml of
> > /Users/kggilmer/dev/repos/felix/pom.xml does not exist @
> > [exec] @
> > Dependency Manager no longer uses a Maven based build, so it should
> > probably be excluded from a list somewhere.
> >
> > Greetings, Marcel
> >
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message