Argh! It installed it correctl, so I thought I was home free, but I'm
getting the same friggin' error. Oh maven gods, why do you mock me?
Brian
p.s. here's the error:
C:\paraware-parent\paraware-business>mvn -e -o eclipse:eclipse
+ Error stacktraces are turned on.
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your loca
l
repository will be inaccessible.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Utility Jar
[INFO] task-segment: [eclipse:eclipse]
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[WARNING]
Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding bro
ader scope 'compile'
given by a dependency. If this is not intended, modify or remove the loc
al scope.
[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
[INFO] -------------------------------------------------------------------------
---
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency
information: Unable to read the metadata file for artifact 'com.ibm.as400:jt400
-full:jar': Error getting POM for 'com.ibm.as400:jt400-full' from the repository
: System is offline.
com.ibm.as400:jt400-full:4.8.0:pom
com.ibm.as400:jt400-full:4.8.0:jar
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Path to dependency:
1) com.paraware.business:paraware-business:jar:1.0-SNAPSHOT
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:536)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:452)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
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:324)
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.artifact.resolver.ArtifactResolutionException: Unabl
e to get dependency information: Unable to read the metadata file for artifact '
com.ibm.as400:jt400-full:jar': Error getting POM for 'com.ibm.as400:jt400-full'
from the repository: System is offline.
com.ibm.as400:jt400-full:4.8.0:pom
com.ibm.as400:jt400-full:4.8.0:jar
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Path to dependency:
1) com.paraware.business:paraware-business:jar:1.0-SNAPSHOT
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(D
efaultArtifactCollector.java:289)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(D
efaultArtifactCollector.java:67)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:223)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:211)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:182)
at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende
ncies(DefaultPluginManager.java:1152)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:353)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:519)
... 16 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
: Unable to read the metadata file for artifact 'com.ibm.as400:jt400-full:jar':
Error getting POM for 'com.ibm.as400:jt400-full' from the repository: System is
offline.
com.ibm.as400:jt400-full:4.8.0:pom
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenM
etadataSource.java:114)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(D
efaultArtifactCollector.java:276)
... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM
for 'com.ibm.as400:jt400-full' from the repository: System is offline.
com.ibm.as400:jt400-full:4.8.0:pom
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:411)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:346)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenM
etadataSource.java:101)
... 24 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Syste
m is offline.
com.ibm.as400:jt400-full:4.8.0:pom
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:112)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:380)
... 26 more
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Nov 04 17:49:04 EST 2005
[INFO] Final Memory: 1M/3M
[INFO] -------------------------------------------------------------------------
---
On 11/4/05, Brian Bonner <[EMAIL PROTECTED]> wrote:
> 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]