Blank archtype not working?

View: New views
3 Messages — Rating Filter:   Alert me  

Blank archtype not working?

by Sanjaya Kumar Patel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I am new to struts. While trying to create a blank maven project from the blank archetype as suggested here:

http://struts.apache.org/2.1.8/docs/struts-2-blank-archetype.html

I am getting error message:

[INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:jar:2.1.6' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] The desired archetype does not exist (org.apache.struts:struts2-archetype-blank:2.1.6)

I browsed maven and indeed the archetype does not exist.

Need clue on creating a blank struts 2.1.8 maven project.

thanks,
Sanjay
     
_________________________________________________________________
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop

Re: Blank archtype not working?

by Lukasz Lenart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/7 Sanjaya Kumar Patel <skpatel20@...>:
> Need clue on creating a blank struts 2.1.8 maven project.

You can try that way:

mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/

I'm working on the rest and hopefully they will be released soon ;-)


Regards
--
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


RE: Blank archtype not working?

by Sanjaya Kumar Patel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> You can try that way:
>
> mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/
>
> I'm working on the rest and hopefully they will be released soon ;-)

Thanks for help, Lukasz. I was able to create my eclipse application using the tutorial here:



http://agafix.org/struts2-hello-world-example-eclipse-maven2/ (remember
to have m2eclipse with "Maven Integration for WTP" feature installed)


Sanjay
http://www.sanjaypatel.name

     
_________________________________________________________________
Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop