Adding JSR 354 to Nemo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding JSR 354 to Nemo

atsticks
Hi all

is it possible to add JSR 354 (money and currency) to Nemo as well? Would be great! It consists of the following modules (based on maven/ JDK 8):

API:  https://github.com/JavaMoney/jsr354-api.git
RI:   https://github.com/JavaMoney/jsr354-ri.git
Lib:   https://github.com/JavaMoney/javamoney-lib.git

That would be really a great thing and would help us to increase the JSR's quality further .

Thanks!

Best,
Anatole (Spec Lead)
Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

ehartmann
Administrator
Hi Anatole,

We are currently working on simplifying the process of adding Nemo analysis.
I've added your repositories to the list of project to be added and I'll come back to you when it's done or if we experienced issues with the analysis.

Cheers,

Eric

On 9 September 2014 00:19, atsticks <[hidden email]> wrote:
Hi all

is it *possible to add JSR 354 (money and currency) to Nemo* as well? Would
be great! It consists of the following modules (based on maven/ JDK 8):

API:   https://github.com/JavaMoney/jsr354-api.git
<https://github.com/JavaMoney/jsr354-api.git>
RI:    https://github.com/JavaMoney/jsr354-ri.git
<https://github.com/JavaMoney/jsr354-ri.git>
Lib:    https://github.com/JavaMoney/javamoney-lib.git
<https://github.com/JavaMoney/javamoney-lib.git>

That would be really a great thing and would help us to increase the JSR's
quality further .

Thanks!

Best,
Anatole (Spec Lead)




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

Olivier Gaudin-2
In reply to this post by atsticks
Hello Anatole,

I gave a try to get the 3 projects into Nemo.
- API is ok and available: http://nemo.sonarqube.org/dashboard/index?id=javax.money%3Amoney-api
- RI fails on unit tests:
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
	... 6 more
Caused by: java.lang.NoSuchFieldException: $jacocoAccess
	at java.lang.Class.getField(Class.java:1690)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
	... 9 more
FATAL ERROR in native method: processing of -javaagent failed
/bin/sh: line 1:   388 Aborted                 /opt/java/sdk/OpenJDK/jdk1.8.0_20/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.6.3.201306030806/org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=/scratch/jenkins/workspace/jsr354ri_nemoisator/target/coverage-reports/jacoco-unit.exec -jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefirebooter4163116059229707179.jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire2498005463157194381tmp /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire_0778872328301967579tmp

