Hi,

might be an issue, check here [1], if it's already filed.

regards, Achikm
[1] - https://issues.apache.org/jira/browse/KARAF

2015-02-06 23:09 GMT+01:00 infiniteuniverse <[email protected]>:

> I was attempting to use the karaf-maven-plugin to add the cave-server
> feature
> to the installed features and received the following error:
>
> [WARNING] == Installing configuration file
>
> mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0/cfg/filesystem
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.681 s
> [INFO] Finished at: 2015-02-06T16:02:14-06:00
> [INFO] Final Memory: 21M/315M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.0.M1:install-kars
> (process-resources) on project leo-karaf-dist: Can not install cave-server
> feature: Illegal character in scheme name at index 0:
> [ERROR] mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0/cfg/filesystem
>
> After investigation, it appears the source of the problem is that the
> configuration file location in apache-karaf-cave has a new line at the
> beginning of it that isn't handled correctly on line 537 of
> org.apache.karaf.tooling.features.InstallKarsMojo.java in the
> installConfigFile method:
>
> String configFileLocation = configFile.getLocation();
>
> updating that line to:
>
> String configFileLocation = configFile.getLocation().trim();
>
> resolves the issue. Is this a known bug? Has it already been fixed in a
> future release, I'm using 4.0.0.M1? If not how do I go about submitting a
> ticket to get this fixed?
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/karaf-maven-plugin-config-file-installation-bug-tp4038361.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to