On 23/05/13 07:02, Freeman Fang wrote:
> Hi,
> 
> FYI, KARAF-2316 get fixed, you can edit pom.xml 
> like
>               <groupId>org.apache.karaf.tooling</groupId>
>                 <artifactId>features-maven-plugin</artifactId>
> -                <version>${karaf.version}</version>
> +                <version>2.3.2-SNAPSHOT</version>
> to pick up the SNAPSHOT version to test it.

I found that in four pom.xml files, should I change all of them?

src/assemblies/apache-servicemix-minimal/pom.xml
src/assemblies/apache-servicemix-jbi/pom.xml
src/assemblies/apache-servicemix-full/pom.xml
src/assemblies/apache-servicemix/pom.xml

For a quick test, I tried changing the property in src/parent/pom.xml -
I understand that doesn't just impact the plugin version though, but it
confirms that the new Karaf resolves the error.  Would it be reasonable
to have a distinct property name for configuring the plugin version in a
central place?

> Also, another work around is add
> <repository> 
>     <id>scriptengines.googlecode.com</id> 
>     <name>Script Engines</name> 
>     <url>http://scriptengines.googlecode.com/svn/m2-repo</url> 
> </repository> 

I can confirm that this was also necessary for my build to succeed on a
box behind a proxy, without it, I get an exception.

One other thing I also found, in addition to setting -Dhttp.proxyHost
and proxyPort, it is also necessary to set the https equivalents:
https.proxyHost and https.proxyPort

With all of the above, I can successfully build behind a proxy now.

Regards,

Daniel

Reply via email to