maven 3 « Development « Spring Q&A





1. Application developement using Spring and Maven    forum.springsource.org

Dear all , I want to use Maven2 for application developement with Spring . Presently I do not have regular Internet Connection . Is it possible to use Maven2 instead of ...

2. Maven: *-sources.jar for spring-portlet is missing    forum.springsource.org

Currently the maven plugin: maven-eclipse-plugin connects sources to jar files using the convention on having -sources.jar at the end of filenames. The problem here is that even though spring-2.0-sources.jar includes source ...

3. spring build with maven!    forum.springsource.org

spring build with maven! Hello, i just convert my myeclipse build into maven build, but my working project stoped working. every thing seems fine when my spring bean is deploying under ...

4. Upload of module sources to repo1.maven.org/maven2    forum.springsource.org

Upload of module sources to repo1.maven.org/maven2 Hi, could you also upload the sources jars of the spring sub artifacts like spring-beans, -core etc. into the maven repository, too. I know that ...

5. Spring IDE and Maven: Config Files and Config File Sets    forum.springsource.org

Is there a way to generate Spring IDE Config Files and Config File Sets using Maven? I can't find any instructions or FAQ on how to generate the .springBeans through Maven. ...

6. mappingJarLocations problem / Maven2    forum.springsource.org

mappingJarLocations problem / Maven2 hi all, i know i should post this to maven list but it is about spring and i am sure someone here is using maven for building ...

7. Maven 2 and WebSphere 6.x    forum.springsource.org

Sorry if this is a bit off the topic, but given the huge knowledge base of the users of this site I wanted to ask: is anyone using Maven 2 to ...

8. Problem with maven Eclipse plugin    forum.springsource.org

Problem with maven Eclipse plugin Hi Arjen, I have created a small application very similar to the airline sample and it runs perfectly on Jetty if I use Maven from the ...

9. Airline example maven issue    forum.springsource.org

Aug 18th, 2007, 11:26 PM #1 peter_he View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Posts 3 Airline example maven issue When I run mvn -e ...





10. import maven projects into eclipse    forum.springsource.org

import maven projects into eclipse Hi, I would like to derive an eclipse project from the airline tutorial. My goal is to be able to develop, debug and deploy from Eclipse. ...

11. maven dependency unavailable    forum.springsource.org

maven dependency unavailable Hello, I'm using Eclipse with SVN and Maven2 plugin. I've checked out spring batch from the repository and tried to run the maven install. The following problem occured: ...

12. news about maven & springide?    forum.springsource.org

Hi, I'm guessing here, but I think you are referring to the creation of Eclipse project description files by using the mvn eclipse:eclipse goal. There is currently no maven plugin that ...

13. how to use maven to manage the project    forum.springsource.org

hello all here: i heard the 2.5 is released,i wanna to use it in my project ,but i don't known where to download the maven jars of the URL,can u tell ...

14. Maven 2 repo for Spring 2.5?    forum.springsource.org

Hi, I'd like to download spring 2.5 rc1 with maven for our projects. Is there any public available maven repositories holding the official release of spring 2.5rc1? thanks, Kristof

15. How to run Spring with Maven in Eclipse?    forum.springsource.org

How to run Spring with Maven in Eclipse? I do have Spring project finally up-and-running. The challenge now is to make this application to run in Maven project. I have copied ...

16. Maven 2.0.8 problematic for Spring wildcard matching in testing    forum.springsource.org

Maven 2.0.8 problematic for Spring wildcard matching in testing For my unit testing, I have my Spring application context files in my src/test/resources directory. I am telling Spring to load it ...





17. spring jars won't play with maven assembly    forum.springsource.org