- javamoneylib has dependency resolution issues
[ERROR] The build could not read 7 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.javamoney.lib:javamoney-data:0.5-SNAPSHOT (/scratch/jenkins/workspace/javamoneylib_nemoisator/data/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.javamoney.lib:javamoney-lib:pom:0.5-SNAPSHOT in cloudbees-private-snapshot-repository (https://repository-sonarsource.forge.cloudbees.com/snapshot) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]

Any clue on how to resolve this?

Thanks

Olivier



On Tue, Sep 9, 2014 at 12:19 AM, atsticks <[hidden email]> wrote:
Hi all

is it *possible to add JSR 354 (money and currency) to Nemo* as well? Would
be great! It consists of the following modules (based on maven/ JDK 8):

API:   https://github.com/JavaMoney/jsr354-api.git
<https://github.com/JavaMoney/jsr354-api.git>
RI:    https://github.com/JavaMoney/jsr354-ri.git
<https://github.com/JavaMoney/jsr354-ri.git>
Lib:    https://github.com/JavaMoney/javamoney-lib.git
<https://github.com/JavaMoney/javamoney-lib.git>

That would be really a great thing and would help us to increase the JSR's
quality further .

Thanks!

Best,
Anatole (Spec Lead)




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

atsticks
i will have a look later. Api, ri and tck should work. The lib part is probably not current.

I'll come back to you.

Cheers
Anatole

-
Anatole Tresch
Glärnischweg 10
8620 Wetzikon
Tel +41 (43) 317 05 30
-
Send from Mobile

Am 01.10.2014 um 12:57 schrieb "Olivier Gaudin-2 [via SonarQube]" <[hidden email]>:

Hello Anatole,

I gave a try to get the 3 projects into Nemo.
- API is ok and available: http://nemo.sonarqube.org/dashboard/index?id=javax.money%3Amoney-api
- RI fails on unit tests:
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
	... 6 more
Caused by: java.lang.NoSuchFieldException: $jacocoAccess
	at java.lang.Class.getField(Class.java:1690)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
	... 9 more
FATAL ERROR in native method: processing of -javaagent failed
/bin/sh: line 1:   388 Aborted                 /opt/java/sdk/OpenJDK/jdk1.8.0_20/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.6.3.201306030806/org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=/scratch/jenkins/workspace/jsr354ri_nemoisator/target/coverage-reports/jacoco-unit.exec -jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefirebooter4163116059229707179.jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire2498005463157194381tmp /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire_0778872328301967579tmp

- javamoneylib has dependency resolution issues
[ERROR] The build could not read 7 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.javamoney.lib:javamoney-data:0.5-SNAPSHOT (/scratch/jenkins/workspace/javamoneylib_nemoisator/data/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.javamoney.lib:javamoney-lib:pom:0.5-SNAPSHOT in cloudbees-private-snapshot-repository (https://repository-sonarsource.forge.cloudbees.com/snapshot) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]

Any clue on how to resolve this?

Thanks

Olivier



On Tue, Sep 9, 2014 at 12:19 AM, atsticks <[hidden email]> wrote:
Hi all

is it *possible to add JSR 354 (money and currency) to Nemo* as well? Would
be great! It consists of the following modules (based on maven/ JDK 8):

API:   https://github.com/JavaMoney/jsr354-api.git
<https://github.com/JavaMoney/jsr354-api.git>
RI:    https://github.com/JavaMoney/jsr354-ri.git
<https://github.com/JavaMoney/jsr354-ri.git>
Lib:    https://github.com/JavaMoney/javamoney-lib.git
<https://github.com/JavaMoney/javamoney-lib.git>

That would be really a great thing and would help us to increase the JSR's
quality further .

Thanks!

Best,
Anatole (Spec Lead)




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028699.html
To unsubscribe from Adding JSR 354 to Nemo, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

atsticks
In reply to this post by Olivier Gaudin-2
Hi Olivier

what I can say is that from time to time the RI fails with some tests, especially when checkins go in parallel. Basically that does not make me nervous, but the error above does not seem to have any coincidence with our code. We do even not use UUID in any location of our code...? Seems more a Sonar/Jacoco whatever infrastructure related issue. For the libraries (lib) I can wait with integration until we really have time to focus on them, so focus on API/RI is more than enough as of now ;)

Cheers,
Anatole


2014-10-01 22:43 GMT+02:00 Anatole Tresch <[hidden email]>:
i will have a look later. Api, ri and tck should work. The lib part is probably not current.

I'll come back to you.

Cheers
Anatole

-
Anatole Tresch
Glärnischweg 10
8620 Wetzikon
Tel <a href="tel:%2B41%20%2843%29%20317%2005%2030" value="+41433170530" target="_blank">+41 (43) 317 05 30
-
Send from Mobile

Am 01.10.2014 um 12:57 schrieb "Olivier Gaudin-2 [via SonarQube]" <[hidden email]>:

Hello Anatole,

I gave a try to get the 3 projects into Nemo.
- API is ok and available: http://nemo.sonarqube.org/dashboard/index?id=javax.money%3Amoney-api
- RI fails on unit tests:
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
	at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
	... 6 more
Caused by: java.lang.NoSuchFieldException: $jacocoAccess
	at java.lang.Class.getField(Class.java:1690)
	at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
	... 9 more
FATAL ERROR in native method: processing of -javaagent failed
/bin/sh: line 1:   388 Aborted                 /opt/java/sdk/OpenJDK/jdk1.8.0_20/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.6.3.201306030806/org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=/scratch/jenkins/workspace/jsr354ri_nemoisator/target/coverage-reports/jacoco-unit.exec -jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefirebooter4163116059229707179.jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire2498005463157194381tmp /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire_0778872328301967579tmp

- javamoneylib has dependency resolution issues
[ERROR] The build could not read 7 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.javamoney.lib:javamoney-data:0.5-SNAPSHOT (/scratch/jenkins/workspace/javamoneylib_nemoisator/data/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.javamoney.lib:javamoney-lib:pom:0.5-SNAPSHOT in cloudbees-private-snapshot-repository (https://repository-sonarsource.forge.cloudbees.com/snapshot) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]

Any clue on how to resolve this?

Thanks

Olivier



On Tue, Sep 9, 2014 at 12:19 AM, atsticks <[hidden email]> wrote:
Hi all

is it *possible to add JSR 354 (money and currency) to Nemo* as well? Would
be great! It consists of the following modules (based on maven/ JDK 8):

API:   https://github.com/JavaMoney/jsr354-api.git
<https://github.com/JavaMoney/jsr354-api.git>
RI:    https://github.com/JavaMoney/jsr354-ri.git
<https://github.com/JavaMoney/jsr354-ri.git>
Lib:    https://github.com/JavaMoney/javamoney-lib.git
<https://github.com/JavaMoney/javamoney-lib.git>

That would be really a great thing and would help us to increase the JSR's
quality further .

Thanks!

Best,
Anatole (Spec Lead)




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028699.html
To unsubscribe from Adding JSR 354 to Nemo, click here.
NAML



--
Anatole Tresch
Java Engineer & Architect, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

Switzerland, Europe Zurich, GMT+1
Twitter:  @atsticks
Google: atsticks
Mobile  +41-76 344 62 79
Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

Olivier Gaudin-2
Hello Anatole,

Both projects are now in!

Thanks


Olivier

On Sun, Oct 5, 2014 at 4:29 PM, atsticks <[hidden email]> wrote:
Hi Olivier

what I can say is that from time to time the RI fails with some tests,
especially when checkins go in parallel. Basically that does not make me
nervous, but the error above does not seem to have any coincidence with our
code. We do even not use UUID in any location of our code...? Seems more a
Sonar/Jacoco whatever infrastructure related issue. For the libraries (lib)
I can wait with integration until we really have time to focus on them, so
focus on API/RI is more than enough as of now ;)

Cheers,
Anatole


2014-10-01 22:43 GMT+02:00 Anatole Tresch <[hidden email]>:

> i will have a look later. Api, ri and tck should work. The lib part is
> probably not current.
>
> I'll come back to you.
>
> Cheers
> Anatole
>
> -
> Anatole Tresch
> Glärnischweg 10
> 8620 Wetzikon
> Tel <a href="tel:%2B41%20%2843%29%20317%2005%2030" value="+41433170530">+41 (43) 317 05 30
> -
> Send from Mobile
>
> Am 01.10.2014 um 12:57 schrieb "Olivier Gaudin-2 [via SonarQube]" <
> [hidden email]>:
>
> Hello Anatole,
>
> I gave a try to get the 3 projects into Nemo.
> - API is ok and available:
> http://nemo.sonarqube.org/dashboard/index?id=javax.money%3Amoney-api
> - RI fails on unit tests:
>
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:483)
>       at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
>       at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
>       at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
>       at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
>       ... 6 more
> Caused by: java.lang.NoSuchFieldException: $jacocoAccess
>       at java.lang.Class.getField(Class.java:1690)
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
>       ... 9 more
> FATAL ERROR in native method: processing of -javaagent failed
> /bin/sh: line 1:   388 Aborted                 /opt/java/sdk/OpenJDK/jdk1.8.0_20/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.6.3.201306030806/org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=/scratch/jenkins/workspace/jsr354ri_nemoisator/target/coverage-reports/jacoco-unit.exec -jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefirebooter4163116059229707179.jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire2498005463157194381tmp /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire_0778872328301967579tmp
>
>
> - javamoneylib has dependency resolution issues
>
> [ERROR] The build could not read 7 projects -> [Help 1][ERROR]   [ERROR]   The project org.javamoney.lib:javamoney-data:0.5-SNAPSHOT (/scratch/jenkins/workspace/javamoneylib_nemoisator/data/pom.xml) has 1 error[ERROR]     Non-resolvable parent POM: Could not find artifact org.javamoney.lib:javamoney-lib:pom:0.5-SNAPSHOT in cloudbees-private-snapshot-repository (https://repository-sonarsource.forge.cloudbees.com/snapshot) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
>
>
> Any clue on how to resolve this?
>
> Thanks
>
> Olivier
>
>
>
> On Tue, Sep 9, 2014 at 12:19 AM, atsticks <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5028699&i=0>> wrote:
>
>> Hi all
>>
>> is it *possible to add JSR 354 (money and currency) to Nemo* as well?
>> Would
>> be great! It consists of the following modules (based on maven/ JDK 8):
>>
>> API:   https://github.com/JavaMoney/jsr354-api.git
>> <https://github.com/JavaMoney/jsr354-api.git>
>> RI:    https://github.com/JavaMoney/jsr354-ri.git
>> <https://github.com/JavaMoney/jsr354-ri.git>
>> Lib:    https://github.com/JavaMoney/javamoney-lib.git
>> <https://github.com/JavaMoney/javamoney-lib.git>
>>
>> That would be really a great thing and would help us to increase the JSR's
>> quality further .
>>
>> Thanks!
>>
>> Best,
>> Anatole (Spec Lead)
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
>> Sent from the SonarQube Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028699.html
>  To unsubscribe from Adding JSR 354 to Nemo, click here
> < > .
> NAML
> <
http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>


--
*Anatole Tresch*
Java Engineer & Architect, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

*Switzerland, Europe Zurich, GMT+1*
*Twitter:  @atsticks*
*Blogs: **http://javaremarkables.blogspot.ch/
<http://javaremarkables.blogspot.ch/>*

*Google: atsticksMobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279">+41-76 344 62 79*




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028777.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Adding JSR 354 to Nemo

atsticks
Thanks a lot! Great!

2014-10-13 6:09 GMT+02:00 Olivier Gaudin-2 [via SonarQube] <[hidden email]>:
Hello Anatole,

Both projects are now in!

Thanks


Olivier

On Sun, Oct 5, 2014 at 4:29 PM, atsticks <[hidden email]> wrote:
Hi Olivier

what I can say is that from time to time the RI fails with some tests,
especially when checkins go in parallel. Basically that does not make me
nervous, but the error above does not seem to have any coincidence with our
code. We do even not use UUID in any location of our code...? Seems more a
Sonar/Jacoco whatever infrastructure related issue. For the libraries (lib)
I can wait with integration until we really have time to focus on them, so
focus on API/RI is more than enough as of now ;)

Cheers,
Anatole


2014-10-01 22:43 GMT+02:00 Anatole Tresch <[hidden email]>:

> i will have a look later. Api, ri and tck should work. The lib part is
> probably not current.
>
> I'll come back to you.
>
> Cheers
> Anatole
>
> -
> Anatole Tresch
> Glärnischweg 10
> 8620 Wetzikon
> Tel <a href="tel:%2B41%20%2843%29%20317%2005%2030" value="<a href="tel:%2B41433170530" value="+41433170530" target="_blank">+41433170530"><a href="tel:%2B41%20%2843%29%20317%2005%2030" value="+41433170530" target="_blank">+41 (43) 317 05 30
> -
> Send from Mobile
>
> Am 01.10.2014 um 12:57 schrieb "Olivier Gaudin-2 [via SonarQube]" <
> [hidden email]>:
>
> Hello Anatole,
>
> I gave a try to get the 3 projects into Nemo.
> - API is ok and available:
> http://nemo.sonarqube.org/dashboard/index?id=javax.money%3Amoney-api
> - RI fails on unit tests:
>
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:483)
>       at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
>       at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
>       at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
>       at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
>       ... 6 more
> Caused by: java.lang.NoSuchFieldException: $jacocoAccess
>       at java.lang.Class.getField(Class.java:1690)
>       at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
>       ... 9 more
> FATAL ERROR in native method: processing of -javaagent failed
> /bin/sh: line 1:   388 Aborted                 /opt/java/sdk/OpenJDK/jdk1.8.0_20/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.6.3.201306030806/org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=/scratch/jenkins/workspace/jsr354ri_nemoisator/target/coverage-reports/jacoco-unit.exec -jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefirebooter4163116059229707179.jar /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire2498005463157194381tmp /scratch/jenkins/workspace/jsr354ri_nemoisator/target/surefire/surefire_0778872328301967579tmp
>
>
> - javamoneylib has dependency resolution issues
>
> [ERROR] The build could not read 7 projects -> [Help 1][ERROR]   [ERROR]   The project org.javamoney.lib:javamoney-data:0.5-SNAPSHOT (/scratch/jenkins/workspace/javamoneylib_nemoisator/data/pom.xml) has 1 error[ERROR]     Non-resolvable parent POM: Could not find artifact org.javamoney.lib:javamoney-lib:pom:0.5-SNAPSHOT in cloudbees-private-snapshot-repository (https://repository-sonarsource.forge.cloudbees.com/snapshot) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
>
>
> Any clue on how to resolve this?
>
> Thanks
>
> Olivier
>
>
>
> On Tue, Sep 9, 2014 at 12:19 AM, atsticks <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5028699&i=0>> wrote:
>
>> Hi all
>>
>> is it *possible to add JSR 354 (money and currency) to Nemo* as well?
>> Would
>> be great! It consists of the following modules (based on maven/ JDK 8):
>>
>> API:   https://github.com/JavaMoney/jsr354-api.git
>> <https://github.com/JavaMoney/jsr354-api.git>
>> RI:    https://github.com/JavaMoney/jsr354-ri.git
>> <https://github.com/JavaMoney/jsr354-ri.git>
>> Lib:    https://github.com/JavaMoney/javamoney-lib.git
>> <https://github.com/JavaMoney/javamoney-lib.git>
>>
>> That would be really a great thing and would help us to increase the JSR's
>> quality further .
>>
>> Thanks!
>>
>> Best,
>> Anatole (Spec Lead)
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114.html
>> Sent from the SonarQube Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028699.html
>  To unsubscribe from Adding JSR 354 to Nemo, click here
> < > .
> NAML
> <
http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>


--
*Anatole Tresch*
Java Engineer & Architect, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

*Switzerland, Europe Zurich, GMT+1*
*Twitter:  @atsticks*
*Blogs: **http://javaremarkables.blogspot.ch/
<http://javaremarkables.blogspot.ch/>*

*Google: atsticksMobile  <a href="tel:%2B41-76%20344%2062%2079" value="<a href="tel:%2B41763446279" value="+41763446279" target="_blank">+41763446279"><a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79*




--
View this message in context: http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5028777.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Adding-JSR-354-to-Nemo-tp5028114p5029025.html
To unsubscribe from Adding JSR 354 to Nemo, click here.
NAML



--
Anatole Tresch
Java Engineer & Architect, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

Switzerland, Europe Zurich, GMT+1
Twitter:  @atsticks
Google: atsticks
Mobile  +41-76 344 62 79