Re: Suggest a good workaround for MNG-4809

2011-01-26 Thread Hari shankar
Thanks guys. That's really a neat solution. To give the real context, the problem is we do it for one of google appengine (test) jar that's not pushed to repository by them for some reasons. We use a maven appengine plugin that unpacks automatically the appengine SDK to local repository and that p

Suggest a good workaround for MNG-4809

2011-01-25 Thread Hari shankar
I have hit this bug http://jira.codehaus.org/browse/MNG-4809 Quoting it, We cannot specify variables to define a system path. Maven complains about absolute path. This is a pain which forces us to either hard code the path or use -DlocalRepository flag. Is there a way to use settings from setti

[Dependent jar path as property value] Error

2010-11-03 Thread Hari shankar
Am trying to use something like org.sonatype.tycho maven-osgi-test-plugin 0.9.0 -Xmx512M -javaagent:*${jacoco.agent.path}* =destfile=C:/coverage.exec But for some reasons, the property is NOT getti

Re: Inline Ant tasks not working - Namespace problem?

2010-11-02 Thread Hari shankar
nt.jar. If that artifact > is > not already in the repo, you need to ad it to your repo manager. > > /Anderfs > > On Tue, Nov 2, 2010 at 10:59, Hari shankar wrote: > > > I got a ant build.xml invoked properly via maven antrun plugin but when i > > define it inline, i

Inline Ant tasks not working - Namespace problem?

2010-11-02 Thread Hari shankar
I got a ant build.xml invoked properly via maven antrun plugin but when i define it inline, it doesn't work. Please assist. I think it has to do with xmlns but not sure where to define it properly. (To be specific am using a jacoco ant task for code coverage as described here

Maven 3 + site plugin + tycho

2010-10-27 Thread Hari shankar
Am using maven 3 + tycho to build eclipse plugins: i wrote a windows batch file to simulate a CI setup locally: 1. checkout projects from SVN 2. Build from parent It fails with following err: [ERROR] Failed to execute goal org.apache.maven.plugins: maven-site-plugin:3.0-be ta-2:attach-descripto

Re: Annotation @Override error - 'must override a superclass method' in eclipse

2010-07-04 Thread Hari shankar
I got it resolved. Didn't notice the project specific setting that was pointing to previous versions of JDK in compliance level (for 'domain'). Not sure when i set it up. Got fooled by General Java -> Compiler setting that said jdk 1.6. Thanks. On Sun, Jul 4, 2010 at 4:03 PM, H

Annotation @Override error - 'must override a superclass method' in eclipse

2010-07-04 Thread Hari shankar
I started experimenting with maven and came across this err. Since using @Override for a method in a class implementing interface is applicable only in java 1.6, i have a. setup java compliance level to 1.6 in eclipse b. Pref -> Compilers -> Installed JREs to JDK 1.6 c. maven pom.xml in parent ar