geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Jain" <ashja...@gmail.com>
Subject Plugin download fails from http://people.apache.org/repo/m2-snapshot-repository
Date Wed, 23 Jul 2008 08:27:48 GMT
Hi,
Trying to install plugins from plugin repository using *deploy
search-plugins*. However it throws the following error

Install Services [enter a comma separated list of numbers or 'q' to quit]:
7,9
Checking for status every 1000ms:
Downloading org.apache.tomcat/jasper/6.0.14-G614585/jar
Installation FAILED: Could not find
org.apache.tomcat/jasper/6.0.14-G614585/jar
in any repo

I made quite a bit of modifications in config.xml before starting the server
modifying the gbean *DownloadedPluginRepos *as follows

<gbean name="DownloadedPluginRepos">
            <attribute name="repositoryList">
http://geronimo.apache.org/plugins/plugin-repository-list-2.1.1.txt
</attribute>
            <attribute name="userRepositories">
http://geronimo.apache.org/plugins/geronimo-2.1.1/</attribute>
            <attribute name="downloadRepositories">
http://repo1.maven.org/maven2/</attribute>
 </gbean>

However looking at the
http://geronimo.apache.org/plugins/geronimo-2.1.1/geronimo-plugins.xml

suggests it is looking for a jasper jar of the version
*6.0.14-G614585. *However
the source repositories defined are
http://people.apache.org/repo/m2-snapshot-repository
<http://people.apache.org/repo/m2-snapshot-repository%20>
which has jars only for the version 6.0.7 and 6.0.8 and the second
repohttp://repo1.maven.org/maven2/<%20http://repo1.maven.org/maven2/>has
jars only for
6.0.14.

My questions are
1) Is this a problem with the naming convention of the required jar that is
*6.0.14-G614585 *instead of something like 6.0.14? If not than do we need to
have a section on 6.0.14 jars in
http://geronimo.apache.org/plugins/geronimo-2.1.1/geronimo-plugins.xml .
2) Are there any alternative repo's where we can download these plugins?

Also when I use the following gbean configuration which is the default
configuration with *geronimo framework*

<gbean name="DownloadedPluginRepos">
            <attribute name="repositoryList">
http://geronimo.apache.org/plugins/plugin-repository-list-2.1.txt
</attribute>
            <attribute name="userRepositories">~/.m2/repository</attribute>
</gbean>

In this case when I run *deploy search-plugins *the result is

C:\AG\gframe\geronimo-framework-2.1.1\bin>deploy search-plugins
Using GERONIMO_BASE:   C:\AG\gframe\geronimo-framework-2.1.1
Using GERONIMO_HOME:   C:\AG\gframe\geronimo-framework-2.1.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Program Files\IBM\Java50\jre
Username: system
Password: *******

Selected repository:
file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/

However we can always use *deploy search-plugins
http://geronimo.apache.org/plugins/geronimo-2.1.1. *For a new user who just
wants to setup his server using G framework it will be better if we could
point the default value to something like *
http://geronimo.apache.org/plugins/geronimo-2.1.1 *so that the geronimo
plugins list is automatically populated.


Thanks
Ashish

Mime
View raw message