Try adding the line: maven.repo.local=[path to local repository]
to your build.properties file. I had the same problem (Maven 1.0.2 wasn't finding JARs in a repository in the default location). Btw. what OS are you working in? I'm using Fedora. Josh On 7/14/05, Dennis Geurts <[EMAIL PROTECTED]> wrote: > Hi Dylan, > Could you try and remove the <jar>j2ee-1.4.jar</jar> part ?? > the other tags should suffice ... > btw, your command says 'maven -0 ...' I assume you want to run in offline > > mode. > The -0 ( minus-zero ) should then be -o ( minus-ooh ) > > Dennis > On 7/15/05, Dylan Stamat <[EMAIL PROTECTED]> wrote: > > > > I'm having problems getting Maven (1.0.2) to find .JAR files in my local > > repository. Basic problem, but I can't get it to work for the life of me. > > Here is my setup: > > > > My repository is in the default location (/.maven/repository/), and I > > added > > a path to a j2ee .JAR I placed in this directory... ie: > > /.maven/repository/j2ee/jars/j2ee-1.4.jar > > > > Here is my dependency entry in the project.xml. I even tried using the > > <jar> > > tag to explicitly name the file, with no luck: > > > > <dependency> > > <groupId>j2ee</groupId> > > <artifactId>j2ee</artifactId> > > <version>1.4</version> > > <type>jar</type> > > <jar>j2ee-1.4.jar</jar> > > </dependency> > > > > I'm running: "maven -0 jar:jar", and I get the following error: > > "The build cannot continue because of the following unsatisfied > > dependency: > > j2ee-1.4.jar" > > > > Any help would be appreciated ! Thanks ! > > == > > Dylan > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
