Hi patrik,

i used  this archetype type.

mvn archetype:create -DarchetypeGroupId=org.fornax.cartridges
-DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone
-DarchetypeVersion=1.1.0-SNAPSHOT
-DremoteRepositories=http://www.fornax-platform.org/m2/repository
-DgroupId=org.helloworld -DartifactId=helloworld

but still i am getting same error msg...

C:\helloworld>mvn eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Business tier project for helloworld
[INFO]    task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://repo1.maven.org/maven2/org/fornax/toolsupport/fornax-oaw-m2-plugin/1.0.4/fornax-
oaw-m2-plugin-1.0.4.pom
[WARNING] Unable to get resource
'org.fornax.toolsupport:fornax-oaw-m2-plugin:pom:1.0.4' from reposi
tory central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/fornax/toolsupport/fornax-oaw-m2-plugin/1.0.4/fornax-
oaw-m2-plugin-1.0.4.pom
[WARNING] Unable to get resource
'org.fornax.toolsupport:fornax-oaw-m2-plugin:pom:1.0.4' from reposi
tory central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.fornax.toolsupport
ArtifactId: fornax-oaw-m2-plugin
Version: 1.0.4

Reason: Unable to download the artifact from any repository

  org.fornax.toolsupport:fornax-oaw-m2-plugin:pom:1.0.4

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Nov 05 10:46:45 IST 2007
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------



 help me on this issue.

By,
Sam.R
9902199334



Patrik Nordwall wrote:
> 
> We have simplifed this by providing another archetype. Thanks for your
> feedback.
> 
> With the following archetype command there is no need for manual
> adjustments of the pom.
> 
> mvn archetype:create -DarchetypeGroupId=org.fornax.cartridges
> -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone
> -DarchetypeVersion=1.1.0-SNAPSHOT
> -DremoteRepositories=http://www.fornax-platform.org/m2/repository
> -DgroupId=org.helloworld -DartifactId=helloworld
> 
> 
> Patrik Nordwall wrote:
>> 
>> Yes, another bug in the documentation. There are some version properties
>> that must be defined. Add this to the pom:
>>      <properties>
>>              <fornax-oaw-m2.version>1.0.4</fornax-oaw-m2.version>
>>              <hibernate.version>3.2.5.ga</hibernate.version>
>>              <spring.version>2.0.4</spring.version>
>>              <log4j.version>1.2.8</log4j.version>
>>              <commons-logging.version>1.0.3</commons-logging.version>
>>              <sculptor.version>1.1.0-SNAPSHOT</sculptor.version>
>>      </properties>
>> 
>> The archetypes are designed for multi project layout (see Archetype
>> tutorial) and therefore it gets complicated to use the same archetype for
>> a standalone project like this. I think we have to provide another
>> archetype for this standalone scenario.
>> 
>> 
>> pietro.mc wrote:
>>> 
>>> 
>>> Patrik Nordwall wrote:
>>>> 
>>>> The maven command in the documentation was wrong. Sorry for that. I
>>>> have corrected the doc. The correct archetype command is:
>>>> 
>>>> mvn archetype:create -DarchetypeGroupId=org.fornax.cartridges
>>>> -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype
>>>> -DarchetypeVersion=1.1.0-SNAPSHOT
>>>> -DremoteRepositories=http://www.fornax-platform.org/m2/repository
>>>> -DgroupId=org.helloworld -DartifactId=helloworld
>>>> 
>>>> /Patrik
>>>> 
>>>> 
>>> 
>>> Thanks that helped.  However I am not out of the woods yet.   It seems
>>> the fornax-oaw-me-plugin pom cannot be found.  I have added the 2 fornax
>>> repositories in the settings.xml file, and looking through the log, it
>>> seems that these are searched, but the proper file cannot be located.  
>>> Looking at
>>> http://www.fornax-platform.org/m2/repository/org/fornax/toolsupport/fornax-oaw-m2-plugin/1.1.0-SNAPSHOT/
>>> the file should be there, but for some reason it cannot be found.   Any
>>> ideas?
>>> 
>>> 
>>> 
>>> Downloading:
>>> http://www.fornax-platform.org/m2/repository/org/fornax/toolsupport
>>> /fornax-oaw-m2-plugin/${fornax-oaw-m2.version}/fornax-oaw-m2-plugin-${fornax-oaw
>>> -m2.version}.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/fornax/toolsupport/fornax-oaw-m2-
>>> plugin/${fornax-oaw-m2.version}/fornax-oaw-m2-plugin-${fornax-oaw-m2.version}.po
>>> m
>>> Downloading:
>>> http://www.fornax-platform.org/m2/repository/org/fornax/toolsupport
>>> /fornax-oaw-m2-plugin/${fornax-oaw-m2.version}/fornax-oaw-m2-plugin-${fornax-oaw
>>> -m2.version}.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/fornax/toolsupport/fornax-oaw-m2-
>>> plugin/${fornax-oaw-m2.version}/fornax-oaw-m2-plugin-${fornax-oaw-m2.version}.po
>>> m
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Error building POM (may not be this project's POM).
>>> 
>>> 
>>> Project ID: org.fornax.toolsupport:fornax-oaw-m2-plugin
>>> 
>>> Reason: POM 'org.fornax.toolsupport:fornax-oaw-m2-plugin' not found in
>>> repositor
>>> y: Unable to download the artifact from any repository
>>> 
>>>  
>>> org.fornax.toolsupport:fornax-oaw-m2-plugin:pom:${fornax-oaw-m2.version}
>>> 
>>> from the specified remote repositories:
>>>   fornax.repository (http://www.fornax-platform.org/m2/repository),
>>>   fornax.plugin.repository
>>> (http://www.fornax-platform.org/m2/repository),
>>>   central (http://repo1.maven.org/maven2)
>>>  for project org.fornax.toolsupport:fornax-oaw-m2-plugin
>>> 
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2 seconds
>>> [INFO] Finished at: Mon Oct 29 13:17:16 CET 2007
>>> [INFO] Final Memory: 2M/5M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Correct-pom.xml-in-Hello-World-Tutorial-tf4710259s17564.html#a13581628
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to