Re: Not downloading dependencies from managed repository via HTTP

2007-10-01 Thread melpelotones

Hi, 

The problem is fixed: 

To get to the external internet we use an organizational http proxy, 
and in my settings.xml I had this http proxy configured.

The server where I ve installed archiva was inside the internal network,
and therefore not accesible via http via the proxy

I deactivate the proxy in settings.xml and works fine.

My fault ;)

Cheers!

Cheers.
-- 
View this message in context: 
http://www.nabble.com/Not-downloading-dependencies-from-managed-repository-via-HTTP-tf4535097s177.html#a12974844
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Not downloading dependencies from managed repository via HTTP

2007-09-28 Thread melpelotones

Hi ,

Ive set up an internal repository with archiva.

The repository is available via http because
I have made several deployments via WEBDAV without problems,
but when I declare this repository in a pom.xml to get the deployed
dependecies
something is happening:

--
[DEBUG] Trying repository snapshots
Downloading:
http://s-comm-iss-d1:/archiva/repository/snapshots//org/andromd
a/cartridges/andromda-spring-cartridge/3.3-SNAPSHOT/andromda-spring-cartridge-3.
3-SNAPSHOT.jar

[DEBUG] Skipping disabled repository central
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact f
rom any repository

  org.andromda.cartridges:andromda-spring-cartridge:pom:3.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://s-comm-iss-d1:/archiva/repository/snapshots/)
-

in the settings.xml I have got the corresponding  with the login and
password for 
accesing the repository.


If I instead  http://s-comm-iss-d1:/archiva/repository/snapshots/ 
I give the filesystem route pointing to the place where the webserver is
d:/archiva/data/repositories/snapshots/ the dependency is well downloaded.

Somebody nows what I am doing wrong?

Cheers!



The extrange thing


-- 
View this message in context: 
http://www.nabble.com/Not-downloading-dependencies-from-managed-repository-via-HTTP-tf4535097s177.html#a12942389
Sent from the Maven - Users mailing list archive at Nabble.com.


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



problem deploying snapshots

2007-09-27 Thread melpelotones

Hi, 

If somebody can help me I would be very grateful,

I am trying to deploy in a snapshot repository I set up with archiva:


1 st) In the settings.xml Ive added the following code

  
snapshots
mylogin
mypassword
  

2 nd) This is the POM of the jar that I want to deploy


4.0.0

org.andromda.cartridges
andromda-cartridges
3.3-SNAPSHOT

andromda-spring-cartridge
andromda-cartridge
AndroMDA Spring Cartridge
Generates Spring with Hibernate support



org.andromda.cartridges
andromda-meta-cartridge
${pom.version}
provided

 ...


   
   org.andromda.maven.plugins
andromda-maven-plugin  
   
  
 



  org.apache.maven.wagon
  wagon-webdav
  1.0-beta-2






org.apache.maven.plugins
maven-project-info-reports-plugin
 



   
jar:file:${src.dir}/uml/SpringMetafacadeModel.xml.zip!/SpringMetafacadeModel.xml
jar:file:${test.src.dir}/uml/SpringCartridgeTestModel.xml.zip!/SpringCartridgeTestModel.xml
 

  
 

  snapshots
  dav:http://s-comm-iss-d1:/archiva/repository/snapshots/

  

  

  snapshots
  DG COMM Snapshots Repository
  http://s-comm-iss-d1:/archiva/repository/snapshots/
  
false
  
  
true
  

  




3rd) I execute mvn deploy, and I obtain:

[INFO]
-
---
[INFO] Building AndroMDA Spring Cartridge
[INFO]task-segment: [deploy]
[INFO]
-
---
[INFO] [andromda:run {execution: default}]
[INFO] Files are up-to-date, skipping AndroMDA execution
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [andromda-cartridge:andromda-cartridge]
[INFO] Building jar:
D:\Rapid2\workspaces\eclipseWorkspace\andromda-all\cartridg
es\andromda-spring\target\andromda-spring-cartridge-3.3-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
D:\Rapid2\workspaces\eclipseWorkspace\andromda-all\cartridges\
andromda-spring\target\andromda-spring-cartridge-3.3-SNAPSHOT.jar to
d:\temrepos
itory\org\andromda\cartridges\andromda-spring-cartridge\3.3-SNAPSHOT\andromda-sp
ring-cartridge-3.3-SNAPSHOT.jar
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from snapshots
Uploading:
http://s-comm-iss-d1:/archiva/repository/snapshots//org/andromda/
cartridges/andromda-spring-cartridge/3.3-SNAPSHOT/andromda-spring-cartridge-3.3-
20070927.154235-1.jar
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'artifact
org.andromda.cartridges:andr
omda-spring-cartridge'
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'snapshot
org.andromda.cartridges:andr
omda-spring-cartridge:3.3-SNAPSHOT'
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading project information for andromda-spring-cartridge
3.3-20070927.
154235-1
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 11 seconds
[INFO] Finished at: Thu Sep 27 17:42:38 CEST 2007
[INFO] Final Memory: 14M/254M
[INFO]


Why is the plugin deploying this file 

andromda-spring-cartridge-3.3-20070927.154235-1.jar

when in Reality is

andromda-spring-cartridge-3.3-SNAPSHOT-20070927.154235-1.jar

Whats happening with the snapshot suffix?

Thanks a lot




-- 
View this message in context: 
http://www.nabble.com/problem-deploying-snapshots-tf4529303s177.html#a12924327
Sent from the Maven - Users mailing list archive at Nabble.com.


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