You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by Simone Tripodi <si...@apache.org> on 2014/03/07 12:27:38 UTC

[parent] lates cobertura breaks parent build on Mac OS X

Hi all mates,

I wanted to prepare a new parent release, when I stumbled in the following
error:

[ERROR] Failed to execute goal
org.codehaus.mojo:cobertura-maven-plugin:2.6:clean (default) on project
org.apache.onami.parent: Execution default of goal
org.codehaus.mojo:cobertura-maven-plugin:2.6:clean failed: Plugin
org.codehaus.mojo:cobertura-maven-plugin:2.6 or one of its dependencies
could not be resolved: Could not find artifact com.sun:tools:jar:0 at
specified path
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
-> [Help 1]

my environment has this settings:

$ mvn -version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
14:51:28+0100)
Maven home: /Applications/apache-maven-3.0.5
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"

Do you have any hint?
TIA and have a nice weekend!
-Simo

http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi

Re: [parent] lates cobertura breaks parent build on Mac OS X

Posted by Simone Tripodi <si...@apache.org>.
+1 :)

I would be also a little reluctant ATM to upgrade the Java version
since Guice 3.0 still supports Java6...

Have a nice day, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi


On Tue, Mar 11, 2014 at 11:18 PM, Olivier Lamy <ol...@apache.org> wrote:
> Remember guys we have a SonarQube instance running
> https://analysis.apache.org/dashboard/index/120496
> Perso I find that redundant to use cobertura etc here.
> IMHO Builds must be simple :-)
>
>
> On 7 March 2014 22:47, nino martinez wael <ni...@gmail.com>wrote:
>
>> Id try the latest maven version.. and IF that did not work upgrade to
>> latest java ontop..
>> On 7 Mar 2014 12:28, "Simone Tripodi" <si...@apache.org> wrote:
>>
>> > Hi all mates,
>> >
>> > I wanted to prepare a new parent release, when I stumbled in the
>> following
>> > error:
>> >
>> > [ERROR] Failed to execute goal
>> > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean (default) on project
>> > org.apache.onami.parent: Execution default of goal
>> > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean failed: Plugin
>> > org.codehaus.mojo:cobertura-maven-plugin:2.6 or one of its dependencies
>> > could not be resolved: Could not find artifact com.sun:tools:jar:0 at
>> > specified path
>> >
>> >
>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
>> > -> [Help 1]
>> >
>> > my environment has this settings:
>> >
>> > $ mvn -version
>> > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
>> > 14:51:28+0100)
>> > Maven home: /Applications/apache-maven-3.0.5
>> > Java version: 1.6.0_65, vendor: Apple Inc.
>> > Java home:
>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>> > Default locale: en_US, platform encoding: MacRoman
>> > OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
>> >
>> > Do you have any hint?
>> > TIA and have a nice weekend!
>> > -Simo
>> >
>> > http://people.apache.org/~simonetripodi/
>> > http://twitter.com/simonetripodi
>> >
>>
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: [parent] lates cobertura breaks parent build on Mac OS X

Posted by nino martinez wael <ni...@gmail.com>.
Agreed and i forgot
On 11 Mar 2014 23:18, "Olivier Lamy" <ol...@apache.org> wrote:

> Remember guys we have a SonarQube instance running
> https://analysis.apache.org/dashboard/index/120496
> Perso I find that redundant to use cobertura etc here.
> IMHO Builds must be simple :-)
>
>
> On 7 March 2014 22:47, nino martinez wael <nino.martinez.wael@gmail.com
> >wrote:
>
> > Id try the latest maven version.. and IF that did not work upgrade to
> > latest java ontop..
> > On 7 Mar 2014 12:28, "Simone Tripodi" <si...@apache.org> wrote:
> >
> > > Hi all mates,
> > >
> > > I wanted to prepare a new parent release, when I stumbled in the
> > following
> > > error:
> > >
> > > [ERROR] Failed to execute goal
> > > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean (default) on project
> > > org.apache.onami.parent: Execution default of goal
> > > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean failed: Plugin
> > > org.codehaus.mojo:cobertura-maven-plugin:2.6 or one of its dependencies
> > > could not be resolved: Could not find artifact com.sun:tools:jar:0 at
> > > specified path
> > >
> > >
> >
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
> > > -> [Help 1]
> > >
> > > my environment has this settings:
> > >
> > > $ mvn -version
> > > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da;
> 2013-02-19
> > > 14:51:28+0100)
> > > Maven home: /Applications/apache-maven-3.0.5
> > > Java version: 1.6.0_65, vendor: Apple Inc.
> > > Java home:
> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> > > Default locale: en_US, platform encoding: MacRoman
> > > OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
> > >
> > > Do you have any hint?
> > > TIA and have a nice weekend!
> > > -Simo
> > >
> > > http://people.apache.org/~simonetripodi/
> > > http://twitter.com/simonetripodi
> > >
> >
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

Re: [parent] lates cobertura breaks parent build on Mac OS X

Posted by Olivier Lamy <ol...@apache.org>.
Remember guys we have a SonarQube instance running
https://analysis.apache.org/dashboard/index/120496
Perso I find that redundant to use cobertura etc here.
IMHO Builds must be simple :-)


On 7 March 2014 22:47, nino martinez wael <ni...@gmail.com>wrote:

> Id try the latest maven version.. and IF that did not work upgrade to
> latest java ontop..
> On 7 Mar 2014 12:28, "Simone Tripodi" <si...@apache.org> wrote:
>
> > Hi all mates,
> >
> > I wanted to prepare a new parent release, when I stumbled in the
> following
> > error:
> >
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean (default) on project
> > org.apache.onami.parent: Execution default of goal
> > org.codehaus.mojo:cobertura-maven-plugin:2.6:clean failed: Plugin
> > org.codehaus.mojo:cobertura-maven-plugin:2.6 or one of its dependencies
> > could not be resolved: Could not find artifact com.sun:tools:jar:0 at
> > specified path
> >
> >
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
> > -> [Help 1]
> >
> > my environment has this settings:
> >
> > $ mvn -version
> > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> > 14:51:28+0100)
> > Maven home: /Applications/apache-maven-3.0.5
> > Java version: 1.6.0_65, vendor: Apple Inc.
> > Java home:
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> > Default locale: en_US, platform encoding: MacRoman
> > OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
> >
> > Do you have any hint?
> > TIA and have a nice weekend!
> > -Simo
> >
> > http://people.apache.org/~simonetripodi/
> > http://twitter.com/simonetripodi
> >
>



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: [parent] lates cobertura breaks parent build on Mac OS X

Posted by nino martinez wael <ni...@gmail.com>.
Id try the latest maven version.. and IF that did not work upgrade to
latest java ontop..
On 7 Mar 2014 12:28, "Simone Tripodi" <si...@apache.org> wrote:

> Hi all mates,
>
> I wanted to prepare a new parent release, when I stumbled in the following
> error:
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:cobertura-maven-plugin:2.6:clean (default) on project
> org.apache.onami.parent: Execution default of goal
> org.codehaus.mojo:cobertura-maven-plugin:2.6:clean failed: Plugin
> org.codehaus.mojo:cobertura-maven-plugin:2.6 or one of its dependencies
> could not be resolved: Could not find artifact com.sun:tools:jar:0 at
> specified path
>
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
> -> [Help 1]
>
> my environment has this settings:
>
> $ mvn -version
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> 14:51:28+0100)
> Maven home: /Applications/apache-maven-3.0.5
> Java version: 1.6.0_65, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
>
> Do you have any hint?
> TIA and have a nice weekend!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://twitter.com/simonetripodi
>