The converter is fixed again. It was picking up some changes in the OSGi API that caused the build to fail. All this fun with snapshots :)
@David L you mentioned this issue to me before, but unfortunately I did not yet have time to look into it. Is there maybe a JIRA issue for this? If not, could you please add one so that I don't forget to look into it? Many thanks, David On 3 April 2017 at 12:07, David Bosschaert <[email protected]> wrote: > I'll take a look at this. Thanks for pointing this out, Guillaume. > > David > > On 3 April 2017 at 11:47, Guillaume Nodet <[email protected]> wrote: > >> I tried to build the converter bundle this morning and hit quite a few >> failures: >> >> gnodet•git/felix/converter*(*trunk*⚡**)*» mvnci >> >> [12:46:37] >> >> [INFO] Scanning for projects... >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Reactor Build Order: >> >> [INFO] >> >> [INFO] Apache Felix Converter >> >> [INFO] Apache Felix Serializer Services >> >> [INFO] Apache Felix Schematizer Service >> >> [INFO] Apache Felix Converter Reactor >> >> [INFO] >> >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Building Apache Felix Converter 0.1.0-SNAPSHOT >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] >> >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> org.apache.felix.converter --- >> >> [INFO] Deleting /Users/gnodet/work/git/felix/converter/converter/target >> >> [INFO] >> >> [INFO] --- maven-antrun-plugin:1.8:run >> (set-bundle-required-execution-environment) @ org.apache.felix.converter >> --- >> >> [INFO] Executing tasks >> >> >> main: >> >> Using felix.java.version=8 >> >> [INFO] Executed tasks >> >> [INFO] >> >> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ >> org.apache.felix.converter --- >> >> [INFO] >> >> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ >> org.apache.felix.converter --- >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >> [INFO] skip non existing resourceDirectory >> /Users/gnodet/work/git/felix/converter/converter/src/main/resources >> >> [INFO] Copying 0 resource to META-INF >> >> [INFO] Copying 3 resources >> >> [INFO] >> >> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ >> org.apache.felix.converter --- >> >> [INFO] Changes detected - recompiling the module! >> >> [INFO] Compiling 10 source files to >> /Users/gnodet/work/git/felix/converter/converter/target/classes >> >> [INFO] >> /Users/gnodet/work/git/felix/converter/converter/src/main/ja >> va/org/apache/felix/converter/impl/AdapterImpl.java: >> Some input files use unchecked or unsafe operations. >> >> [INFO] >> /Users/gnodet/work/git/felix/converter/converter/src/main/ja >> va/org/apache/felix/converter/impl/AdapterImpl.java: >> Recompile with -Xlint:unchecked for details. >> >> [INFO] >> >> [INFO] --- maven-resources-plugin:2.7:testResources >> (default-testResources) >> @ org.apache.felix.converter --- >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >> [INFO] skip non existing resourceDirectory >> /Users/gnodet/work/git/felix/converter/converter/src/test/resources >> >> [INFO] Copying 3 resources >> >> [INFO] >> >> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ >> org.apache.felix.converter --- >> >> [INFO] Changes detected - recompiling the module! >> >> [INFO] Compiling 18 source files to >> /Users/gnodet/work/git/felix/converter/converter/target/test-classes >> >> [INFO] ------------------------------------------------------------- >> >> [ERROR] COMPILATION ERROR : >> >> [INFO] ------------------------------------------------------------- >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[88,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.Integer>,(f,t)->-1) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[89,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.Long>,(f,t)->-1L) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[124,69] >> <anonymous org.apache.felix.converter.impl.ConverterBuilderTest$2> is not >> abstract and does not override abstract method >> handleError(java.lang.Object,java.lang.reflect.Type) in >> org.osgi.util.converter.ConvertFunction >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[141,11] >> no suitable method found for rule((v,t)->v.toString()) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[151,69] >> <anonymous org.apache.felix.converter.impl.ConverterBuilderTest$3> is not >> abstract and does not override abstract method >> handleError(java.lang.Object,java.lang.reflect.Type) in >> org.osgi.util.converter.ConvertFunction >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[167,11] >> no suitable method found for rule((v,t)->con[...]to(t)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[189,11] >> no suitable method found for rule((v,t)->{ s[...]ll; }) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterTest.java:[339,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.String>,(f,t)->f i[...] null) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterTest.java:[340,11] >> no suitable method found for rule(java.lang.Class<int[]>,(f,t)->f i[...] >> null) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> (cannot infer type-variable(s) T >> >> (actual and formal argument lists differ in length)) >> >> [INFO] 9 errors >> >> [INFO] ------------------------------------------------------------- >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Reactor Summary: >> >> [INFO] >> >> [INFO] Apache Felix Converter ............................. FAILURE [ >> 2.442 s] >> >> [INFO] Apache Felix Serializer Services ................... SKIPPED >> >> [INFO] Apache Felix Schematizer Service ................... SKIPPED >> >> [INFO] Apache Felix Converter Reactor ..................... SKIPPED >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] BUILD FAILURE >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 2.704 s >> >> [INFO] Finished at: 2017-04-03T12:46:42+02:00 >> >> [INFO] Final Memory: 24M/310M >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile >> (default-testCompile) on project org.apache.felix.converter: Compilation >> failure: Compilation failure: >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[88,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.Integer>,(f,t)->-1) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[89,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.Long>,(f,t)->-1L) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[124,69] >> <anonymous org.apache.felix.converter.impl.ConverterBuilderTest$2> is not >> abstract and does not override abstract method >> handleError(java.lang.Object,java.lang.reflect.Type) in >> org.osgi.util.converter.ConvertFunction >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[141,11] >> no suitable method found for rule((v,t)->v.toString()) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[151,69] >> <anonymous org.apache.felix.converter.impl.ConverterBuilderTest$3> is not >> abstract and does not override abstract method >> handleError(java.lang.Object,java.lang.reflect.Type) in >> org.osgi.util.converter.ConvertFunction >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[167,11] >> no suitable method found for rule((v,t)->con[...]to(t)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterBuilderTest.java:[189,11] >> no suitable method found for rule((v,t)->{ s[...]ll; }) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.TargetRule is not a >> functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.TargetRule)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterTest.java:[339,11] >> no suitable method found for >> rule(java.lang.Class<java.lang.String>,(f,t)->f i[...] null) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] >> /Users/gnodet/work/git/felix/converter/converter/src/test/ja >> va/org/apache/felix/converter/impl/ConverterTest.java:[340,11] >> no suitable method found for rule(java.lang.Class<int[]>,(f,t)->f i[...] >> null) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(java.lang. >> reflect.Type,org.osgi.util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (argument mismatch; org.osgi.util.converter.ConvertFunction is >> not >> a functional interface >> >> [ERROR] multiple non-overriding abstract methods found in interface >> org.osgi.util.converter.ConvertFunction)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.TargetRule<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] method >> org.osgi.util.converter.ConverterBuilder.<T>rule(org.osgi. >> util.converter.ConvertFunction<T>) >> is not applicable >> >> [ERROR] (cannot infer type-variable(s) T >> >> [ERROR] (actual and formal argument lists differ in length)) >> >> [ERROR] -> [Help 1] >> >> [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/MojoFailureException >> >> >> 2017-04-03 12:13 GMT+02:00 David Bosschaert <[email protected]>: >> >> > Hi David, >> > >> > Yes, the OSGi API is publicly available for everyone and picked up by >> the >> > build process from here: >> > https://oss.sonatype.org/content/repositories/osgi/org/ >> > osgi/org.osgi.util.converter/1.0.0-SNAPSHOT >> > >> > There is some history of snapshots but I think older ones are >> automatically >> > deleted after some time. >> > >> > If, for some reason, you need an older one, and you still have a Felix >> > Converter .jar file that worked with that one, you can actually find >> that >> > the jar file embeds the OSGi API as well. This is automatically done by >> the >> > build process. >> > The Felix Converter snapshots are pushed here: >> > https://repository.apache.org/content/groups/snapshots/org/ >> > apache/felix/org.apache.felix.converter/0.1.0-SNAPSHOT >> > >> > In any case, it might be better to migrate to the new API :) >> > >> > Cheers, >> > >> > David >> > >> > On 3 April 2017 at 09:09, David Leangen <[email protected]> wrote: >> > >> > > >> > > Hi, >> > > >> > > > I hope that's not the case. It definitely does not make sense to >> push >> > > code >> > > > for an implementation where the api itself is not accessible ;-) >> > > >> > > The API is accessible. The problem is that it is not the correct >> version, >> > > and I don’t have access (as far as I know) to the previous version, >> which >> > > is the one I need to revert to. >> > > >> > > The current version and the previous version are both exposed as: >> > > >> > > <dependency> >> > > <groupId>org.osgi</groupId> >> > > <artifactId>org.osgi.util.converter</artifactId> >> > > <version>1.0.0-SNAPSHOT</version> >> > > </dependency> >> > > >> > > Same version number, but different content. >> > > >> > > As I said, I could be wrong, but that is my current conclusion based >> on >> > > the behaviour I am seeing. >> > > >> > > >> > > Cheers, >> > > =David >> > > >> > > >> > >> >> >> >> -- >> ------------------------ >> Guillaume Nodet >> > >
