All right, this did the trick. Sorry about that: mvn install:install-file -DartifactId=jt400-full -Dversion=4.8.0 -DgroupId=com.ibm.as400 -Dfile=jt400-full-4.8.0.jar -Dpackaging=jar
Lesson for today: don't tinker directly with the repository ;) On 11/4/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > ok, I ran it with -e and it looks like there's additional metadata > files (maven-metadata-local.xml) that need to be installed that I > didn't account for. I manually "played" with the repository. I'll > look for the correct way to install a stock "jar" into a local > repository. It's probably mvn install with some options. > On 11/4/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > Hi John, > > > > Hopefully I didn't mispeak. Here's the error: > > > > [INFO] > > ------------------------------------------------------------------------- > > --- > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------- > > --- > > [INFO] Error building POM (may not be this project's POM). > > > > > > Project ID: com.ibm.as400:jt400-full > > > > Reason: Error getting POM for 'com.ibm.as400:jt400-full' from the > > repository: Sy > > stem is offline. > > com.ibm.as400:jt400-full:4.8.0:pom > > > > > > I have it setup in: > > > > m2repo/com/ibm/as400/jt400-full/4.8.0/ > > -- jt400-full-4.8.0.jar > > -- pom.xml > > -- license.txt > > > > > > The pom in this directory is: > > > > <project> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.ibm.as400</groupId> > > <artifactId>jt400-full</artifactId> > > <version>4.8.0</version> > > <packaging>jar</packaging> > > <name>JT400</name> > > <url>http://jt400.sourceforge.net/</url> > > <scm> > > <url>http://cvs.sourceforge.net/viewcvs.py/jt400/</url> > > </scm> > > </project> > > > > Here's my dependency in the project where I get this error. > > > > <dependency> > > <groupId>com.ibm.as400</groupId> > > <artifactId>jt400-full</artifactId> > > <version>4.8.0</version> > > <scope>compile</scope> > > </dependency> > > > > Brian > > On 11/4/05, John Casey <[EMAIL PROTECTED]> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > What specifically is it trying to retrieve from the server? > > > > > > - -john > > > > > > Brian Bonner wrote: > > > | I have a bundle setup in my local repository. When I try to do a: > > > | > > > | mvn -o install > > > | > > > | at a location where I don't have internet access, it fails because it > > > | can't contact the server. > > > | > > > | Is there something special I need to do when running in offline mode? > > > | > > > | Thanks, > > > | > > > | Brian > > > | > > > | --------------------------------------------------------------------- > > > | To unsubscribe, e-mail: [EMAIL PROTECTED] > > > | For additional commands, e-mail: [EMAIL PROTECTED] > > > | > > > | > > > | > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.6 (GNU/Linux) > > > > > > iD8DBQFDa8QQK3h2CZwO/4URAv5fAKChtTbFI5wfWVi+zuYov4CJPQe/vgCgh2fa > > > EZEHaPna6W9lt9cnr/xnkw8= > > > =5RIi > > > -----END PGP SIGNATURE----- > > > > > > --------------------------------------------------------------------- > > > 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]
