You need to generate the sha1 and md5 files manually on the server
when you simply copy files over to the repo like this.

Alternatively use mvn deploy and it will generate the files for you.

Wayne

On 10/6/06, Christofer Jennings <[EMAIL PROTECTED]> wrote:
Hi,

I'm getting authenticity and checksum warnings from my internal repository
using SCP. This is my first attempt setting up an internal repository and
I'm pretty new to SCP so any help would be appreciated.

Below are my settings and the CLI output. I need a special version of DWR (
2.0m3) in the repository. So far I've just manually set the DWR stuff in my
local repository. To move it to the internal repository, I just SCP'd the
files over.

Thanks in advance!
,chris


---------- in settings.xml --------------------
   <server>
     <id>my.host-repository</id>
     <username>maven</username>
     <password>password</password>
   </server>


---------- in pom.xml -------------------------
 <repositories>
   <repository>
     <id>my.host-repository</id>
     <name>[EMAIL PROTECTED]</name>
     <url>scp://my.host/home/maven/maven-2.0.4/.m2/repository</url>
   </repository>
 </repositories>


---------- CLI output -------------------------
C:\mystuff\modules\myapp\webgui>mvn clean install
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building MyApp - WebGUI
[INFO]    task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target
[INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target\classes
[INFO] Deleting directory
C:\mystuff\modules\myapp\webgui\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
Downloading: scp://my.host/home/maven/maven-2.0.4
/.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.pom
178b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
dwr/dwr/2.0m3/dwr-2.0m3.pom - IGNORING
[INFO] snapshot mystuff.myapp:myappDomain:0.1.0-SNAPSHOT: checking for
updates from my.host-repository
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
[INFO] snapshot mystuff.myapp:myapp:0.1.0-SNAPSHOT: checking for updates
from my.host-repository
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
Downloading: scp://my.host/home/maven/maven-2.0.4
/.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.jar
352K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
dwr/dwr/2.0m3/dwr-2.0m3.jar - IGNORING
[INFO] [compiler:compile]
Compiling 32 source files to C:\mystuff\modules\myapp\webgui\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 10 source files to
C:\mystuff\modules\myapp\webgui\target\test-classes
[INFO] [surefire:test]
...



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

Reply via email to