Re: building Merlin using Maven failure
Stephen McConnell <[email protected]> Tue, 18 Mar 2003 03:45:00 +0100
| Newsgroups | gmane.comp.jakarta.avalon.phoenix.devel |
|---|---|
| Message-ID | <[email protected]> |
sadaf zargeen wrote:
>I don't yet know much about maven but did some
>instinctive investigation. Looked over at maven.xml
>in merlin direcotry I saw two http references.
>
>One is ="http://www.ibiblio.org/maven"/>
>
This is the standard repository but its missing most of the jars you
need to buuild Merlin. The osm.net repository resolves to a local
repository on the machine about three inches from my left knee which
contains everything you need.
>
>the other: "http://www.osm.net/repository
>
>
>I get request denied message when I do a browser
>lookup on "http://www.osm.net/repository
>
That's normal. The repository isn't browsable. I've been looking at the
logs and there are a couple of things that don't make a lot of sence.
I'm seeing your build access to the repository here - but the path for
i18n seems incorrect and the path for framework seems incorrect and
incomplete.
Web logs
--------
The hit for downloading the framework jar is:
216.239.46.173 - - [17/Mar/2003:15:43:02 +0100] "GET
/repository/avalon-framework/jars/avalon- HTTP/1.0" 404 1197
This hit is incorrect on two counts - it should be: GET
/repository/avalon/jars/avalon-framework-4.1.4.jar but the path is
incorrect and the filename appears truncated.
This is the hit from the i180 jar:
216.239.46.220 - - [17/Mar/2003:10:44:11 +0100] "GET
/repository/excalibur-i18n/jars/excalibur HTTP/1.0" 404 1197
In this case the path is incorrect - it should be
/repository/excalibur/jars/excalibur-i18n-1.0.jar
Meven Dependecy Declarations
----------------------------
These are the declarations in the project.xml:
<dependencies>
<dependency>
<groupId>avalon</groupId>
<artifactId>avalon-framework</artifactId>
<version>4.1.4</version>
</dependency>
<dependency>
<groupId>excalibur</groupId>
<artifactId>excalibur-i18n</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>excalibur</groupId>
<artifactId>excalibur-configuration</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
This should translate to resolution against the local repository as:
/repository/<groupId>/<artifactId>-<version>
Jason - I think I need your help!
Cheers, Steve.
>
>the http://www.ibiblio.org/maven gives me directory
>listing of apache components and subprojects.
>
>Going into the Index of /maven/avalon-framework/jars
>I see the jar files for:
>
> avalon-framework-4.0.jar 30-Jul-2002 15:41
> 58k
> avalon-framework-4.0.jar.md5 03-Jan-2003 19:29
> 1k
> avalon-framework-4.1.3.jar 12-Jan-2003 02:22
> 62k
> avalon-framework-4.1.3.jar.md5 12-Jan-2003 02:22
> 1k
> avalon-framework-SNAPSHOT.jar 10-Feb-2003 14:07
> 71k
> avalon-framework-SNAPSHOT.jar.md5 10-Feb-2003 14:07
> 1k
>
>
>but dont see the
>avalon-framework-4.1.4.jar jar file. The
>maven/merlin build specifically makes the following
>download attempts:
>Attempting to download avalon-framework-4.1.4.jar.
>Attempting to download avalon-logkit-1.2.jar.
>Attempting to download avalon-lifecycle-1.0.jar.
>Attempting to download avalon-assembly-spi-1.0.jar.
>Attempting to download avalon-meta-spi-1.0.jar.
>Attempting to download avalon-meta-1.0.jar.
>Attempting to download excalibur-i18n-1.0.jar.
>Attempting to download
>excalibur-configuration-1.0.jar.
>Attempting to download excalibur-extension-1.0.jar.
>Attempting to download excalibur-pool-1.2.jar.
>Attempting to download
>excalibur-util-concurrent-1.3.1.jar.
>Attempting to download excalibur-event-2.0.jar.
>Attempting to download commons-collections-2.1.jar.
>
>
>
>I dont find the avalon-framework-4.1.4.jar in the
>MAVEN_HOME/repository directory anywhere.
>
>In fact these are the only jar files I see in there:
>
>me@mybox:/opt/Apache/maven-1.0-beta-8/repository$ find
>. -name "*.jar" -print
>./ant/jars/ant-1.5.1.jar
>./dom4j/jars/dom4j-1.4-dev-7.jar
>./dom4j/jars/dom4j-1.4-dev-8.jar
>./commons-jelly/jars/commons-jelly-20030211.141339.jar
>./commons-jelly/jars/commons-jelly-tags-validate-20030211.143411.jar
>./commons-jelly/jars/commons-jelly-tags-xml-20030211.142705.jar
>./commons-jelly/jars/commons-jelly-tags-jsl-20030211.143151.jar
>./commons-jelly/jars/commons-jelly-tags-log-20030211.142821.jar
>./commons-jelly/jars/commons-jelly-tags-velocity-20030211.144921.jar
>./commons-jelly/jars/commons-jelly-tags-antlr-20030211.143720.jar
>./junit/jars/junit-3.8.1.jar
>./maven/jars/maven.jar
>./xml-apis/jars/xml-apis-1.0.b2.jar
>./isorelax/jars/isorelax-20020414.jar
>./msv/jars/msv-20020414.jar
>./relaxngDatatype/jars/relaxngDatatype-20020414.jar
>./commons-grant/jars/commons-grant-1.0-beta-4.jar
>./velocity/jars/velocity-1.3.jar
>./velocity-dvsl/jars/velocity-dvsl-0.45.jar
>./xerces/jars/xerces-2.0.2.jar
>./commons-lang/jars/commons-lang-1.0-b1.1.jar
>./antlr/jars/antlrall-2.7.1.jar
>./clover/jars/clover-1.0.jar
>./commons-collections/jars/commons-collections-2.1.jar
>
>
>
>--- Stephen McConnell <[email protected]> wrote:
>
>>
>>Ummm - this is odd
>>The build is failing when attempting to compile
>>ReferenceDescriptor from
>>the meta-spi package due to an unresolved referencne
>>to the
>>org.apache.avalon.framework. However - the trace
>>indicates that the
>>framework jar has been resolved. I'm building
>>successfully but there
>>are several variables to throw into that - firstly
>>I'm using the CVS
>>version of Maven (but I don't think this is the
>>issue) - and secondly,
>>the fallback repository is on my machine (but this
>>should not be an
>>issue either).
>>
>>I'm looking into things now and should have some
>>more news shortly.
>>
>>Cheers, Steve.
>>
>>
>>sadaf zargeen wrote:
>>
>>
>>>Hi,
>>>I realize there is some restructuring of merlin
>>>
>>going
>>
>>>on but I thought I post this anyways and see if I
>>>
>>can
>>
>>>get some feedback on how to resolve it.
>>>
>>>
>
>
>snip....
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
>http://platinum.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>
>
>
--
Stephen J. McConnell
mailto:[email protected]
http://www.osm.net