java - Fuse esb doesn't take settings.xml -
i want install hawtio using repository in local net typing in console osgi:install mvn:io.hawt/hawtio-web/1.2.3. repository not behind proxy. receive error:
settings.xml file:
<?xml version="1.0" encoding="utf-8"?> <settings xmlns="http://maven.apache.org/settings/1.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/settings/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <mirrors> <mirror> <id>company-nexus</id> <name>some name nexus repo</name> <mirrorof>*,!np-snapshots,!public-snapshots</mirrorof> <url>http:/mysite/nexus/content/groups/public</url> </mirror> </mirrors> <profiles> <profile> <id>companyrepo</id> <properties> <nexus.repo>mysite</nexus.repo> </properties> <pluginrepositories> <pluginrepository> <id>np-snapshots</id> <url>http://${nexus.repo}/nexus/content/groups/public</url> <releases> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> </releases> <snapshots> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> <updatepolicy>always</updatepolicy> </snapshots> </pluginrepository> <pluginrepository> <id>public-snapshots</id> <url>http://${nexus.repo}/nexus/content/groups/public_snapshots/</url> <releases> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> </releases> <snapshots> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> <updatepolicy>always</updatepolicy> </snapshots> </pluginrepository> </pluginrepositories> <repositories> <repository> <id>np-snapshots</id> <url>http://${nexus.repo}/nexus/content/groups/public/</url> <releases> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> </releases> <snapshots> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> <updatepolicy>never</updatepolicy> </snapshots> </repository> <repository> <id>public-snapshots</id> <url>http://${nexus.repo}/nexus/content/groups/public_snapshots/</url> <releases> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> </releases> <snapshots> <enabled>true</enabled> <checksumpolicy>warn</checksumpolicy> <updatepolicy>never</updatepolicy> </snapshots> </repository> </repositories> </profile> </profiles> <activeprofiles> <!--make profile active time --> <activeprofile>companyrepo</activeprofile> </activeprofiles> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>proxy.mysite</host> <port>3128</port> <username>myproxyusername</username> <password>myproxypassword</password> <nonproxyhosts>nexus.mysite</nonproxyhosts> </proxy>
org.ops4j.pax.url.mvn.cfg file: http://pastebin.com/q5gznvgx
error: http://pastebin.com/3mk7dnui
i'm using jboss-fuse-6.0.0.redhat-024
to clarify - local repository have direct access internet, , setup mirror of default fuse repositories (e.g. ones in 'org.ops4j.pax.url.mvn.repositories')?
it's useful enable debug logging believe you'll able see repositories fuse using resolve bundle (e.g. log:set debug)
personally i'd trial , error. first i'd add 'http:/mysite/nexus/content/groups/public' 'org.ops4j.pax.url.mvn.repositories' setting, remove mirror settings.xml , see if works. if does, indicates issue taking mirror settings.
Comments
Post a Comment