aspose file tools*
The moose likes Aspect Oriented Programming and the fly likes Unable to create Spring AOP archetype using Maven in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Aspect Oriented Programming
Bookmark "Unable to create Spring AOP archetype using Maven in Eclipse" Watch "Unable to create Spring AOP archetype using Maven in Eclipse" New topic
Author

Unable to create Spring AOP archetype using Maven in Eclipse

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hello,

I have m2eclipse plugin installed in Eclipse 3.7.

I want to create a spring project with dependencies like aop, context etc. of version 3.0.2 using Maven 3.

So which default archetype should I use ? e.g. the one with artifact ID org.springframework.osgi

I tried to create an archetype with GroupID org.springframework, Artifact Id : spring-aop, Version 3.0.2.RELEASE, but got error saying that the defined artifact is not an archetype for both spring-aop & spring-context.

Please advise.


Thanks,
Pramod
Atul Kotwale
Greenhorn

Joined: Dec 22, 2011
Posts: 17
create a maven project for the jar and in pom.xml add decencies for spring3.0. If you want to create web application then WAR archetype is also present.
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hi Atul,

I'm not sure about WAR archetype.
Is it fine if I use org.springframework.osgi ?
Also what is the reason behind not able to create a new archetype ?
Atul Kotwale
Greenhorn

Joined: Dec 22, 2011
Posts: 17
I have created several project using war archetype that is why i suggested you. I do not know exact reason why you do not create it ?
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

You mean to say the one with the Artifact Id ' spring-mvc-webapp' ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to create Spring AOP archetype using Maven in Eclipse
 
Similar Threads
maven struts2 plugins
Wanted: Maven archetype for Minimal Spring MVC/JSP page
java.util.MissingResourceException: Can't find bundle for base name in JSF Spring Maven project
Ivy Settings Issue
Problem with Spring AOP