geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4757) "java.lang.IllegalStateException" error when use install-plugin goal
Date Tue, 21 Jul 2009 06:23:14 GMT
"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: viola.lu
            Priority: Minor


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.


Mime
View raw message