Spring mock is there http://www.ibiblio.org/maven2/org/springframework/spring-mock/1.2.5/ Your errors are probably due to other reason
On 12/13/05, cameron clarke <[EMAIL PROTECTED]> wrote: > don't shoot I'm new to Maven ;-) > > spring-mock is specified in spring-parent-1.2.5.pom but spring-mock.jar does > not get pulled down from http://repo1.maven.org/maven2 Is there a reason > why this jar/pom is missing? I have written some tests that utilise > org.springframework.test.AbstractTransactionalDataSourceSpringContextTestsbut > are failing in the M2 world as NoClassDef can be found. > > I installed it local via : > mvn install:install-file > -DgroupId=org.springframework-DartifactId=spring-mock -Dversion= > 1.2.5 -Dfile=C:/spring-mock.jar -Dpackaging=jar -DgeneratePom=true > > I checked the repository file system to see that it now exists but the test > still fails with the same error. I noticed the pom file was not created > though ! instead a maven-metadata-local.xml was created. So I manually > created spring-mock-1.2.5.pom as follows: > > <project> > <parent> > <artifactId>spring-parent</artifactId> > <groupId>org.springframework</groupId> > <version>1.2.5</version> > </parent> > <modelVersion>4.0.0</modelVersion> > <artifactId>spring-mock</artifactId> > <name>Spring Mock</name> > <version>1.2.5</version> > <distributionManagement> > <status>deployed</status> > </distributionManagement> > </project> > > (I didn't worked out the dependencies ..yet) > > but still my tests fail ..... :-( ANY HELP GREATLY APPRECIATED > > java.lang.NoClassDefFoundError: > org/springframework/test/AbstractTransactionalDa > taSourceSpringContextTests > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]