Maven deployment issues
by rcreswick
I’ve been building / porting various projects to maven lately, and pushing them to our in-house maven server. For a while, I was doing this from my laptop at home. However, at work, I’m pushing to localhost (it’s a temporary thing while we determine if maven will actually work long-term.)
The following error had me stumped for a few days:
All the googling I did turned up people stumped with ssh public key problems, or users who had specified ssh: instead of extssh: … etc. It was fairly quick to elleminate those issues, or so I thought. (ssh localhost right? No problem.)
I happened to look in more detail at my pom.xml:
<id>inhouse</id>
<name>Inhouse Internal Release Repository</name>
<url>scpexe://10.0.0.26/var/www/maven/inhouse</url>
</repository>
hm… 10.0.0.26 I wonder…
Ah ha! I clearly can’t use a pom.xml that lists “localhost” in the server section — I’d only be able to push from one place. However, since I’d never ssh’d to 10.0.0.26 from localhost, the fingerprint was unknown, and that was causing maven to error out with the problem I saw initially.
“Fingerprint ID failed” would have been a nicer error message, but I don’tk now that that is possible.
Comments
[...] Bitwise Evolution ยป Maven deployment issues [...]
You must be logged in to post a comment.