Hi Michael! > src/main/java
and > <scope>test</scope> dingeling? Is CellarDoorChannelReadWrite.java a Test? If so, move it under src/test/java. If not, why does it need JUnit? If it does, remove the <scope>test</scope> from the dependency, since the default 'compile' is what you need. LieGrue, strub --- Michael McGrady <[EMAIL PROTECTED]> schrieb am Di, 26.8.2008: > Von: Michael McGrady <[EMAIL PROTECTED]> > Betreff: Second Try on JUnit Classpath Etc > An: "Maven Users List" <users@maven.apache.org> > Datum: Dienstag, 26. August 2008, 15:47 > Sorry to repost but I did not get a nibble on this. Thanks > for any > assistance. > > Mike > > On Aug 24, 2008, at 10:47 AM, Michael McGrady wrote: > > > > > Below is my POM and the error log. How do I get maven > to seem my > > junit jar? > > > > Mike > > > > Here is the POM > > > > <project > > xmlns="http://maven.apache.org/POM/4.0.0" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd > > "> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.micascientific</groupId> > > <artifactId>micascientific</artifactId> > > <packaging>jar</packaging> > > <version>1.0-SNAPSHOT</version> > > <name>micascientific</name> > > <url>http://maven.apache.org</url> > > <dependencies> > > <dependency> > > <groupId>junit</groupId> > > <artifactId>junit</artifactId> > > <version>3.8.1</version> > > <scope>test</scope> > > </dependency> > > </dependencies> > > <build> > > <plugins> > > <plugin> > > > <groupId>org.apache.maven.plugins</groupId> > > > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > > <source>1.5</source> > > <target>1.5</target> > > </configuration> > > </plugin> > > </plugins> > > </build> > > </project> > > > > HERE is the ERROR > > > > [ERROR] BUILD FAILURE > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Compilation failure > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > java/com/micascientific/cellardoor/impl/ > > CellarDoorChannelReadWrite.java:[19,23] package > junit.framework does > > not exist > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/lipstick/SendingManagerImpl.java: > > > [12,37] cannot find symbol > > symbol : class MockObserver > > location: package com.micascientific.casablanca > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > java/com/micascientific/riverdancer/Driver.java:[4,37] > cannot find > > symbol > > symbol : class MockObserver > > location: package com.micascientific.casablanca > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > java/com/micascientific/riverdancer/Driver.java:[8,34] > cannot find > > symbol > > symbol : class MockMoblet > > location: package com.micascientific.moblets > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/lipstick/SendingManagerImpl.java: > > > [113,40] cannot find symbol > > symbol : class MockObserver > > location: class > > > com.micascientific.riverdancer.lipstick.SendingManagerImpl > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/Driver.java:[46,23] > cannot find > > symbol > > symbol : class MockMoblet > > location: class com.micascientific.riverdancer.Driver > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/Driver.java:[61,22] > cannot find > > symbol > > symbol : class MockMoblet > > location: class com.micascientific.riverdancer.Driver > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/Driver.java:[71,36] > cannot find > > symbol > > symbol : class MockObserver > > location: class com.micascientific.riverdancer.Driver > > > > > /Users/michaelmcgrady/Documents/workspace/micascientific/src/main/ > > > > java/com/micascientific/riverdancer/Driver.java:[85,43] > cannot find > > symbol > > symbol : class MockMoblet > > location: class com.micascientific.riverdancer.Driver > > > > > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.BuildFailureException: Compilation > failure > > at > > org > > .apache > > .maven > > .lifecycle > > > .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: > > > 579) > > at > > org > > .apache > > .maven > > .lifecycle > > .DefaultLifecycleExecutor > > > .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > > at > > org > > .apache > > .maven > > .lifecycle > > > .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: > > > 478) > > at > > org > > .apache > > .maven > > .lifecycle > > .DefaultLifecycleExecutor > > > .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > > at > > org > > .apache > > .maven > > .lifecycle > > .DefaultLifecycleExecutor > > > .executeTaskSegments(DefaultLifecycleExecutor.java:291) > > at > > org > > .apache > > .maven > > .lifecycle > > > .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > > at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > > at > org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun > > .reflect > > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun > > .reflect > > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > 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.plugin.CompilationFailureException: > > Compilation failure > > at > > org > > .apache > > > .maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java: > > > 516) > > at > org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java: > > > 114) > > at > > org > > .apache > > .maven > > > .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: > > > 451) > > at > > org > > .apache > > .maven > > .lifecycle > > > .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: > > > 558) > > ... 16 more > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Total time: 3 seconds > > [INFO] Finished at: Sun Aug 24 10:45:02 PDT 2008 > > [INFO] Final Memory: 5M/13M > > [INFO] > > > ------------------------------------------------------------------------ > > 190:micascientific michaelmcgrady$ > > > > > > > > Michael McGrady > Senior Engineer > Topia Technology, Inc. > [EMAIL PROTECTED] > 1 (253) 720-3365 __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]