As per your suggestion, I have modified the code like this,
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-jsf
Now i am getting different error,
C:\Program Files\Apache Software Foundataion\apache-maven-2.0.9>mvn
org.apache.m
aven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=org.ap
pfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment:
[org.apache.maven.plugins:maven-archetype-plugin:1.0-alp
ha-7:create] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.pr
operties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.
ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any
resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org
.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
M_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: null
[INFO] artifact org.appfuse.archetypes:appfuse-basic-jsf: checking for
updates f
rom atlassian-public
[WARNING] repository metadata for: 'artifact
org.appfuse.archetypes:appfuse-basi
c-jsf' could not be retrieved from repository: atlassian-public due to an
error:
Error transferring file
[INFO] Repository 'atlassian-public' will be blacklisted
[INFO] artifact org.appfuse.archetypes:appfuse-basic-jsf: checking for
updates f
rom atlassian-m1-repository
[WARNING] repository metadata for: 'artifact
org.appfuse.archetypes:appfuse-basi
c-jsf' could not be retrieved from repository: atlassian-m1-repository due
to an
error: Error transferring file
[INFO] Repository 'atlassian-m1-repository' will be blacklisted
[INFO] artifact org.appfuse.archetypes:appfuse-basic-jsf: checking for
updates f
rom central
[WARNING] repository metadata for: 'artifact
org.appfuse.archetypes:appfuse-basi
c-jsf' could not be retrieved from repository: central due to an error:
Error tr
ansferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.appfuse.archetypes
ArtifactId: appfuse-basic-jsf
Version: RELEASE
Reason: Unable to determine the release version
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.appfuse.archetypes
-DartifactId=appfu
se-basic-jsf -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.appfuse.archetypes
-DartifactId=appfuse
-basic-jsf -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -D
repositoryId=[id]
org.appfuse.archetypes:appfuse-basic-jsf:jar:RELEASE
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Wed Jan 07 18:15:28 IST 2009
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------
C:\Program Files\Apache Software Foundataion\apache-maven-2.0.9>
Please help me to resolve out the error.
Thanks
Sundaravel N
mraible wrote:
>
> Like you did with the Atlassian archetype, I'd try starting the
> command with "mvn
> org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create".
>
> Matt
>
> On Tue, Jan 6, 2009 at 9:54 PM, sundaravel <[email protected]>
> wrote:
>>
>> Thanks Ice-Man,
>>
>> I got the information from QuickStart guide the web application projects
>> will be created in my local using Maven command.
>>
>> To create a JSF basic project, I have used the following code,
>> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
>> -DarchetypeArtifactId=appfuse-basic-jsf
>> -DremoteRepositories=http://static.appfuse.org/releases
>> -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app
>> -DartifactId=myproject
>>
>> from Quick Start guide,
>>
>> I got the following error,
>>
>> C:\Documents and Settings\Administrator>mvn archetype:create
>> -DarchetypeGroupId=
>> org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf
>> -DremoteRepositor
>> ies=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2
>> -DgroupId=com.my
>> company.app -DartifactId=myproject
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>> [INFO] org.apache.maven.plugins: checking for updates from
>> atlassian-public
>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
>> be
>> retri
>> eved from repository: atlassian-public due to an error: Error
>> transferring
>> file
>> [INFO] Repository 'atlassian-public' will be blacklisted
>> [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking
>> for up
>> dates from central
>> [WARNING] repository metadata for: 'artifact
>> org.apache.maven.plugins:maven-arch
>> etype-plugin' could not be retrieved from repository: central due to an
>> error: E
>> rror transferring file
>> [INFO] Repository 'central' will be blacklisted
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
>> not
>> exi
>> st or no valid version could be found
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 second
>> [INFO] Finished at: Tue Jan 06 18:25:53 IST 2009
>> [INFO] Final Memory: 1M/4M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> C:\Documents and Settings\Administrator>
>>
>> Already I have used Confluence for Plugin development.
>>
>> To create a Confluence Plugin project, in the same command prompt, i have
>> executed the following code,
>>
>> mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
>> -DarchetypeGroupId=com.atlassian.maven.archetypes
>> -DarchetypeArtifactId=confluence-plugin-archetype -DarchetypeVersion=12
>> -DremoteRepositories=https://maven.atlassian.com/repository/public/
>> -DgroupId=com.ibm.in.sne.confluence.plugins.demo -DartifactId=Demo-Macro
>>
>> New Demo-Macro project is created.
>>
>> Guide me, what is the error with my previous comand.
>> How i will create a AppFuse JSF basic project.
>>
>> Thanks
>> Sundaravel N
>>
>>
>> sundaravel wrote:
>>>
>>> Hi, i have tried to get the source code [Java and Jsp ] files of
>>> AppFuse,
>>>
>>> I have followed the documentation which is mentioned in the site,
>>>
>>> I have downloaded the CollabNet Subversion server,
>>> after I have used the following command from my location,
>>> svn checkout https://appfuse.dev.java.net/svn/appfuse/trunk appfuse
>>>
>>> I am not able to downloaded the Source code of the AppFuse,
>>> let me know how i get the source code,
>>>
>>> Thanks
>>> Sundaravel N
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/I-am-not-able-to-get-the-Source-code-of-AppFuse-tp21215976s2369p21324913.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/I-am-not-able-to-get-the-Source-code-of-AppFuse-tp21215976s2369p21330768.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]