maven 2 « Development « Spring Q&A





1. importing maven projects dont add java nature    forum.springsource.org

Hi, Have a really huge codebase with quite a few maven modules. When I import them, I found that java nature was missing, They are considered just General resource projects. I ...

2. Error when running Test with apache-maven-3.0.1    forum.springsource.org

Error when running Test with apache-maven-3.0.1 The same tests runs to completion and passes without errors using apache-maven-beta-1 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec ...

3. Maven dependencies to lib directory    forum.springsource.org

The following plugin should do the job Code: org.apache.maven.plugins maven-war-plugin 2.0.2 true false ${basedir}/src/main/webapp/WEB-INF web.xml WEB-INF true ...

4. No Persistence provider with Maven build    forum.springsource.org

No Persistence provider with Maven build I have a sample application that works fine as a plain old java project in Eclipse but when I set up a Maven project for ...

5. multiple maven artifactIds    forum.springsource.org

6. run maven project in tcServer    forum.springsource.org

Hi, I'm new to STS and like the eclipse-tcServer-maven bundle. Currently I use the 'mvn jetty:run' goal to get my webapp running. So far I don't know how or if I ...

7. how do you checkout jpetstore as maven project?    forum.springsource.org

how do you checkout jpetstore as maven project? I am trying to checkout a Maven project from SCM using Eclipse 3.6 (i.e. get latest jpetstore). There is a prompt to select ...

8. Spring 2.5.2 and maven    forum.springsource.org

Spring 2.5.2 and maven Hi, Using Spring 2.5.2 and embedded maven. Created ".m2" maven folder. Also tested "external" maven 2.2.1 from command line and it works OK. Used C:\Users\Nik\.m2\settings.xml to set ...

9. SCM types not available in Checkout Maven Projects from SCM    forum.springsource.org

SCM types not available in Checkout Maven Projects from SCM I'm at a loss as to how I've made this work in the past. I have a completely clean and updated ...





10. Error creating maven project - artifact is not an archetype    forum.springsource.org

Error creating maven project - artifact is not an archetype I have just installed STS 2.5.2 (win64) & am typing things out. When creating maven project, I select an Archetype from ...

11. Spring 3.1.0 M1 in Maven Central?    forum.springsource.org

I just checked http://repo2.maven.org/maven2/org/sp...k/spring-core/ and the latest is 3.0.5.RELEASE. Is 3.1.0M1 going to be uploaded to Maven Central at all? Or will you wait until the final release?

12. get Maven to use the SpringSource EBR    forum.springsource.org

get Maven to use the SpringSource EBR Hi I wonder how I could get Maven to target the EBR as described in the reference doc below? So the first thing you ...

13. Problem with Maven2    forum.springsource.org

Mar 6th, 2011, 12:47 PM #1 mujer_esponja View Profile View Forum Posts Private Message Member Join Date Oct 2010 Posts 30 Problem with Maven2 Hello, I am just starting with spring ...

14. Problem with Maven2    forum.springsource.org

Mar 6th, 2011, 01:10 PM #1 mujer_esponja View Profile View Forum Posts Private Message Member Join Date Oct 2010 Posts 30 Problem with Maven2 Hello, I am just starting with spring ...

15. Running JUnit test with ,maven test    forum.springsource.org

MessageUnMarshallingTransformerTest.txt samplePom.txt Hi Guys, I am able to run the test within eclipse but when I start using the maven then the test fails to run. It seems to fail at ...

16. Maven to automarically generate .aj files    forum.springsource.org

Maven to automarically generate .aj files Hi guys, I have the following problems: roo console is generating some .aj files for me in my project. Do I need those .aj files ...





17. multiple module - maven dependencies    forum.springsource.org

With STS 2.5.2, pojo project A is dependent upon pojo project B. The dependency is established through maven. But even after 'Maven > Update Dependencies' project B is not being added ...

18. night build, how to add jars to maven    forum.springsource.org

night build, how to add jars to maven I am trying a nightly build for the first time. I downloaded the zip file, and unziped it with no problem. I could ...