spring jars won't play with maven assembly Hi, I've a project using maven and spring. I am trying to use a few spring component jars (e.g. spring-beans.jar, spring-aop.jar and a few ...

18. META-INF/spring-schemas and maven2's jar-with-dependencies assembly    forum.springsource.org

META-INF/spring-schemas and maven2's jar-with-dependencies assembly Quick background, I have a feed crawler implemented as a standalone spring application that I deploy to the server by using maven 2's jar-with-dependencies assembly. I ...

19. Error while running unittest with Maven    forum.springsource.org

Dec 13th, 2007, 10:13 AM #1 bouroy79 View Profile View Forum Posts Private Message Junior Member Join Date Dec 2007 Posts 3 Error while running unittest with Maven Hi guys, sorry ...

20. why move the class amount maven packages all the time ?    forum.springsource.org

why move the class amount maven packages all the time ? Hi, I understand that there was quite some changes in the packaging(where classes are packaged in which maven package/jar) from ...

21. Tiles 2 Maven dependencies    forum.springsource.org

22. Spring modules and maven    forum.springsource.org

Spring modules without maven Hello: I recently began using spring dynamic modules and was read part of the reference. I've never used maven (only ant), and I wanna create a project ...

23. Not Spring, but for Maven.    forum.springsource.org

Not Spring, but for Maven. I've looked around and I can't find anything to fix my problem. I'm hoping a lot of other Spring users use Maven also and can at ...

24. Maven setup for Spring project    forum.springsource.org

Hi, Can someone point me as to how setup a maven project (import-able to eclipse) for Spring in conjunction with Hibernate and maybe JSF or Struts2 or Wicket for that matter, ...

25. maven repo?    forum.springsource.org

It would be very nice if spring-integration was available in a maven repo (either snapshots or milestones - or both). This would probably also allow for more intensive testing by external ...

26. Spring Modules 0.9 and Maven    forum.springsource.org

There were a number of issues last time, and given the demand was pretty small (as far as we could see) we decided not to for this release. If this is ...

27. How to enable default commands generated by maven    forum.springsource.org

How to enable default commands generated by maven The standard project generated by maven contains a full set of Menus. In particular, they have the Edit -> cut -> copy -> ...

28. @Autowired does not work under Maven    forum.springsource.org

@Autowired does not work under Maven Hello! I'm moving my unit-tests from JUnit 3.8 to JUnit 4.4 and switching them to use new annotations from Spring 2.5. As result everything works ...

29. Where is the Maven2 repo of Spring Intgration?    forum.springsource.org

The Spring Integration project uses an ANT and Ivy based build system that resolves dependencies from a private repository. In this repository we've used a consistent set of naming conventions (that ...

30. How long until 1.5 Final is in maven repo?    forum.springsource.org

It seems like we are having issues synching with the main maven repo (again). Things will be resolved soon, I hope. In the mean time, we are putting the jars up ...

31. Maven pom uses unusual groudId's    forum.springsource.org

Seems that spring-integration-adapters M3 has a dependencies to groupId's "org.apache.oro" (instead of "oro") and "org.apache.commons" instead of "commons-net". Is this "by design" ? It looks like this groudId's are much logical ...

32. Cannot find lifecycle mapping for packaging: 'maven-archetype'    forum.springsource.org

Cannot find lifecycle mapping for packaging: 'maven-archetype' When trying to do mvn install I receive the following: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot find lifecycle mapping for packaging: 'maven-archetype'. Component ...

33. Spring DM JUNIT Testing without Maven    forum.springsource.org

I've done a lot of reading so far but i just wann be like 100% sure. Can I use the Spring DM Junit Testing facilities only together with maven, or at ...

34. maven.springframework.org outage    forum.springsource.org

35. A way towards Maven clean dependencies...    forum.springsource.org

A way towards Maven clean dependencies... As I was trying to upgrade to webflow 2.0.1 using Maven dependency system, I finally ran across (and it wasn't easy) this post: http://forum.springframework.org/showthread.php?t=53933 Any ...

36. Missing maven sources for Spring submodules    forum.springsource.org

As soon as 2.5.4 got out, I've switched to it, but only a complete spring framework had sources deployed/attached in maven repositories, while submodules (web, web-mvc, tx, ...) didn't have sources. ...

37. Problem with Maven    forum.springsource.org

Problem with Maven Hello, I have some problems to create a webservice project with maven, as described in tutorial. When I try to execute this command : Code: mvn archetype:create -DarchetypeGroupId=org.springframework.ws ...

38. Maven pom for 2.0.1 and 2.0.2-SNAPSHOT has old dependancy    forum.springsource.org

Maven pom for 2.0.1 and 2.0.2-SNAPSHOT has old dependancy Still has spring-support. org.springframework spring-support runtime should be updated so the 2.5.4 jar and not the 2.0.8 one is brought ...

39. Spring, Maven, Eclipse    forum.springsource.org

Spring, Maven, Eclipse Hello, I'm sure this is an issue with the maven-eclipse-plugin, and not an issue with Spring or Maven, but I'm sure someone here has run into this issue. ...

40. Maven dependency question    forum.springsource.org

Maven dependency question Hi - I notice that if my Maven pom.xml has only the following spring-ws dependency: org.springframework.ws spring-ws-core 1.5.2 then the spring-related files pulled into a WAR ...

41. SpringIDE with maven    forum.springsource.org

I am using maven build and continous integration for our development process. So, I would like to find any support for Spring IDE using maven, but I cannot find any Is ...

42. spring-modules-0.9 in maven repo?    forum.springsource.org

The last version of spring-modules in the Maven repo is 0.8a. When will version 0.9 be added? That would do us great pleasure!

43. Maven and Eclipse    forum.springsource.org

Since I am new to Spring Web Services I tried the tutorial. Unfortunately I haven't even managed to create an eclipse project by using the maven plugin. Somehow it is possible ...

44. Is there osg-plugin:explicitImportPackage equivalent in the maven-bundle-plugin?    forum.springsource.org

Is there osg-plugin:explicitImportPackage equivalent in the maven-bundle-plugin? Hi All, I have a bundle with only spring contexts, no java classes. I used maven-bundle-plugin to explicitly import packages from other bundles where ...

45. [HELP] Maven repo 1 down for 2.5.1???    forum.springsource.org

Hello together! Is there a problem with mavens repo1, cause I am not able to download any spring-xxx-2.5.1.jar-stuff. I encounter the same problem whith sourceforge, no chance to download spring-with-dependencies ZIP-file. ...

46. Unable to run AbstractJpaTests from Maven (surefire)    forum.springsource.org

Unable to run AbstractJpaTests from Maven (surefire) Not sure if this question belongs here but hopefully someone has experienced the same thing. We are using AbstractJpaTests and can successfully execute tests ...

47. maven surefire and application context aware    forum.springsource.org

maven surefire and application context aware Hi, Talking about two tests, that are in one module, which I build with maven. Maven launches those two tests with it's surefire plugin. The ...

48. XML in maven dependency    forum.springsource.org

Hey, I'm having trouble getting a xml into my bean config sets. The xml in question is located in a jar that we get from a maven dependency. Is there a ...

49. maven    forum.springsource.org

Hi, I am using maven to compile my code. I need to specify the path from where can maven download spring jars. For example: http://www.ibiblio.org/maven What is the path to download ...

50. maven repo stale    forum.springsource.org

At this repo the latest version is M3. Right now M6 is out but not in the repo. http://s3.amazonaws.com/maven.springframework.org/ Are you using a different milestone repo now? (one needs to download ...

51. newbie lost trying to test with maven    forum.springsource.org

newbie lost trying to test with maven So I'm not doing something right. I have a test class that looks like the following Code: @ContextConfiguration public final class EduUserDetailsServiceTest extends AbstractTestNGSpringContextTests ...

52. Still no maven repo    forum.springsource.org

I've got these repo definitions: com.springsource.repository.bundles.release SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases http://repository.springsource.com/maven/bundles/release com.springsource.repository.bundles.external SpringSource Enterprise Bundle Repository - External Bundle Releases http://repository.springsource.com/maven/bundles/external But ...

53. How to manage bundle dependency ONLY in maven POM ?    forum.springsource.org

How to manage bundle dependency ONLY in maven POM ? Hi all, My current project is using maven to manage the dependency, POM is the first-class for project dependency information. Eclipse-project ...

54. Unable to locate Spring NamespaceHandler when using Maven    forum.springsource.org

Unable to locate Spring NamespaceHandler when using Maven Hi, I just upgraded to RC1 and tried the examples using Maven. Whenever the stream xsd (spring-integration-stream-1.0.xsd) is included in the namespace declaration, ...

55. maven2 compilation pb    forum.springsource.org

hi everybody, i'm a new user of spring and maven and i have some problem in compiling a source class. Acctually, the class was developped using spring 2.5 and i want ...

56. Unable to build using Maven    forum.springsource.org

Unable to build using Maven Hello: I am trying to do a build using maven. I have added the following tags, but its not able to resolve the dependencies. org.springframework.batch ...

57. BundleIntegrationTests with LoadTimeWeaving and Maven    forum.springsource.org

BundleIntegrationTests with LoadTimeWeaving and Maven Hi, i have some problems to get my tests running. I build some bundles with Maven and want to test with the "AbstractConfigurableBundleCreatorTests". But i got ...

58. Create skel with maven    forum.springsource.org

59. Splifiy maven dependencies    forum.springsource.org

Splifiy maven dependencies I was wondering if it would be possible to simplify the dependencies in the pom.xml for the spring modules. For example spring-orm depends on commons-logging. It also depends ...

60. Maven Dependencies for Spring DM IntegrationTests    forum.springsource.org

Maven Dependencies for Spring DM IntegrationTests Hello, I've been trying to configure an integration test using maven 2.0.7 and Eclipse Ganymede (4.3.1): at this stage I am simply trying to verify ...

61. petclinic test in maven2    forum.springsource.org

petclinic test in maven2 Hi, Have problems getting the petclinic tests (hibernate) to work with maven. I have renamed the test classes to end with Test and not Tests. The Test ...

62. Maven Build failed with 2.0.0.M3 Release    forum.springsource.org

Maven Build failed with 2.0.0.M3 Release I am getting a error saying missing artifact when trying to run using maven ... 2.0.0.M3 release. error is Code: Missing: ---------- 1) org.springframework.batch:org.springframework.batch.core:jar:2.0.0.M3 Try ...

63. Maven Jaxb2 jaxb2_commons config problems    forum.springsource.org

Dec 23rd, 2008, 09:00 PM #1 Manco View Profile View Forum Posts Private Message Junior Member Join Date Apr 2007 Posts 14 Maven Jaxb2 jaxb2_commons config problems I am using JAXB2 ...

64. Maven2 and SpringIntegration    forum.springsource.org

Maven2 and SpringIntegration Hi All, I'm using maven2 for my project. I'm using the repositories: I want to use spring ws also, but the artifacts are named diferently as integration so ...

65. How to import ModelAndViewAssert in Maven2?    forum.springsource.org

How to import ModelAndViewAssert in Maven2? Hi, I'm writing some test for my web layer; I was going to use AbstractModelAndViewTests but I'm using JUnit 4 and the documentation suggests ModelAndViewAssert ...

66. Maven bundle plugin issue    forum.springsource.org

Hi, I am using the Maven BND plugin to create manifest for my Spring DM bundles. However, the build fails with the plugin reporting: Code: [ERROR] Error building bundle com.example.app:clientsdk:bundle:1.0 : ...

67. Maven2 dependency error    forum.springsource.org

Maven2 dependency error Hi. I am trying to do the tutorial and introduce Spring Security into my web application. I am using the Maven2 plugin by Code Haus to add the ...

68. Can't find maven artifact org.springframework:org.springframework.agent:jar: 3.0.0.M2    forum.springsource.org

Can't find maven artifact org.springframework:org.springframework.agent:jar: 3.0.0.M2 Hi I'm using Spring 3.0 M2 maven artifacts in my project. In my DAO layer, I am using AspectJ load time weaving. To make it ...

69. bundlor: generate MANIFEST from maven    forum.springsource.org

Hello, I use maven as build tool and eclipse as IDE, but I would like to be independent from the used IDE. Also generating the MANIFEST.MF from eclipse needs to synchronise ...

70. spring-servlet maven dependency    forum.springsource.org

spring-servlet maven dependency Hi Springers, I've been trying to find the maven dependency declaration for spring-web-servlet but no success so far. I have look in many searchers like google, yahoo, mvnrepository.com/artifact/org.springframework ...

71. spring on mac weirdness with maven    forum.springsource.org

spring on mac weirdness with maven i have a set of spring config files broken out into beans, jdbc, and jms config snippets. The jdbc one for testing is a set ...

72. spring-maven-plugin ?    forum.springsource.org

Hi, I would like to validate the Spring Configuration Files I have in my Maven projects in an integration environment... Does a Maven plugin exists already ? Or is something planned ...

73. Spring Maven Archetype question    forum.springsource.org

Spring Maven Archetype question Hi. If I generate a spring osgi archetype using maven (2.0.8) with mvn archetype:generate and then select the option for spring-osgi-bundle-archetype (Spring-OSGi archetype) It then builds a ...

74. REQUEST: Please post JavaDoc and Source Jars to your maven repo    forum.springsource.org

REQUEST: Please post JavaDoc and Source Jars to your maven repo Hello, Could someone with rights to do so please commit your source and JavaDoc jars to your maven repo? If ...

75. Spring 1.5.7 Samples - Maven Dependency Missing    forum.springsource.org

Just in case anyone runs across the same issue. Here is a quick fix. The samples didn't seem to run for me due to a missing maven dependency in the spring-ws-parent ...

76. Missing Maven dependencies    forum.springsource.org

Hi guys, I'm getting dependency errors when I try to run test/run a roo project. Missing these jars. I know that I can manually installing them into my local m2 repo, ...

77. Spring 3.0 and Maven    forum.springsource.org

Spring 3.0 and Maven Maybe this is the wrong place to ask, I'm pretty sure this is being discussed elsewhere, but I thought I'd give Spring 3 a try in a ...

78. Spring IDE (Eclipse) errors in template.mf when using maven and bundlor    forum.springsource.org

Spring IDE (Eclipse) errors in template.mf when using maven and bundlor I using Eclipse 3.5 with the Spring IDE as described in this blog post. I am using maven with the ...

79. Configuring and running hbm2ddl with maven    forum.springsource.org

Configuring and running hbm2ddl with maven Hello, I'm on a quest to reduce some redundancy in our Spring persistence configuration layer. I apologize ahead of time for the breadth of this ...

80. a beginners problem using Spring XT Framework, Maven, and Eclipse    forum.springsource.org

a beginners problem using Spring XT Framework, Maven, and Eclipse Having trouble getting the springxt.js file to include in my jsp file properly. Working with a Spring project in Eclipse that ...

81. problem with deploying my app. (based on maven)    forum.springsource.org

problem with deploying my app. (based on maven) Hi, first I should apologize because of posting this topic here, because it's not exactly a spring issue, sorry friends .... Problem : ...

82. Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-surefire    forum.springsource.org

Jul 28th, 2009, 05:08 AM #1 sudhakar_karnati View Profile View Forum Posts Private Message Junior Member Join Date Jul 2009 Posts 7 Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-surefire Hi ...

83. Most up-to-date Petclinic that uses a Maven build?    forum.springsource.org

Not sure of the best forum to ask this.. but I'm curious what the link is to the most up-to-date Petclinic (spring2.5) that uses a Maven build? Is this one considered ...

84. Maven failed to resolve artifact: com.googlecode.jtype    forum.springsource.org

Maven failed to resolve artifact: com.googlecode.jtype I tried to build the Spring Roo wedding project using the information from this URL: http://blog.springsource.com/2009/05/27/roo-part-2/ I tried this twice and got the same result. ...

85. Cannot download maven sources jar for 3.0.0.M2    forum.springsource.org

Hi, sources jars seams to be inaccessible for the latest milestone. 8/25/09 9:20:21 PM CEST: [DEBUG] Unable to get resource 'org.springframework.security:spring-security-core:jar:sources:3.0.0.M2' from repository maven.springframework.org.milestone (http://maven.springframework.org/milestone) Authorization failed: Access denied to: http://maven.springframework.org/mil...M2-sources.jar ...

86. Maven dependency listing    forum.springsource.org

Maven dependency listing Hi, I would like to see somewhere in the documentation (please correct me if I am wrong) a listing of the maven dependencies you can use for the ...

87. Newbie: Create a new Spring project with Maven    forum.springsource.org

Hello, sorry for this very newbie question but I would like to create a new Spring project with Maven but unfortunately I did not get any info on how to do ...

88. Version 3 available in any Maven Repositories?    forum.springsource.org

Version 3 available in any Maven Repositories? Hi there I'd like to start using the 3.0.0.M4 release of Spring so that I can make use of java-based configuration with annotations. Can ...

89. Spring Test using Maven    forum.springsource.org

Spring Test using Maven Hi, I have created testcases using spring-test 2.5.6. I am trying to build them using maven. Note that I am adding spring-test jar in maven build as ...

90. I am so fed up with Maven, and dependancy management in general    forum.springsource.org

Sep 18th, 2009, 01:34 AM #1 mystic View Profile View Forum Posts Private Message Senior Member Join Date May 2009 Posts 246 I am so fed up with Maven, and dependancy ...

91. Maven Repo for RC01?    forum.springsource.org

I just downloaded them using Ivy from:

92. Maven dependencies starting by com.springsource.    forum.springsource.org

Hi, Does anybody know why all artifactIds in my dependencies (except springframework's ones) start with com.springsource? I find that a little bit weird. If I want to use "standard" jars and ...

93. Maven tests failure after clean    forum.springsource.org

Hi, I create some mock tests for my entities. If I run mvn clean test, it failed because Code: Entity manager has not been injected (is the Spring Aspects JAR configured ...

94. maven repo is unable to find    forum.springsource.org

maven repo is unable to find Hi all, I'm testing the wedding sample from spring blog (http://blog.springsource.com/2009/05/27/roo-part-2/), when I run the "perform test" command, errors appear, one of them is : ...

95. Is Spring 3.0 available on any maven repo yet?    forum.springsource.org

Is Spring 3.0 available on any maven repo yet? Hello, I am a maven user and want to get started with Spring 3.0 (presently 3.0.0.RC1). Is it available on any public ...

96. maven and spring-3.0.0.RC1    forum.springsource.org

maven and spring-3.0.0.RC1 I have co spring-framework-3.0.0.RC1, and done $ ant $ ant publish-maven-local I want to use this for Graigs Wall's hello world example. So $ vi pom.xml 3.0.0.RC1 ...

97. Official Maven2 repo for spring "release" JARs ?    forum.springsource.org

Official Maven2 repo for spring "release" JARs ? I'm trying to use Maven2 in Eclipse, I'm wanting my product to include a dependency by just browsing the available repositories. So far ...

98. maven coordinates for 3.0.0.RC1 artifacts...?    forum.springsource.org

maven coordinates for 3.0.0.RC1 artifacts...? any one know how to get a listing or keyword search for maven coordinates for 3.0.0.RC1 artifacts...? i have the repository urls, but not sure how ...

99. Maven dependency resolution busted    forum.springsource.org

Maven dependency resolution busted Have a multi-module maven project. Each module is an eclipse project. After upgrading STS 2.2.0 to 2.2.1 through the Eclipse updater, I was setting up spring bean ...

100. Add maven "system" type dependencies    forum.springsource.org

I'm developing a addon for Roo. Is there any way to add a maven "system" type dependency to the resulting project pom ? In the Roo source code, the Dependency class ...