You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2010/05/05 07:24:11 UTC

[jira] Updated: (GERONIMO-4757) "java.lang.IllegalStateException" error when use install-plugin goal

     [ https://issues.apache.org/jira/browse/GERONIMO-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-4757:
----------------------------------

    Fix Version/s: 2.2.1

> "java.lang.IllegalStateException" error when use install-plugin goal
> --------------------------------------------------------------------
>
>                 Key: GERONIMO-4757
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4757
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: geronimo-maven-plugin
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>         Environment: os:windows
>            Reporter: viola.lu
>            Assignee: Ivan
>            Priority: Minor
>             Fix For: 2.2.1
>
>         Attachments: GERONIMO-4757.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.