The URL that should be browsable from the UI with the out-of-the-box
installation is: http://<host>:8081/artifactory
I'd also suggest you use 1.2.5-rc1, instead of rc-0.
You might want to take this to the artifactory-users list...


charliec wrote:
> 
> Hello, 
> I downloaded artifactory and executed the batch script artifactory.bat to
> start it.  I added the following to the settings.xml file:
>    <mirror>
>           <id>artifactory</id>
>           <mirrorOf>*</mirrorOf>
>           <url>http://<machine-name>:8081/artifactory/repo</url>
>           <name>Artifactory</name>
>    </mirror>
> However, when I execute Maven, I still receive the following error:
> Caused by: java.io.IOException: Server returned HTTP response code: 503
> for URL:
> 
> http://<machine-name>:8081/artifactory/repo/org/apache/maven/plugins/maven-resource
> s-plugin/maven-metadata.xml
> 
> I noticed the machine that when I try to bring up
> http://<machine-name>:8081 on the machine that has artifactory installed,
> I receive the following message:
> 
> No context on this server matched or handled this request.
> Contexts known to this server are: 
> /artifactory --->
> [EMAIL 
> PROTECTED]/artifactory,jar:file:/D:/artifactory-1.2.5-rc0/webapps/artifactory.war!/}
>  
> 
> The documentation for artifactory says to set up maven to use artifactory
> proxy, just configure a maven repository with the following URL: 
> http://[your server name]:[port]/artifactory/repo 
> 
> What do I need to accomplish this?  Thanks.
> 
> 
> 
> mmistroni wrote:
>> 
>> Hello,
>>  i m trying to do same with artifactory.. worked fine so far.. i
>> recommend u
>> have  a look at that
>> 
>> regards
>>  marco
>> 
>> On 10/23/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>>>
>>> Simply putting an HTTP server on top of your personal .m2 directory
>>> (local repo cache) is not sufficient. The metadata in a real Maven
>>> repo is different than what is in your private local repo cache.
>>>
>>> Please look at Archiva, Proximity, Artifactory, etc for a "real" Maven
>>> repo solution.
>>>
>>> Wayne
>>>
>>> On 10/23/07, charliec <[EMAIL PROTECTED]> wrote:
>>> >
>>> > Hello,
>>> > I'm trying to setup a shared repository that mirrors the central
>>> repository
>>> > so other team members can download from this repository instead of
>>> accessing
>>> > the central.  I've created a Virtaul Directory in IIS that points to
>>> my
>>> .m2
>>> > repository.  I can access this repostory on another machine via the
>>> browser
>>> > using url such as the following:  http://<machine-name>/repository. 
>>> On
>>> the
>>> > other machine, I added the following to my pom.xml file:
>>> > <repositories>
>>> >         <repository>
>>> >             <id>central</id>
>>> >             <url>http://<machine-name>/repository</url>
>>> >             name>Maven Repository Manager running on repo.company.com
>>> </name>
>>> >         <repository>
>>> >  </repositories>
>>> > <pluginRepositories>
>>> >   <pluginRepository>
>>> >    <id>central</id>
>>> >    <name>IMaven Repository Manager running on repo.company.com</name>
>>> >    <url>http://<machine-name>/repository</url>
>>> >    </pluginRepository>
>>> > </pluginRepositories>
>>> >
>>> > When I run mvn install, I receive the error below.   It doesn't even
>>> try
>>> to
>>> > access the shared repository.  Please help.  Any assistance would be
>>> greatly
>>> > appreciated.  Thanks.
>>> >
>>> >
>>> > + Error stacktraces are turned on.
>>> > Maven version: 2.0.7
>>> > Java version: 1.5.0_12
>>> > OS name: "windows xp" version: "5.1" arch: "x86"
>>> > [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
>>> and
>>> > Settin
>>> > gs\COSS\.m2\plugin-registry.xml'
>>> > [DEBUG] Building Maven global-level plugin registry from:
>>> > 'C:\maven-2.0.7\conf\p
>>> > lugin-registry.xml'
>>> > [INFO] Scanning for projects...
>>> > [INFO]
>>> >
>>> -------------------------------------------------------------------------
>>> > ---
>>> > [INFO] Building my-app
>>> > [INFO]    task-segment: [install]
>>> > [INFO]
>>> >
>>> -------------------------------------------------------------------------
>>> > ---
>>> > [INFO] artifact
>>> org.apache.maven.plugins:maven-resources-plugin:checking
>>> > for up
>>> > dates from central
>>> > [WARNING] repository metadata for: 'artifact
>>> > org.apache.maven.plugins:maven-reso
>>> > urces-plugin' could not be retrieved from repository: central due to
>>> an
>>> > error: E
>>> > rror transferring file
>>> > [INFO] Repository 'central' will be blacklisted
>>> > [DEBUG] Exception
>>> > org.apache.maven.wagon.TransferFailedException: Error transferring
>>> file
>>> >         at
>>> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
>>> > ata(LightweightHttpWagon.java:104)
>>> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>>> >         at
>>> > org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(D
>>> > efaultWagonManager.java:462)
>>> >         at
>>> > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMeta
>>> > data(DefaultWagonManager.java:363)
>>> >         at
>>> > org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada
>>> > taManager.resolveAlways(DefaultRepositoryMetadataManager.java:364)
>>> >         at
>>> > org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada
>>> > taManager.resolve(DefaultRepositoryMetadataManager.java:97)
>>> >         at
>>> > org.apache.maven.artifact.transform.AbstractVersionTransformation.res
>>> > olveVersion(AbstractVersionTransformation.java:65)
>>> >         at
>>> > org.apache.maven.artifact.transform.LatestArtifactTransformation.tran
>>> > sformForResolve(LatestArtifactTransformation.java:41)
>>> >         at
>>> > org.apache.maven.artifact.transform.DefaultArtifactTransformationMana
>>> > ger.transformForResolve(DefaultArtifactTransformationManager.java:57)
>>> >         at
>>> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
>>> > faultArtifactResolver.java:114)
>>> >         at
>>> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
>>> > faultArtifactResolver.java:73)
>>> >         at
>>> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
>>> > sitory(DefaultMavenProjectBuilder.java:526)
>>> >         at
>>> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
>>> > ry(DefaultMavenProjectBuilder.java:234)
>>> >         at
>>> > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenM
>>> > etadataSource.java:105)
>>> >         at
>>> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMe
>>> > taVersion(DefaultPluginVersionManager.java:672)
>>> >         at
>>> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
>>> > uginVersion(DefaultPluginVersionManager.java:186)
>>> >         at
>>> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
>>> > uginVersion(DefaultPluginVersionManager.java:90)
>>> >         at
>>> > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
>>> > inManager.java:166)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
>>> > ultLifecycleExecutor.java:1257)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
>>> > (DefaultLifecycleExecutor.java:1522)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
>>> > ackaging(DefaultLifecycleExecutor.java:1016)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
>>> > eMappings(DefaultLifecycleExecutor.java:980)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>>> > ltLifecycleExecutor.java:458)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>>> > dleFailures(DefaultLifecycleExecutor.java:311)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>>> > ts(DefaultLifecycleExecutor.java:278)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>>> > fecycleExecutor.java:143)
>>> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
>>> :334)
>>> >         at
>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >         at
>>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> > java:39)
>>> >         at
>>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> > sorImpl.java:25)
>>> >         at java.lang.reflect.Method.invoke(Method.java:585)
>>> >         at
>>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>> >         at
>>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>> >
>>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> > Caused by: java.io.IOException: Server returned HTTP response code:
>>> 503
>>> for
>>> > URL:
>>> >
>>> >
>>> http://dtw44087d1/repository/org/apache/maven/plugins/maven-resources-plugin/ma
>>> > ven-metadata.xml
>>> >         at
>>> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
>>> > nection.java:1170)
>>> >         at
>>> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
>>> > ata(LightweightHttpWagon.java:83)
>>> >         ... 36 more
>>> > [DEBUG] maven-resources-plugin: using locally installed snapshot
>>> > [DEBUG] Artifact not found - using stub model: Unable to determine the
>>> > latest ve
>>> > rsion
>>> >
>>> >   org.apache.maven.plugins:maven-resources-plugin:pom:LATEST
>>> >
>>> >
>>> > [DEBUG] Using defaults for missing POM
>>> > org.apache.maven.plugins:maven-resources-
>>> > plugin:pom:LATEST
>>> > [DEBUG] maven-resources-plugin: using locally installed snapshot
>>> > [DEBUG] Artifact not found - using stub model: Unable to determine the
>>> > release v
>>> > ersion
>>> >
>>> >   org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE
>>> >
>>> >
>>> > [DEBUG] Using defaults for missing POM
>>> > org.apache.maven.plugins:maven-resources-
>>> > plugin:pom:RELEASE
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [ERROR] BUILD ERROR
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin'
>>> does
>>> not
>>> > exi
>>> > st or no valid version could be found
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [DEBUG] Trace
>>> > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
>>> > 'org.apache.m
>>> > aven.plugins:maven-resources-plugin' does not exist or no valid
>>> version
>>> > could be
>>> >  found
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
>>> > ultLifecycleExecutor.java:1286)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
>>> > (DefaultLifecycleExecutor.java:1522)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
>>> > ackaging(DefaultLifecycleExecutor.java:1016)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
>>> > eMappings(DefaultLifecycleExecutor.java:980)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>>> > ltLifecycleExecutor.java:458)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>>> > dleFailures(DefaultLifecycleExecutor.java:311)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>>> > ts(DefaultLifecycleExecutor.java:278)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>>> > fecycleExecutor.java:143)
>>> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
>>> :334)
>>> >         at
>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >         at
>>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> > java:39)
>>> >         at
>>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> > sorImpl.java:25)
>>> >         at java.lang.reflect.Method.invoke(Method.java:585)
>>> >         at
>>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>> >         at
>>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>> >
>>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> > Caused by:
>>> org.apache.maven.plugin.version.PluginVersionNotFoundException:
>>> > The p
>>> > lugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist
>>> or no
>>> > val
>>> > id version could be found
>>> >         at
>>> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
>>> > uginVersion(DefaultPluginVersionManager.java:228)
>>> >         at
>>> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
>>> > uginVersion(DefaultPluginVersionManager.java:90)
>>> >         at
>>> > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
>>> > inManager.java:166)
>>> >         at
>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
>>> > ultLifecycleExecutor.java:1257)
>>> >         ... 18 more
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] Total time: 1 second
>>> > [INFO] Finished at: Tue Oct 23 09:57:15 EDT 2007
>>> > [INFO] Final Memory: 1M/2M
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > --
>>> > View this message in context:
>>> >
>>> http://www.nabble.com/Trying-to-setup-a-Maven-Shared-Repository-tf4678116s177.html#a13366367
>>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Trying-to-setup-a-Maven-Shared-Repository-tf4678116s177.html#a13374617
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to