Re: Why doesn't maven look for dependency in the local repo?
Thanks. I'm getting closer. I now have this in my dependency list ... maven-war-plugin maven-war-plugin 1.6.3 plugin true but I'm getting the error >> Error parsing project.xml >> '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' >> ParseError at [row,col]:[232,24] Message: Unrecognised tag: 'configuration' My goal is to build some kind of "-classes.jar" file in addition to my WAR because when I try and include my WAR as a dependency in another test project, maven cannot recognizes the classes inside that war. Thanks to all, - Dave Lukas Theussl-4 wrote: > > > You are mixing up the maven 2 pom with maven 1's project.xml, the maven 1 > model > description is here: > > http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html > > In maven 1 you don't specify the plugins in the build section of your pom, > you > either install them with 'maven plugin:install...' or declare them as > dependencies > with type 'plugin'. You should browse the m1 docs (it's old!), eg > > http://maven.apache.org/maven-1.x/using/managing-dependencies.html > http://maven.apache.org/maven-1.x/using/war.html > http://maven.apache.org/maven-1.x/plugins/war/ > > HTH, > -Lukas > > > laredotornado wrote: >> I wanted to give you an update as to where I am with this as what you >> included seems exactly like my problem. However, when I included the >> "plugins" directive in the project.xml from where I build my webapp, >> >> >> >> >> >> maven-war-plugin >> 1.6.3 >> >> true >> >> >> >> ... >> >> >> I get this error ... >> >> maven war:war >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.1 >> >> --- Error parsing project.xml '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' ParseError at [row,col]:[231,14] >> Message: Unrecognised tag: 'plugins' >> --- >> BUILD FAILED >> --- >> Total time : 0 seconds >> Finished at : Tuesday, October 13, 2009 7:32:52 AM MDT >> Final Memory : 1M/2M >> --- >> >> >> Is "plugins" in the wrong place? Thanks, - Dave >> >> >> >> >> >> Quintin Beukes-2 wrote: >>> Hey, >>> >>> This might help: >>> http://is.gd/4bPYH >>> >>> If you have 2.1 of the WAR maven plugin, then it would work. Otherwise >>> you can just use the SNAPSHOT (all described on the thread). >>> >>> Then, when you build it, the WAR will be installed into your local >>> repo, as well as an additional JAR (which only has the classes). >>> >>> Then you can reference the WAR as a dependency in your POM, by adding >>> the classes element into the >>> element. >>> >>> Quintin Beukes >>> >>> >>> >>> On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes >>> wrote: Are you referring to this entry: >>> path="/myco-oit-governor-citizen-assistanceUtility-webapp"> If so, try changing it to reference: /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes Unless Maven notices it's a WAR, and transforms the classpath entry to reference the classes directory, it won't work. Maybe there is a different "kind" attribute? something like kind="war"? I tried to find the documentation for , but was unsuccessful. Quintin Beukes On Fri, Oct 9, 2009 at 8:50 PM, laredotornado wrote: > First off, thanks so much for taking the time to respond. To answer > your > questions ... > >> In your classpath, is that in fact where the files are put? Can you > confirm, from your project root, whether or not you can access those > classes using the relative/absolute paths specified in your classpath. > > No where do I explicitly list a classpath . I thought that the > classpath > was > built from the dependency list. Is this not correct, or is there some > exception for war dependencies? > >> Does it return anything? > No. there is nothing in the target/classes directory. The class in > question is in the war's WEB-INF/classes directory. But if maven > ignores > wars, then I should resort to something else? > > Thanks ,- Dave > > > > > > > Quintin Beukes-2 wrote: >> In your classpath, is that in fact where the files are put? Can you >> confirm, from your project root, whether or not you can access those >> classes using the relative/absolute paths specified in your >> classpath. >> >> Specifically, when in your project's root, type: ls -
Re: Why doesn't maven look for dependency in the local repo?
I did as you suggested, but got the parse error ... maven war:war __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 --- >> Error parsing project.xml >> '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' >> ParseError at [row,col]:[231,23] Message: Unrecognised tag: 'pluginManagement' --- BUILD FAILED --- Total time : 0 seconds Finished at : Tuesday, October 13, 2009 8:06:08 AM MDT Final Memory : 1M/2M --- Do you think its the version of Maven that I'm using (1.1)? Is the syntax different for that version? Here's the snippet from the project.xml file ... maven-war-plugin 1.6.3 true ... Quintin Beukes-2 wrote: > > You have to wrap in . The examples in the > documentation doesn't seem to mention this either, so it's a common > mistake for me as well. Ex: > > > > > > . > > > Quintin Beukes > > > > On Tue, Oct 13, 2009 at 3:41 PM, laredotornado > wrote: >> >> I wanted to give you an update as to where I am with this as what you >> included seems exactly like my problem. However, when I included the >> "plugins" directive in the project.xml from where I build my webapp, >> >> >> >> >> >> maven-war-plugin >> 1.6.3 >> >> true >> >> >> >> ... >> >> >> I get this error ... >> >> maven war:war >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.1 >> >> --- Error parsing project.xml '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' ParseError at [row,col]:[231,14] >> Message: Unrecognised tag: 'plugins' >> --- >> BUILD FAILED >> --- >> Total time : 0 seconds >> Finished at : Tuesday, October 13, 2009 7:32:52 AM MDT >> Final Memory : 1M/2M >> --- >> >> >> Is "plugins" in the wrong place? Thanks, - Dave >> >> >> >> >> >> Quintin Beukes-2 wrote: >>> >>> Hey, >>> >>> This might help: >>> http://is.gd/4bPYH >>> >>> If you have 2.1 of the WAR maven plugin, then it would work. Otherwise >>> you can just use the SNAPSHOT (all described on the thread). >>> >>> Then, when you build it, the WAR will be installed into your local >>> repo, as well as an additional JAR (which only has the classes). >>> >>> Then you can reference the WAR as a dependency in your POM, by adding >>> the classes element into the >>> element. >>> >>> Quintin Beukes >>> >>> >>> >>> On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes >>> wrote: Are you referring to this entry: >>> path="/myco-oit-governor-citizen-assistanceUtility-webapp"> If so, try changing it to reference: /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes Unless Maven notices it's a WAR, and transforms the classpath entry to reference the classes directory, it won't work. Maybe there is a different "kind" attribute? something like kind="war"? I tried to find the documentation for , but was unsuccessful. Quintin Beukes On Fri, Oct 9, 2009 at 8:50 PM, laredotornado wrote: > > First off, thanks so much for taking the time to respond. To answer > your > questions ... > >> In your classpath, is that in fact where the files are put? Can you > confirm, from your project root, whether or not you can access those > classes using the relative/absolute paths specified in your classpath. > > No where do I explicitly list a classpath . I thought that the > classpath > was > built from the dependency list. Is this not correct, or is there some > exception for war dependencies? > >> Does it return anything? > > No. there is nothing in the target/classes directory. The class in > question is in the war's WEB-INF/classes directory. But if maven > ignores > wars, then I should resort to something else? > > Thanks ,- Dave > > > > > > > Quintin Beukes-2 wrote: >> >> In your classpath, is that in fact where the files are put? Can you >> confirm, from your project root, whether or not you can access those >> classes using th
Re: Why doesn't maven look for dependency in the local repo?
You are mixing up the maven 2 pom with maven 1's project.xml, the maven 1 model description is here: http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html In maven 1 you don't specify the plugins in the build section of your pom, you either install them with 'maven plugin:install...' or declare them as dependencies with type 'plugin'. You should browse the m1 docs (it's old!), eg http://maven.apache.org/maven-1.x/using/managing-dependencies.html http://maven.apache.org/maven-1.x/using/war.html http://maven.apache.org/maven-1.x/plugins/war/ HTH, -Lukas laredotornado wrote: I wanted to give you an update as to where I am with this as what you included seems exactly like my problem. However, when I included the "plugins" directive in the project.xml from where I build my webapp, maven-war-plugin 1.6.3 true ... I get this error ... maven war:war __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 --- Error parsing project.xml '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' ParseError at [row,col]:[231,14] Message: Unrecognised tag: 'plugins' --- BUILD FAILED --- Total time : 0 seconds Finished at : Tuesday, October 13, 2009 7:32:52 AM MDT Final Memory : 1M/2M --- Is "plugins" in the wrong place? Thanks, - Dave Quintin Beukes-2 wrote: Hey, This might help: http://is.gd/4bPYH If you have 2.1 of the WAR maven plugin, then it would work. Otherwise you can just use the SNAPSHOT (all described on the thread). Then, when you build it, the WAR will be installed into your local repo, as well as an additional JAR (which only has the classes). Then you can reference the WAR as a dependency in your POM, by adding the classes element into the element. Quintin Beukes On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes wrote: Are you referring to this entry: If so, try changing it to reference: /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes Unless Maven notices it's a WAR, and transforms the classpath entry to reference the classes directory, it won't work. Maybe there is a different "kind" attribute? something like kind="war"? I tried to find the documentation for , but was unsuccessful. Quintin Beukes On Fri, Oct 9, 2009 at 8:50 PM, laredotornado wrote: First off, thanks so much for taking the time to respond. To answer your questions ... In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. No where do I explicitly list a classpath . I thought that the classpath was built from the dependency list. Is this not correct, or is there some exception for war dependencies? Does it return anything? No. there is nothing in the target/classes directory. The class in question is in the war's WEB-INF/classes directory. But if maven ignores wars, then I should resort to something else? Thanks ,- Dave Quintin Beukes-2 wrote: In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. Specifically, when in your project's root, type: ls -ld target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class Does it return anything? Quintin Beukes On Fri, Oct 9, 2009 at 6:59 PM, laredotornado wrote: Thanks, for now, I hard-coded the version to make this error go away. Problem now is that it doesn't seem the dependency is getting included in my classpath, because I get compilation errors (for classes that are included in the dependency in question) now when I try to run, such as ... maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 build:start: test:test: java:prepare-filesystem: java:init: java:compile: [echo] No java source files to compile. java:jar-resources: test:prepare-filesystem: test:test-resources: Copying 4 files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes test:compile: [javac] Compiling 8 source files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes [javac] /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: cannot find symbol [javac] symbol : class Constants [javac] location: package myco.oit.governor.c
Re: Why doesn't maven look for dependency in the local repo?
You have to wrap in . The examples in the documentation doesn't seem to mention this either, so it's a common mistake for me as well. Ex: . Quintin Beukes On Tue, Oct 13, 2009 at 3:41 PM, laredotornado wrote: > > I wanted to give you an update as to where I am with this as what you > included seems exactly like my problem. However, when I included the > "plugins" directive in the project.xml from where I build my webapp, > > > > > > maven-war-plugin > 1.6.3 > > true > > > > ... > > > I get this error ... > > maven war:war > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.1 > > --- >>> Error parsing project.xml >>> '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' >>> ParseError at [row,col]:[231,14] > Message: Unrecognised tag: 'plugins' > --- > BUILD FAILED > --- > Total time : 0 seconds > Finished at : Tuesday, October 13, 2009 7:32:52 AM MDT > Final Memory : 1M/2M > --- > > > Is "plugins" in the wrong place? Thanks, - Dave > > > > > > Quintin Beukes-2 wrote: >> >> Hey, >> >> This might help: >> http://is.gd/4bPYH >> >> If you have 2.1 of the WAR maven plugin, then it would work. Otherwise >> you can just use the SNAPSHOT (all described on the thread). >> >> Then, when you build it, the WAR will be installed into your local >> repo, as well as an additional JAR (which only has the classes). >> >> Then you can reference the WAR as a dependency in your POM, by adding >> the classes element into the >> element. >> >> Quintin Beukes >> >> >> >> On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes >> wrote: >>> Are you referring to this entry: >>> >> path="/myco-oit-governor-citizen-assistanceUtility-webapp"> >>> >>> If so, try changing it to reference: >>> /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes >>> >>> Unless Maven notices it's a WAR, and transforms the classpath entry to >>> reference the classes directory, it won't work. Maybe there is a >>> different "kind" attribute? something like kind="war"? I tried to find >>> the documentation for , but was unsuccessful. >>> >>> Quintin Beukes >>> >>> >>> >>> On Fri, Oct 9, 2009 at 8:50 PM, laredotornado >>> wrote: First off, thanks so much for taking the time to respond. To answer your questions ... > In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. No where do I explicitly list a classpath . I thought that the classpath was built from the dependency list. Is this not correct, or is there some exception for war dependencies? > Does it return anything? No. there is nothing in the target/classes directory. The class in question is in the war's WEB-INF/classes directory. But if maven ignores wars, then I should resort to something else? Thanks ,- Dave Quintin Beukes-2 wrote: > > In your classpath, is that in fact where the files are put? Can you > confirm, from your project root, whether or not you can access those > classes using the relative/absolute paths specified in your classpath. > > Specifically, when in your project's root, type: ls -ld > target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class > > Does it return anything? > > Quintin Beukes > > > > On Fri, Oct 9, 2009 at 6:59 PM, laredotornado > wrote: >> >> Thanks, for now, I hard-coded the version to make this error go away. >> Problem now is that it doesn't seem the dependency is getting included >> in >> my >> classpath, because I get compilation errors (for classes that are >> included >> in the dependency in question) now when I try to run, such as ... >> >> maven test:test >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.1 >> >> build:start: >> >> test:test: >> java:prepare-filesystem: >> >> java:init: >> >> java:compile: >> [echo] No java source files to compile. >> >> java:jar-resources: >> >> test:prepare-filesystem: >> >> test:test-resources: >> Copying 4 files to >> /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-class
Re: Why doesn't maven look for dependency in the local repo?
I wanted to give you an update as to where I am with this as what you included seems exactly like my problem. However, when I included the "plugins" directive in the project.xml from where I build my webapp, maven-war-plugin 1.6.3 true ... I get this error ... maven war:war __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 --- >> Error parsing project.xml >> '/Users/dalvarado/source/assistanceUtility/webapp/project.xml' >> ParseError at [row,col]:[231,14] Message: Unrecognised tag: 'plugins' --- BUILD FAILED --- Total time : 0 seconds Finished at : Tuesday, October 13, 2009 7:32:52 AM MDT Final Memory : 1M/2M --- Is "plugins" in the wrong place? Thanks, - Dave Quintin Beukes-2 wrote: > > Hey, > > This might help: > http://is.gd/4bPYH > > If you have 2.1 of the WAR maven plugin, then it would work. Otherwise > you can just use the SNAPSHOT (all described on the thread). > > Then, when you build it, the WAR will be installed into your local > repo, as well as an additional JAR (which only has the classes). > > Then you can reference the WAR as a dependency in your POM, by adding > the classes element into the > element. > > Quintin Beukes > > > > On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes > wrote: >> Are you referring to this entry: >> > path="/myco-oit-governor-citizen-assistanceUtility-webapp"> >> >> If so, try changing it to reference: >> /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes >> >> Unless Maven notices it's a WAR, and transforms the classpath entry to >> reference the classes directory, it won't work. Maybe there is a >> different "kind" attribute? something like kind="war"? I tried to find >> the documentation for , but was unsuccessful. >> >> Quintin Beukes >> >> >> >> On Fri, Oct 9, 2009 at 8:50 PM, laredotornado >> wrote: >>> >>> First off, thanks so much for taking the time to respond. To answer >>> your >>> questions ... >>> In your classpath, is that in fact where the files are put? Can you >>> confirm, from your project root, whether or not you can access those >>> classes using the relative/absolute paths specified in your classpath. >>> >>> No where do I explicitly list a classpath . I thought that the classpath >>> was >>> built from the dependency list. Is this not correct, or is there some >>> exception for war dependencies? >>> Does it return anything? >>> >>> No. there is nothing in the target/classes directory. The class in >>> question is in the war's WEB-INF/classes directory. But if maven >>> ignores >>> wars, then I should resort to something else? >>> >>> Thanks ,- Dave >>> >>> >>> >>> >>> >>> >>> Quintin Beukes-2 wrote: In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. Specifically, when in your project's root, type: ls -ld target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class Does it return anything? Quintin Beukes On Fri, Oct 9, 2009 at 6:59 PM, laredotornado wrote: > > Thanks, for now, I hard-coded the version to make this error go away. > Problem now is that it doesn't seem the dependency is getting included > in > my > classpath, because I get compilation errors (for classes that are > included > in the dependency in question) now when I try to run, such as ... > > maven test:test > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.1 > > build:start: > > test:test: > java:prepare-filesystem: > > java:init: > > java:compile: > [echo] No java source files to compile. > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > Copying 4 files to > /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes > > test:compile: > [javac] Compiling 8 source files to > /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes > [javac] > /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: > cannot find symbol > [javac] symbol : class Constants > [javac] location: package > myco.oit.governor.citizen.assistanceUtility > [java
Re: Why doesn't maven look for dependency in the local repo?
Hey, This might help: http://is.gd/4bPYH If you have 2.1 of the WAR maven plugin, then it would work. Otherwise you can just use the SNAPSHOT (all described on the thread). Then, when you build it, the WAR will be installed into your local repo, as well as an additional JAR (which only has the classes). Then you can reference the WAR as a dependency in your POM, by adding the classes element into the element. Quintin Beukes On Sat, Oct 10, 2009 at 12:49 PM, Quintin Beukes wrote: > Are you referring to this entry: > path="/myco-oit-governor-citizen-assistanceUtility-webapp"> > > If so, try changing it to reference: > /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes > > Unless Maven notices it's a WAR, and transforms the classpath entry to > reference the classes directory, it won't work. Maybe there is a > different "kind" attribute? something like kind="war"? I tried to find > the documentation for , but was unsuccessful. > > Quintin Beukes > > > > On Fri, Oct 9, 2009 at 8:50 PM, laredotornado wrote: >> >> First off, thanks so much for taking the time to respond. To answer your >> questions ... >> >>> In your classpath, is that in fact where the files are put? Can you >> confirm, from your project root, whether or not you can access those >> classes using the relative/absolute paths specified in your classpath. >> >> No where do I explicitly list a classpath . I thought that the classpath was >> built from the dependency list. Is this not correct, or is there some >> exception for war dependencies? >> >>> Does it return anything? >> >> No. there is nothing in the target/classes directory. The class in >> question is in the war's WEB-INF/classes directory. But if maven ignores >> wars, then I should resort to something else? >> >> Thanks ,- Dave >> >> >> >> >> >> >> Quintin Beukes-2 wrote: >>> >>> In your classpath, is that in fact where the files are put? Can you >>> confirm, from your project root, whether or not you can access those >>> classes using the relative/absolute paths specified in your classpath. >>> >>> Specifically, when in your project's root, type: ls -ld >>> target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class >>> >>> Does it return anything? >>> >>> Quintin Beukes >>> >>> >>> >>> On Fri, Oct 9, 2009 at 6:59 PM, laredotornado >>> wrote: Thanks, for now, I hard-coded the version to make this error go away. Problem now is that it doesn't seem the dependency is getting included in my classpath, because I get compilation errors (for classes that are included in the dependency in question) now when I try to run, such as ... maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 build:start: test:test: java:prepare-filesystem: java:init: java:compile: [echo] No java source files to compile. java:jar-resources: test:prepare-filesystem: test:test-resources: Copying 4 files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes test:compile: [javac] Compiling 8 source files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes [javac] /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: cannot find symbol [javac] symbol : class Constants [javac] location: package myco.oit.governor.citizen.assistanceUtility [javac] import myco.oit.governor.citizen.assistanceUtility.Constants; I still don't think maven is looking in the right place because when I run the command "maven eclipse:generate-classpath", the generated .classpath file is looking for the repo in question, "myco-oit-governor-citizen-assistanceUtility-webapp", in another directory besides MAVEN_REPO (contents of .classpath below). Any ideas why? >>> path="org.eclipse.jdt.launching.JRE_CONTAINER"> >>> path="src/test"> >>> path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"> >>> path="/myco-oit-governor-citizen-assistanceUtility-webapp"> >>> path="MAVEN_REPO/org.springframework/jars/spring-1.2.8.jar"> >>> path="MAVEN_REPO/org.springframework/jars/spring-mock-1.2.8.jar"> >>> path="MAVEN_REPO/commons-digester/jars/commons-digester-1.7.jar"> >>> path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.4.jar"> >>> path="MAVEN_REPO/commons-lang/jars/commons-lang-2.3.jar"> >>> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-core-1.4.jar"> >>> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/htmlunit-1.11.jar"> >>> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-htmlunit-plugin-1.4.jar"> >>> path="MAVEN_REPO/org.apache.regexp/j
Re: Why doesn't maven look for dependency in the local repo?
Are you referring to this entry: If so, try changing it to reference: /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes Unless Maven notices it's a WAR, and transforms the classpath entry to reference the classes directory, it won't work. Maybe there is a different "kind" attribute? something like kind="war"? I tried to find the documentation for , but was unsuccessful. Quintin Beukes On Fri, Oct 9, 2009 at 8:50 PM, laredotornado wrote: > > First off, thanks so much for taking the time to respond. To answer your > questions ... > >> In your classpath, is that in fact where the files are put? Can you > confirm, from your project root, whether or not you can access those > classes using the relative/absolute paths specified in your classpath. > > No where do I explicitly list a classpath . I thought that the classpath was > built from the dependency list. Is this not correct, or is there some > exception for war dependencies? > >> Does it return anything? > > No. there is nothing in the target/classes directory. The class in > question is in the war's WEB-INF/classes directory. But if maven ignores > wars, then I should resort to something else? > > Thanks ,- Dave > > > > > > > Quintin Beukes-2 wrote: >> >> In your classpath, is that in fact where the files are put? Can you >> confirm, from your project root, whether or not you can access those >> classes using the relative/absolute paths specified in your classpath. >> >> Specifically, when in your project's root, type: ls -ld >> target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class >> >> Does it return anything? >> >> Quintin Beukes >> >> >> >> On Fri, Oct 9, 2009 at 6:59 PM, laredotornado >> wrote: >>> >>> Thanks, for now, I hard-coded the version to make this error go away. >>> Problem now is that it doesn't seem the dependency is getting included in >>> my >>> classpath, because I get compilation errors (for classes that are >>> included >>> in the dependency in question) now when I try to run, such as ... >>> >>> maven test:test >>> __ __ >>> | \/ |__ _Apache__ ___ >>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >>> |_| |_\__,_|\_/\___|_||_| v. 1.1 >>> >>> build:start: >>> >>> test:test: >>> java:prepare-filesystem: >>> >>> java:init: >>> >>> java:compile: >>> [echo] No java source files to compile. >>> >>> java:jar-resources: >>> >>> test:prepare-filesystem: >>> >>> test:test-resources: >>> Copying 4 files to >>> /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes >>> >>> test:compile: >>> [javac] Compiling 8 source files to >>> /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes >>> [javac] >>> /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: >>> cannot find symbol >>> [javac] symbol : class Constants >>> [javac] location: package myco.oit.governor.citizen.assistanceUtility >>> [javac] import myco.oit.governor.citizen.assistanceUtility.Constants; >>> >>> >>> >>> I still don't think maven is looking in the right place because when I >>> run >>> the command "maven eclipse:generate-classpath", the generated .classpath >>> file is looking for the repo in question, >>> "myco-oit-governor-citizen-assistanceUtility-webapp", in another >>> directory >>> besides MAVEN_REPO (contents of .classpath below). Any ideas why? >>> >>> >>> >>> >> path="org.eclipse.jdt.launching.JRE_CONTAINER"> >>> >> path="src/test"> >>> >> path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"> >>> >> path="/myco-oit-governor-citizen-assistanceUtility-webapp"> >>> >> path="MAVEN_REPO/org.springframework/jars/spring-1.2.8.jar"> >>> >> path="MAVEN_REPO/org.springframework/jars/spring-mock-1.2.8.jar"> >>> >> path="MAVEN_REPO/commons-digester/jars/commons-digester-1.7.jar"> >>> >> path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.4.jar"> >>> >> path="MAVEN_REPO/commons-lang/jars/commons-lang-2.3.jar"> >>> >> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-core-1.4.jar"> >>> >> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/htmlunit-1.11.jar"> >>> >> path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-htmlunit-plugin-1.4.jar"> >>> >> path="MAVEN_REPO/org.apache.regexp/jars/regexp-1.3.jar"> >>> >> path="MAVEN_REPO/jaxen/jars/jaxen-1.1.jar"> >>> >> path="MAVEN_REPO/commons-httpclient/jars/commons-httpclient-3.0.1.jar"> >>> >> path="MAVEN_REPO/commons-io/jars/commons-io-1.3.jar"> >>> >> path="MAVEN_REPO/commons-collections/jars/commons-collections-3.2.jar"> >>> >> path="MAVEN_REPO/commons-codec/jars/commons-codec-1.3.jar"> >>> >> path="MAVEN_REPO/js/jars/js-1.6R5.jar"> >>> >> path="MAVEN_REPO/nekohtml/jars/nekohtml-0.9.5.jar"> >>> >>> >>> >>> >>> >>> >>> Quintin Beukes-2 wrote: Perhaps you meant "${project.version}" instead of "${currentVersion}" ? Quintin Beukes On Fri, Oct 9, 2009 at 5:43 PM, laredotornado >>
Re: Why doesn't maven look for dependency in the local repo?
First off, thanks so much for taking the time to respond. To answer your questions ... > In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. No where do I explicitly list a classpath . I thought that the classpath was built from the dependency list. Is this not correct, or is there some exception for war dependencies? > Does it return anything? No. there is nothing in the target/classes directory. The class in question is in the war's WEB-INF/classes directory. But if maven ignores wars, then I should resort to something else? Thanks ,- Dave Quintin Beukes-2 wrote: > > In your classpath, is that in fact where the files are put? Can you > confirm, from your project root, whether or not you can access those > classes using the relative/absolute paths specified in your classpath. > > Specifically, when in your project's root, type: ls -ld > target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class > > Does it return anything? > > Quintin Beukes > > > > On Fri, Oct 9, 2009 at 6:59 PM, laredotornado > wrote: >> >> Thanks, for now, I hard-coded the version to make this error go away. >> Problem now is that it doesn't seem the dependency is getting included in >> my >> classpath, because I get compilation errors (for classes that are >> included >> in the dependency in question) now when I try to run, such as ... >> >> maven test:test >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.1 >> >> build:start: >> >> test:test: >> java:prepare-filesystem: >> >> java:init: >> >> java:compile: >> [echo] No java source files to compile. >> >> java:jar-resources: >> >> test:prepare-filesystem: >> >> test:test-resources: >> Copying 4 files to >> /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes >> >> test:compile: >> [javac] Compiling 8 source files to >> /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes >> [javac] >> /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: >> cannot find symbol >> [javac] symbol : class Constants >> [javac] location: package myco.oit.governor.citizen.assistanceUtility >> [javac] import myco.oit.governor.citizen.assistanceUtility.Constants; >> >> >> >> I still don't think maven is looking in the right place because when I >> run >> the command "maven eclipse:generate-classpath", the generated .classpath >> file is looking for the repo in question, >> "myco-oit-governor-citizen-assistanceUtility-webapp", in another >> directory >> besides MAVEN_REPO (contents of .classpath below). Any ideas why? >> >> >> >> > path="org.eclipse.jdt.launching.JRE_CONTAINER"> >> > path="src/test"> >> > path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"> >> > path="/myco-oit-governor-citizen-assistanceUtility-webapp"> >> > path="MAVEN_REPO/org.springframework/jars/spring-1.2.8.jar"> >> > path="MAVEN_REPO/org.springframework/jars/spring-mock-1.2.8.jar"> >> > path="MAVEN_REPO/commons-digester/jars/commons-digester-1.7.jar"> >> > path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.4.jar"> >> > path="MAVEN_REPO/commons-lang/jars/commons-lang-2.3.jar"> >> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-core-1.4.jar"> >> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/htmlunit-1.11.jar"> >> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-htmlunit-plugin-1.4.jar"> >> > path="MAVEN_REPO/org.apache.regexp/jars/regexp-1.3.jar"> >> > path="MAVEN_REPO/jaxen/jars/jaxen-1.1.jar"> >> > path="MAVEN_REPO/commons-httpclient/jars/commons-httpclient-3.0.1.jar"> >> > path="MAVEN_REPO/commons-io/jars/commons-io-1.3.jar"> >> > path="MAVEN_REPO/commons-collections/jars/commons-collections-3.2.jar"> >> > path="MAVEN_REPO/commons-codec/jars/commons-codec-1.3.jar"> >> > path="MAVEN_REPO/js/jars/js-1.6R5.jar"> >> > path="MAVEN_REPO/nekohtml/jars/nekohtml-0.9.5.jar"> >> >> >> >> >> >> >> Quintin Beukes-2 wrote: >>> >>> Perhaps you meant "${project.version}" instead of "${currentVersion}" ? >>> >>> Quintin Beukes >>> >>> >>> >>> On Fri, Oct 9, 2009 at 5:43 PM, laredotornado >>> wrote: Hi, I'm using Maven 1.1. I have this dependency in my project.xml file ... myco.oit.governor.citizen.assistanceUtility myco-oit-governor-citizen-assistanceUtility-webapp ${currentVersion} war However when running a maven command (e.g. maven test:test), I get a failed dependency error, even though the dependency exists in my local repo. How do I force maven to check the local repo? maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent
Re: Why doesn't maven look for dependency in the local repo?
In your classpath, is that in fact where the files are put? Can you confirm, from your project root, whether or not you can access those classes using the relative/absolute paths specified in your classpath. Specifically, when in your project's root, type: ls -ld target/classes/myco/oit/governor/citizen/assistanceUtility/Constants.class Does it return anything? Quintin Beukes On Fri, Oct 9, 2009 at 6:59 PM, laredotornado wrote: > > Thanks, for now, I hard-coded the version to make this error go away. > Problem now is that it doesn't seem the dependency is getting included in my > classpath, because I get compilation errors (for classes that are included > in the dependency in question) now when I try to run, such as ... > > maven test:test > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.1 > > build:start: > > test:test: > java:prepare-filesystem: > > java:init: > > java:compile: > [echo] No java source files to compile. > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > Copying 4 files to > /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes > > test:compile: > [javac] Compiling 8 source files to > /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes > [javac] > /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: > cannot find symbol > [javac] symbol : class Constants > [javac] location: package myco.oit.governor.citizen.assistanceUtility > [javac] import myco.oit.governor.citizen.assistanceUtility.Constants; > > > > I still don't think maven is looking in the right place because when I run > the command "maven eclipse:generate-classpath", the generated .classpath > file is looking for the repo in question, > "myco-oit-governor-citizen-assistanceUtility-webapp", in another directory > besides MAVEN_REPO (contents of .classpath below). Any ideas why? > > > > path="org.eclipse.jdt.launching.JRE_CONTAINER"> > path="src/test"> > path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"> > path="/myco-oit-governor-citizen-assistanceUtility-webapp"> > path="MAVEN_REPO/org.springframework/jars/spring-1.2.8.jar"> > path="MAVEN_REPO/org.springframework/jars/spring-mock-1.2.8.jar"> > path="MAVEN_REPO/commons-digester/jars/commons-digester-1.7.jar"> > path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.4.jar"> > path="MAVEN_REPO/commons-lang/jars/commons-lang-2.3.jar"> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-core-1.4.jar"> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/htmlunit-1.11.jar"> > path="MAVEN_REPO/net.sourceforge.jwebunit/jars/jwebunit-htmlunit-plugin-1.4.jar"> > path="MAVEN_REPO/org.apache.regexp/jars/regexp-1.3.jar"> > path="MAVEN_REPO/jaxen/jars/jaxen-1.1.jar"> > path="MAVEN_REPO/commons-httpclient/jars/commons-httpclient-3.0.1.jar"> > path="MAVEN_REPO/commons-io/jars/commons-io-1.3.jar"> > path="MAVEN_REPO/commons-collections/jars/commons-collections-3.2.jar"> > path="MAVEN_REPO/commons-codec/jars/commons-codec-1.3.jar"> > path="MAVEN_REPO/js/jars/js-1.6R5.jar"> > path="MAVEN_REPO/nekohtml/jars/nekohtml-0.9.5.jar"> > > > > > > > Quintin Beukes-2 wrote: >> >> Perhaps you meant "${project.version}" instead of "${currentVersion}" ? >> >> Quintin Beukes >> >> >> >> On Fri, Oct 9, 2009 at 5:43 PM, laredotornado >> wrote: >>> >>> Hi, >>> >>> I'm using Maven 1.1. I have this dependency in my project.xml file ... >>> >>> >>> myco.oit.governor.citizen.assistanceUtility >>> >>> myco-oit-governor-citizen-assistanceUtility-webapp >>> ${currentVersion} >>> war >>> >>> >>> However when running a maven command (e.g. maven test:test), I get a >>> failed >>> dependency error, even though the dependency exists in my local repo. >>> How >>> do I force maven to check the local repo? >>> >>> maven test:test >>> __ __ >>> | \/ |__ _Apache__ ___ >>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >>> |_| |_\__,_|\_/\___|_||_| v. 1.1 >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> myco-oit-governor-citizen-assistanceUtility-test: >>> - Attempting to download >>> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >>> from http://localhost:/maven >>> Error retrieving artifact from [http://localhost:/maven]: >>> org.apache.maven.wagon.TransferFailedException: Connection refused >>> - Attempting to download >>> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >>> from http://localhost:/maven-external >>> Error retrieving artifact from [http://localhost:/maven-external]: >>> org.apache.maven.wagon.TransferFailedException: Connection refused >>> - Attempting to download >>> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-a
Re: Why doesn't maven look for dependency in the local repo?
Thanks, for now, I hard-coded the version to make this error go away. Problem now is that it doesn't seem the dependency is getting included in my classpath, because I get compilation errors (for classes that are included in the dependency in question) now when I try to run, such as ... maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1 build:start: test:test: java:prepare-filesystem: java:init: java:compile: [echo] No java source files to compile. java:jar-resources: test:prepare-filesystem: test:test-resources: Copying 4 files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes test:compile: [javac] Compiling 8 source files to /Users/dalvarado/source/assistanceUtility.cvs/test/target/test-classes [javac] /Users/dalvarado/source/assistanceUtility.cvs/test/src/test/myco/oit/governor/citizen/assistanceUtility/test/env/BaseEnvTest.java:16: cannot find symbol [javac] symbol : class Constants [javac] location: package myco.oit.governor.citizen.assistanceUtility [javac] import myco.oit.governor.citizen.assistanceUtility.Constants; I still don't think maven is looking in the right place because when I run the command "maven eclipse:generate-classpath", the generated .classpath file is looking for the repo in question, "myco-oit-governor-citizen-assistanceUtility-webapp", in another directory besides MAVEN_REPO (contents of .classpath below). Any ideas why? Quintin Beukes-2 wrote: > > Perhaps you meant "${project.version}" instead of "${currentVersion}" ? > > Quintin Beukes > > > > On Fri, Oct 9, 2009 at 5:43 PM, laredotornado > wrote: >> >> Hi, >> >> I'm using Maven 1.1. I have this dependency in my project.xml file ... >> >> >> myco.oit.governor.citizen.assistanceUtility >> >> myco-oit-governor-citizen-assistanceUtility-webapp >> ${currentVersion} >> war >> >> >> However when running a maven command (e.g. maven test:test), I get a >> failed >> dependency error, even though the dependency exists in my local repo. >> How >> do I force maven to check the local repo? >> >> maven test:test >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.1 >> >> Trying to get missing dependencies (and updated snapshots) required by >> myco-oit-governor-citizen-assistanceUtility-test: >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://localhost:/maven >> Error retrieving artifact from [http://localhost:/maven]: >> org.apache.maven.wagon.TransferFailedException: Connection refused >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://localhost:/maven-external >> Error retrieving artifact from [http://localhost:/maven-external]: >> org.apache.maven.wagon.TransferFailedException: Connection refused >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://localhost:/maven-remotebox >> Error retrieving artifact from [http://localhost:/maven-remotebox]: >> org.apache.maven.wagon.TransferFailedException: Connection refused >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://localhost:/maven-external-indiana >> Error retrieving artifact from >> [http://localhost:/maven-external-indiana]: >> org.apache.maven.wagon.TransferFailedException: Connection refused >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://software.ais.pl/repository >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://download.java.net/maven/1/ >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://repo1.maven.org/maven >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://people.apache.org/repo/m1-snapshot-repository/ >> - Attempting to download >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> from http://mirrors.sunsite.dk/maven >> --- The build cannot continue because of the following unsatisfied dependency: >> - >> myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war >> >> -
Re: Why doesn't maven look for dependency in the local repo?
Perhaps you meant "${project.version}" instead of "${currentVersion}" ? Quintin Beukes On Fri, Oct 9, 2009 at 5:43 PM, laredotornado wrote: > > Hi, > > I'm using Maven 1.1. I have this dependency in my project.xml file ... > > > myco.oit.governor.citizen.assistanceUtility > > myco-oit-governor-citizen-assistanceUtility-webapp > ${currentVersion} > war > > > However when running a maven command (e.g. maven test:test), I get a failed > dependency error, even though the dependency exists in my local repo. How > do I force maven to check the local repo? > > maven test:test > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.1 > > Trying to get missing dependencies (and updated snapshots) required by > myco-oit-governor-citizen-assistanceUtility-test: > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://localhost:/maven > Error retrieving artifact from [http://localhost:/maven]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://localhost:/maven-external > Error retrieving artifact from [http://localhost:/maven-external]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://localhost:/maven-remotebox > Error retrieving artifact from [http://localhost:/maven-remotebox]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://localhost:/maven-external-indiana > Error retrieving artifact from > [http://localhost:/maven-external-indiana]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://software.ais.pl/repository > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://download.java.net/maven/1/ > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://repo1.maven.org/maven > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://people.apache.org/repo/m1-snapshot-repository/ > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > from http://mirrors.sunsite.dk/maven > --- >>> The build cannot continue because of the following unsatisfied >>> dependency: > - > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-assistanceUtility-webapp::war > > --- > BUILD FAILED > --- > > -- > View this message in context: > http://www.nabble.com/Why-doesn%27t-maven-look-for-dependency-in-the-local-repo--tp25823180p25823180.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org