Brett's is the correct answer, the command line looks like a cut-n-paste error as the file locations looks correct for the pom details given.
On 3/10/06, Prasad Kashyap <[EMAIL PROTECTED]> wrote: > artifactId defined in the command line and the one used in the pom are > different. > > Cheers > Prasad > > On 3/9/06, Craig McDaniel <[EMAIL PROTECTED]> wrote: > > Since swt 3,1,2 does not exist in the maven 2 repo right now, I tried > > to install it locally with the following command: > > > > mvn install:install-file -DgroupId=swt -DartifactId=t-osx > > -Dversion=3.1.2 -Dpackaging=jar -Dfile=swt.jar > > > > This succeeds in placing the jar file in > > ~/.m2/repository/swt/swt-osx/3.1.2/swt-osx-3.1.2.jar > > > > I then defined the following dependency in my project: > > > > <dependency> > > <groupId>swt</groupId> > > <artifactId>swt-osx</artifactId> > > <version>3.1.2</version> > > <scope>runtime</scope> > > </dependency> > > > > But, when I try to compile: > > > > Downloading: > > http://repo1.maven.org/maven2/swt/swt-osx/3.1.2/swt-osx-3.1.2.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [INFO] [compiler:compile] > > Compiling 2 source files to > > /Users/craigm/Projects/traqline/tqmanager/tqmanager-gui/target/classes > > [INFO] > > ---------------------------------------------------------------------------- > > [ERROR] BUILD FAILURE > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Compilation failure > > > > /Users/craigm/Projects/traqline/tqmanager/tqmanager-gui/src/main/java/com/shps/da/HelloWorld.java:[6,31] > > package org.eclipse.swt.widgets does not exist > > > > > > I'm probably just doing something stupid. Please help! > > > > -- > > Craig McDaniel > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