19. Error using Maven with Spring / cannot run unit test..    forum.springsource.org

Sep 30th, 2004, 02:48 PM #1 MmarcoM View Profile View Forum Posts Private Message Senior Member Join Date Sep 2004 Location London Posts 304 Error using Maven with Spring / cannot ...

20. 2.6.0.RELEASE, Ubuntu 10.10 stuck updating maven dependencies    forum.springsource.org

2.6.0.RELEASE, Ubuntu 10.10 stuck updating maven dependencies Hi all, I've tried both the sh installer and the full download of 2.6.0.RELEASE, eclipse 3.6.2 and it gets stuck updating maven dependencies forever. ...

21. Unable to update index error when rebuilding maven indexes    forum.springsource.org

If I add the following repository Code: maven2-repository.dev.java.net Java.net Repository for Maven http://download.java.net/maven/2/ default to my project pom file and the rebuild the index in the maven repository view, ...

22. Maven pom.xml for spring 2.5.5    forum.springsource.org

Apr 1st, 2011, 08:39 AM #1 jemarjemarjemar View Profile View Forum Posts Private Message Junior Member Join Date Apr 2011 Posts 20 Maven pom.xml for spring 2.5.5 Hi Experts, Just Newbie ...

23. Newbie: How to write Maven pom.xml for Spring 2.5.5    forum.springsource.org

Hi Experts, When I tried to re-use the petclinic pom.xml and just changed the spring version to 2.5.5 from 3.0.0.RELEASE, there are build errors. Can you please help me how to ...

24. help with error in adding maven dependencies    forum.springsource.org

help with error in adding maven dependencies Hello all, I'm new to STS and spring. I've been following a simple example of injection at springbyexample.com. I started by creating a new ...

25. Maven 'targets'?    forum.springsource.org

Maven 'targets'? With ant we can do: ant -p and get a nice list of applicable targets for the project. I've looked but don't see anything similar with Maven. There are ...

26. Problem after Maven import    forum.springsource.org

