Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.4, 2.1.5, 2.2
-
Security Level: public (Regular issues)
-
None
-
os:windows
-
Patch Available
Description
1.Maven repository is c::\Documents and Settings\Administrator.IBM-B92C72F1CB7\.m2\repository,
Build plugin-farm-it plugin under plugins/clustering/pluin-farm-it
there is an execution in its pom.xml which install this plugin-farm-it plugin to maven repository
<execution>
<id>install-plugin</id>
<phase>install</phase>
<goals>
<goal>install-plugin</goal>
</goals>
<!-<configuration>->
<!-<defaultGeronimoRepository>http://geronimo.apache.org/plugins/geronimo-${version}/</defaultGeronimoRepository>->
<!-</configuration>->
</execution>
2.But when it execute install-plugin goal, there is an error:
2009-07-21 10:40:20,859 ERROR [PluginRepositoryDownloader] Unable to format plugin repository URL C:\Documents and Settings\Administrator.IBM-B92C72F1CB7\.m2\repository/
java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Documents and Settings\Administrator.IBM-B92C72F1CB7\.m2\repository/
at java.net.URI$Parser.fail(URI.java:2821)
at java.net.URI$Parser.checkChars(URI.java:2994)
at java.net.URI$Parser.parse(URI.java:3031)
at java.net.URI.<init>(URI.java:590)
at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.resolveRepository(PluginRepositoryDownloader.java:231)
at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.getSourceRepository(PluginRepositoryDownloader.java:202)
at org.apache.geronimo.system.plugin.PluginInstallerGBean.getDefaultSourceRepository(PluginInstallerGBean.java:670)
at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:713)
at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginInstallerGBean.java:885)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
Exception in thread "DefaultThreadPool 0" java.lang.IllegalStateException: Can't locate repo C:\Documents and Settings\Administrator.IBM-B92C72F1CB7\.m2\repository
at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.getSourceRepository(PluginRepositoryDownloader.java:204)
at org.apache.geronimo.system.plugin.PluginInstallerGBean.getDefaultSourceRepository(PluginInstallerGBean.java:670)
at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:713)
at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginInstallerGBean.java:885)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
It's cozed by maven repositry path containing space, which is forbidden in URI.