You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by napoleon <xu...@yahoo.com.cn> on 2007/03/17 20:16:41 UTC

Unable to download the artifact from any repository

when i execute the following command in the cmd

mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
                     -DarchetypeArtifactId=portal-archetype 
                     -DarchetypeVersion=2.1-dev 
                     -DgroupId=org.apache.portals.tutorials
                     -DartifactId=jetexpress
                     -Dversion=1.0

i got the following errors:

[WARNING] Unable to get resource
'org.apache.portals.jetspeed-2:portal-archetype
:jar:2.1-dev' from repository central (http://repo1.maven.org/maven2)

who can help me?
-- 
View this message in context: http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf3420191.html#a9532438
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.

Re: Unable to download the artifact from any repository

Posted by wtsai <wt...@cht.com.tw>.
Hi,

I encounter the same prblem too. It seems not solved for over two months.
Can anyone please help me!



manisha_00 wrote:
> 
> Hi,
> 
> I'm very new to jetspeed, I followed the jetspeed tutorial, I came to a
> point where I had to create the custom portal name
> 
> mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
> -DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1
> -DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress
> -Dversion=1.0
> 
> typed in the following command, however there was no folder created under
> the \jetspeed-2-resources\workspace directory instead i saw a folder
> called repository  and whole heap of files created in the following
> location.
> 
> S:\jetspeed-2-resources\maven\repository
> 
> I also got the following error.
> 
> 
> [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: org.apache.portals.tutorials
> Downloading:
> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
> archetype/2.1/portal-archetype-2.1.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> I can't also find the following jar file(portal-archetype-2.1.jar)  in any
> place
> 
> Can anyone please help me.
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tp9532438p14411875.html
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Unable to download the artifact from any repository

Posted by manisha_00 <ma...@gmail.com>.
Hi,

I'm very new to jetspeed, I followed the jetspeed tutorial, I came to a
point where I had to create the custom portal name

mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
-DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1
-DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress -Dversion=1.0

typed in the following command, however there was no folder created under
the \jetspeed-2-resources\workspace directory instead i saw a folder called
repository  and whole heap of files created in the following location.

S:\jetspeed-2-resources\maven\repository

I also got the following error.


[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: org.apache.portals.tutorials
Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
archetype/2.1/portal-archetype-2.1.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

I can't also find the following jar file(portal-archetype-2.1.jar)  in any
place

Can anyone please help me.






-- 
View this message in context: http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf3420191.html#a13384684
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


i found it impossible to generate the jetexpress project successfully!

Posted by napoleon <xu...@yahoo.com.cn>.
I found that it is impossible to generate the jetexpress project successfully
using the command:

C:\JetspeedTraining\workspace>mvn archetype:create
-DarchetypeGroupId=org.apache
.portals.jetspeed-2 -DarchetypeArtifactId=portal-archetype
-DarchetypeVersion=2.
1 -DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress
-Dversion=1.0
 because i found that when i using this command it will go to download a
file:

http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-archetype/2.1/portal-archetype-2.1.jar

but when i use web browser to access the url, the browser told me that there
is no such file!!!

when i omit some options using the following command:

C:\JetspeedTraining\workspace>mvn archetype:create
-DgroupId=org.apache.portals.
tutorials -DartifactId=jetexpress -Dversion=1.0

i generate it successfully! can i do it like this. are there something
wrong?

napoleon wrote:
> 
> when i execute the following command in the cmd<br/>
> <font color="green">
> mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
>                      -DarchetypeArtifactId=portal-archetype 
>                      -DarchetypeVersion=2.1-dev 
>                      -DgroupId=org.apache.portals.tutorials
>                      -DartifactId=jetexpress
>                      -Dversion=1.0
> </font><br/>
> i got the following errors:
> <font color="red">
> [WARNING] Unable to get resource
> 'org.apache.portals.jetspeed-2:portal-archetype
> :jar:2.1-dev' from repository central (http://repo1.maven.org/maven2)
> </font><br/>
> who can help me?
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf3420191.html#a9540274
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


RE: Unable to download the artifact from any repository

Posted by napoleon <xu...@yahoo.com.cn>.
oh, thanks for your post.
but i still cannot generating a jetspeed portal using -DarchetypeVersion=2.1
or -DarchetypeVersion=2.2-dev 
the following are the errors:

Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
archetype/2.2-dev/portal-archetype-2.2-dev.jar
[WARNING] Unable to get resource
'org.apache.portals.jetspeed-2:portal-archetype
:jar:2.2-dev' from repository central (http://repo1.maven.org/maven2)

and i found that there is even no directory named portal-
archetype under
[http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/]

thanks again!

Hajo Birthelmer wrote:
> 
> 2.1-dev is now 2.1.
> Either use
> -DarchetypeVersion=2.1
> 
> Or 
> -DarchetypeVersion=2.2-dev
>  
> Hajo Birthelmer
> 
> hajo@bluesunrise.com
> 
> -----Original Message-----
> From: napoleon [mailto:xumingming64398966@yahoo.com.cn] 
> Sent: Saturday, March 17, 2007 12:17 PM
> To: jetspeed-dev@portals.apache.org
> Subject: Unable to download the artifact from any repository
> 
> 
> when i execute the following command in the cmd
> 
> mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
>                      -DarchetypeArtifactId=portal-archetype 
>                      -DarchetypeVersion=2.1-dev 
>                      -DgroupId=org.apache.portals.tutorials
>                      -DartifactId=jetexpress
>                      -Dversion=1.0
> 
> i got the following errors:
> 
> [WARNING] Unable to get resource
> 'org.apache.portals.jetspeed-2:portal-archetype
> :jar:2.1-dev' from repository central (http://repo1.maven.org/maven2)
> 
> who can help me?
> -- 
> View this message in context:
> http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf
> 3420191.html#a9532438
> Sent from the Jetspeed - Dev mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf3420191.html#a9535374
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


RE: Unable to download the artifact from any repository

Posted by Hajo Birthelmer <Ha...@BlueSunrise.com>.
2.1-dev is now 2.1.
Either use
-DarchetypeVersion=2.1

Or 
-DarchetypeVersion=2.2-dev
 
Hajo Birthelmer

hajo@bluesunrise.com

-----Original Message-----
From: napoleon [mailto:xumingming64398966@yahoo.com.cn] 
Sent: Saturday, March 17, 2007 12:17 PM
To: jetspeed-dev@portals.apache.org
Subject: Unable to download the artifact from any repository


when i execute the following command in the cmd

mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
                     -DarchetypeArtifactId=portal-archetype 
                     -DarchetypeVersion=2.1-dev 
                     -DgroupId=org.apache.portals.tutorials
                     -DartifactId=jetexpress
                     -Dversion=1.0

i got the following errors:

[WARNING] Unable to get resource
'org.apache.portals.jetspeed-2:portal-archetype
:jar:2.1-dev' from repository central (http://repo1.maven.org/maven2)

who can help me?
-- 
View this message in context:
http://www.nabble.com/Unable-to-download-the-artifact-from-any-repository-tf
3420191.html#a9532438
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org