I am trying to make an application to access MSAccess database with spring. The moment i import Maven it is not letting me to create java class.And the logo in web-inf/lib/*.jar ...

27. No sources available in maven repo for 2.0.1.RELEASE    forum.springsource.org

The sources for spring-ws-core-2.0.1.RELEASE.jar are not available in the maven repo: http://repo1.maven.org/maven2/org/sp...2.0.1.RELEASE/ It would be very helpful when they are uploaded there.

28. Tests work in Eclipse, but not Maven (yes, another one)    forum.springsource.org

Tests work in Eclipse, but not Maven (yes, another one) I've tried searching around the web and these forums for a solution to my problem, but nothing is working out. I ...

29. Maven and AbstractDependencyInjectionSpringContextTests    forum.springsource.org

I've used it for running tests. I load the applicationContext from the class path. If you store it in the source tree, you need to copy it across with something like: ...

31. "cannot find symbol" Error on maven compile    forum.springsource.org

"cannot find symbol" Error on maven compile I wrote a classe that consumes a service from other bundle. S the package of this service is not on the classpath. When I ...

32. Tests doesn't find Spring context on Maven run, only on Eclipse.    forum.springsource.org

Tests doesn't find Spring context on Maven run, only on Eclipse. Hi, I created a Roo project and use just for persistence, no controllers or any other resources. Just a persistence ...

33. Unit tests failing while running in maven    forum.springsource.org

Unit tests failing while running in maven Using spring 3.0.5.RELEASE version. I have project that is failing to load the configuration xml files during maven test cycle with the error "Failed ...

34. Problems with Spring DM + Maven + Eclipse    forum.springsource.org

Problems with Spring DM + Maven + Eclipse Hi, i hope i found the right place to post my problem. First of all, that are my first steps into the osgi ...

35. Unit Test With Spring and Maven    forum.springsource.org

Unit Test With Spring and Maven Hi Guys, Just a beginner getting into spring and maven and was having some trouble executing my unit tests. Basically for some reason i cannot ...

36. Autowire dependencies not found Unit Test Maven    forum.springsource.org

Autowire dependencies not found Unit Test Maven Sorry about the cryptic title but I wanted to capture the essentials of the issue. I am running into a wall trying to configure ...

37. Missing 1.1.5.RELEASE Maven dependencies?    forum.springsource.org

Missing 1.1.5.RELEASE Maven dependencies? I'm trying to upgrade an old Roo-based project to 1.1.5.RELEASE. When I perform a Maven build, it complains of several missing 1.1.5 bundles from the repo. I ...

38. missing libraries on maven project    forum.springsource.org

Hi, I'm having troubles with my maven project on STS. This is telling me that is missing a lot of libraries. But they're there. on my ~/.m2/repository. So, I already clean, ...

39. Adding maven to existing project, server error    forum.springsource.org

Adding maven to existing project, server error Hi , i have recently added maven to my project in place of the /lib resource folder. But i keep getting this error when ...

40. updated to new version and maven broke    forum.springsource.org

Oct 12th, 2011, 11:56 PM #1 adam2510 View Profile View Forum Posts Private Message Member Join Date Sep 2011 Posts 47 updated to new version and maven broke i constantly get ...

41. Migration to 2.8.0 corrupted my maven projects. Help...    forum.springsource.org

Migration to 2.8.0 corrupted my maven projects. Help... I upgraded to 2.8.0 today. During migration it asked me about conversion of my maven project and I answered yes. Maven dependencies were ...

42. Building samples with Maven doesn't work    forum.springsource.org

Building samples with Maven doesn't work Good Evening, I have just tried to build the samples again (posted same issue in a message with Eclipse in the title - this has ...

43. Eclipse/Maven error: Plugin execution not covered error    forum.springsource.org

Eclipse/Maven error: Plugin execution not covered error I added the following plugin to my parent pom file to read properties from a file: org.codehaus.mojo properties-maven-plugin 1.0-alpha-2 initialize ...

44. Maven    forum.springsource.org

Hi, I just switch from Eclipse Galileo into STS 2.8 and checked on Installation Details (Help > About > Installation Details) saw it has the Maven plug-ing. I also has manually ...

45. Unobtrusive way to combine and compress javascript/css for java/spring/maven applicat    forum.springsource.org

Unobtrusive way to combine and compress javascript/css for java/spring/maven applicat I'd like to add some kind of library, or maven plugin, or 'something' to combine and compress my javascript and css ...

46. using maven's war overlay plug-in to manage some dependency injection.    forum.springsource.org

using maven's war overlay plug-in to manage some dependency injection. Dear all, I've two basic projects. A base project called 'stock'defining some interfaces and provides defaults interfaces of them. Then those ...

47. "this affected type is not exposed to the weaver" when building with maven?    forum.springsource.org

I seem to get some of these for my entities when I build my Spring Roo project with maven 3 from the command line: Code: this affected type is not exposed ...

48. Is 2.1.0.RC1 in a Maven Repo anywhere?    forum.springsource.org

49. How to use maven scopes and types not defined in the enum classes    forum.springsource.org

How to use maven scopes and types not defined in the enum classes The artifact types for flex includes "SWF", "SWC", etc... The artifact scopes have been extended in flexMojos to ...

50. Help with Maven Dependency    forum.springsource.org

Help with Maven Dependency Using STS 2.8.1 I have several projects that depend on a jar from another project. The jar project is managed by maven and Run As Maven Install ...

51. Maven 2 vs Maven 3, offical best practice?    forum.springsource.org

Maven 2 vs Maven 3, offical best practice? I have recently read people from Springsource stating that Maven 3 has issues for Spring Roo projects and that Maven 2 is recommended. ...

52. maven-apt-plugin fails to generate classes while compiling spring-data-commons-core    forum.springsource.org

maven-apt-plugin fails to generate classes while compiling spring-data-commons-core Hello! I have troubles while trying to build spring-data-commons-core from the available on GitHub sources. It fails on 'test' maven goal with very ...

53. Nightly Snapshot / Maven Problems    forum.springsource.org

Nightly Snapshot / Maven Problems Hi I am trying to get hold of the latest source, is there a downloadable nightly snapshot jar file available? I have tried a few different ...

54. maven build failing    forum.springsource.org

maven build failing test:compile: [javac] Compiling 1 source file to /usr/local/tmp/acegisecurity/acegisecurity/samples/attributes/target/test-classes test:test: [junit] Running sample.attributes.BankTests log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefi nitionReader). log4j:WARN Please initialize the log4j system ...

55. Getting started with Spring + Maven    forum.springsource.org

Getting started with Spring + Maven OK, so I'm a newbie on Maven and Spring and appreciates some inititial guidelines on how to set up a new Maven-handled Spring Web project. ...

56. Maven    forum.springsource.org

I'm looking for a Java project managment / collaboration tool and ran across Maven. Can anyone tell me their experience using Maven on Java, Spring, Struts, or any other projects? Thanks, ...

57. Maven without Internet    forum.springsource.org

I don't have access to Internet on my PC. When you used Ant, I downloaded acegi from the CVS repository and copied it to my PC and everything worked fine. Now, ...

58. Managing components / projects / dev cycle: Maven or ant?    forum.springsource.org

Managing components / projects / dev cycle: Maven or ant? A year ago we started working with Spring, meanwhile we managed to have clearer modules then without Spring .. so thanks ...

59. maven build fails    forum.springsource.org

maven build fails Hello Guys, There is a reference to a jar wich is not available on the net: D:\src\java\acegisecurity\core>maven jar:install __ __ | \/ |__ _Apache__ ___ | |\/| / ...

60. Maven Build Fails    forum.springsource.org

Hello, I tried to build the Acegi jar from the current cvs code but ran into an error. After checking out and getting the commons-attribus-plugin I tried to build all jars ...

61. Spring in a Maven Plugin    forum.springsource.org

Spring in a Maven Plugin Hi, I have recently started using Spring and have written an tool that is configured with a number of property files that are loaded from the ...

62. Testing a Spring app with Maven, based on petclinic    forum.springsource.org

Testing a Spring app with Maven, based on petclinic Hello, I'm using Spring 1.2.6, JDK 1.5 and Maven 1.0.2. After reviewing the Spring doc and the Petclinic test example (AbstractClinicTests.java etc) ...

63. Mysterious Failure with SimpleNamingContextBuilder and Maven2    forum.springsource.org

Mysterious Failure with SimpleNamingContextBuilder and Maven2 Howdy Folks, I'm encountering unexpected behaviour from SimpleNamingContextBuilder when running tests using Maven2. I've posted a query to the Maven mailing list, but haven't heard ...

64. Maven 2 POM file for springmodules 0.2    forum.springsource.org

I'm afraid the release was done too long ago and the new release eats most of the development power. Spring Modules (at least until moment) does not use maven internally but ...

65. 1.0.0-RC2 on maven Ibiblio?    forum.springsource.org

Hi, 1.0.0-RC2 isn't on ibiblio: http://www.ibiblio.org/maven2/org/ac...cegi-security/ and its also not in the waiting list: http://jira.codehaus.org/secure/Issu...ter/order=DESC Will it be uploaded? That would make it a lot easier upgrade Spring-richclient to RC2 and ...

66. Missing InvalidFormatException from full jar when using maven to build    forum.springsource.org

Missing InvalidFormatException from full jar when using maven to build Hi guys I've been using spring togheter with Jide and i am for the momen realying on an older release of ...

67. new maven archetype module created    forum.springsource.org

new maven archetype module created In order to help new developers get started on the Spring Rich Client platform more quickly, I've created a maven archetype for it. With this archetype, ...

68. M3 & Maven2    forum.springsource.org

Greetings, I guess I must be somewhat confused... Is M3 released? I see artifacts on Ibiblio's Maven2 repository, but there are no POMs. When I downloaded from CVS to try and ...

69. maven 2    forum.springsource.org

Hi, i really like Spring, but the release M2, M3 and M4 doesn't have support for Maven 2 and i think it's a shame. I wanted to use Maven2, but now ...

70. Checkout using Maven not working    forum.springsource.org

Tried to checkout the project using the following command: maven scm:checkout-project -Dmaven.scm.method=svn -Dmaven.scm.svn.module=acegisecurity -Dmaven.scm.svn.root=scm:svn:https://svn.sourceforge.net/svnroot/.../acegisecurity -Dmaven.scm.checkout.dir=acegisecurity All that was downloaded was the following directories under "repository" that (I assume) contain supporting jars: ...

71. please help! more (maven) build problems    forum.springsource.org

May 19th, 2006, 04:54 PM #1 ckemmler View Profile View Forum Posts Private Message Junior Member Join Date Jan 2006 Posts 11 please help! more (maven) build problems Hi, I'm trying ...

72. Developing Using Maven 2    forum.springsource.org

Hi all , I do not have internet connection . how to manually build local repository for maven 2 developement .. using the jar which i have in my hard disk. ...

73. Problem running maven with JAVA 1.5    forum.springsource.org

Problem running maven with JAVA 1.5 Hi when i run maven with Java 1.4 it works fine but with Java 1.5 it gives an error File not found , to resolve ...

74. Maven - too many dependencies    forum.springsource.org

I am using maven 2, spring 2.0 m5, acegi 1, and eclipse. When I add acegi security as a dependency, i get a ton of new libraries added to my eclipse ...

75. Maven build: further separation of modules?    forum.springsource.org

Maven build: further separation of modules? One of the issues I want to solve for the upcoming 1.0-M2 build is SWS-28: Maven2 build. People have been asking the Spring framework for ...

76. AbstractDependencyInjectionSpringContextTests and Maven    forum.springsource.org

Jul 28th, 2006, 05:34 PM #1 cwall View Profile View Forum Posts Private Message Junior Member Join Date Jul 2005 Posts 10 AbstractDependencyInjectionSpringContextTests and Maven Does anyone experienced with AbstractDependencyInjectionSpringContextTests and ...

77. spring dependency conflict with maven2    forum.springsource.org

Jul 30th, 2006, 08:27 PM #1 chkunert View Profile View Forum Posts Private Message Junior Member Join Date Jul 2006 Posts 7 spring dependency conflict with maven2 hello, i have a ...

78. Maven 2 modules setup    forum.springsource.org

Maven 2 modules setup Hi all, This discussion has come along a couple of times already and I was just wanting to touch base with others as to how they're using ...

79. Archetype, how to get sources vi maven?    forum.springsource.org

Archetype, how to get sources vi maven? Hi folks - ok, newish to maven but.. I create an archetype rtoject. Fine. I run mvn install and mvn eclipse:eclipse for the new ...

80. AbstractJpaTests Not Working with Maven 2    forum.springsource.org

Hi, I've tried to run an implementation of the AbstractJpaTests on Maven 2 and it systematically fails with: java.lang.ClassNotFoundException: org.springframework.test.jpa.AbstractJpaTests$Shad owingLoadTimeWeaver at org.springframework.instrument.classloading.Shadow ingClassLoader.doLoadClass(ShadowingClassLoader.ja va:97) The same test runs in Eclipse. ...

81. Maven 2.0 XmlBeanDefinitionReader fails to load application context    forum.springsource.org

Maven 2.0 XmlBeanDefinitionReader fails to load application context Hi I am trying to build an Spring Unit Test. I am not understanding why the application context cannot be found on the ...

82. Any body knows how to make @Configurable work with Maven?    forum.springsource.org

Any body knows how to make @Configurable work with Maven? The project I'm doing now uses @Configurable to inject domain objects, and it has got an Ant script to weave spring ...

83. Spring Context Reuse and Maven 2    forum.springsource.org

Spring Context Reuse and Maven 2 Hi, I've recently had a look at XFire (from my days with Axis 1.2) and have been particularly impressed. One thing which also really raised ...

84. Little Spring and Maven Rant    forum.springsource.org

Little Spring and Maven Rant It is great that the Spring 2.0 jars are all in Maven. That makes development a bit easier for many of us. Thank you Ben. However, ...

85. Maven2 with Spring 2.0 dependencies breaking tiers?    forum.springsource.org

Hi, I began the work to migrate our project to Spring 2.0 final. Our application is layered into several Maven modules according to a standard 3-tier architecture. When I added the ...

86. Acegy + Spring 2.0 and Maven    forum.springsource.org

Acegy + Spring 2.0 and Maven I'm trying to build project with Acegy 1.0.1 and Spring 2.0 with using Maven. Problem is that acegy in maven repository has dependency to spring-hibernate-1.2.7 ...

87. Cannot run JUnit Spring tests in Maven2    forum.springsource.org

Oct 23rd, 2006, 09:39 AM #1 axxa View Profile View Forum Posts Private Message Junior Member Join Date Jun 2006 Posts 22 Cannot run JUnit Spring tests in Maven2 I have ...

88. Spring 2.0 and Maven 2 problem    forum.springsource.org

Nov 1st, 2006, 03:09 AM #1 jayantkdas View Profile View Forum Posts Private Message Junior Member Join Date Jan 2006 Location Bhagalpur, India Posts 8 Spring 2.0 and Maven 2 problem ...

89. retrieving spring-rich-c from maven repo?    forum.springsource.org

I was trying to find where I can retrieve the spring-rich-c jar from the maven 2 repository without success. Is there even a Maven 2 spring-rich-c repository? If not, are there ...

90. Using AbstractDependencyInjectionSpringContextTests with Maven 2    forum.springsource.org

Hi, I'm trying to compile the SpringBuchDemo Example from www.spring-buch.de with spring 2.0 using eclipse and maven 2. I added the dependency to spring 2.0 to the pom.xml but the testclasses ...

91. SpringIDE w/ Maven2: Howto generate Config File Sets?    forum.springsource.org

Hi, I'm using Maven2 for my projects and generate all Eclipse configuration using Maven's Eclipse plugin. Now I'd like to start using SpringIDE, and I think I could add the Spring ...

92. Maven or Ant    forum.springsource.org

The Spring Framework 1.2.5 samepls are built with Ant, the Spring WS M2 samples are built with Maven. Is it planned to move to Maven for all Spring projects? Thanks QW ...

93. Spring-Mock 2.0 and 2.0.2 and Maven2    forum.springsource.org

Spring-Mock 2.0 and 2.0.2 and Maven2 Hello, In my application we were using following pom.xml. Code: org.springframework spring 2.0 org.springframework spring-mock 2.0 org.springframework ...

94. Maven2 repositories for 2.0.2    forum.springsource.org

Maven2 repositories for 2.0.2 Hi, I am currently using the 1.26 version of the spring framework and I would like to move over to the 2.0.2 version now, however, my projects ...

95. Maven Problems: NOOB    forum.springsource.org

Feb 25th, 2007, 05:50 PM #1 Yada View Profile View Forum Posts Private Message Junior Member Join Date Feb 2007 Posts 1 Maven Problems: NOOB I'm new to both maven and ...

96. New Maven error when running samples    forum.springsource.org

Hi, I'd be using the samples that come with M3 successfully until last night. Now it complains that some of the libraries are missing in the Maven repository that's being used ...

97. maven jar index    forum.springsource.org

maven jar index Hi, I am using Spring for my project and I am experiencing some problems with startup time that is about 70s. We have 1530 beans in our application ...

98. ApplicationContext placement in eclipse maven project    forum.springsource.org

What is the correct placement for the applicationContext in a maven eclipse project? I have a standard maven directory structure and the applicationContext is in the src/main/resource directory. During compilation I ...

99. maven Junit test error for spring-hibernateDAO    forum.springsource.org

maven Junit test error for spring-hibernateDAO Hi, I am getting the following error while running thru maven, I have the jars in the classpath of hibernate 2 and 3.2 versions.. Pls ...

100. args works in Eclipse, but not with maven    forum.springsource.org

args works in Eclipse, but not with maven I had this weird problem and couldn't figure it out for 2 days. First, UserManager has a method of updateUser(User manager, User user), ...