bffmm1 / mycloudportal

Automatically exported from code.google.com/p/mycloudportal
0 stars 0 forks source link

maven dependency #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i have unziped spring roo successfuly
2.I run performe package
3.non Of jar files installed so i forced to use  " mvn install:install-file ..."

in my local repository every of the pom files shows me URLs (some of the urls 
has error 404 not found and Forbiden) with errors!!!

for example juel-2.0.1.pom in showed in below:

#NOTE: This is an internal implementation file, its format can be changed 
without prior notice.
#Tue Apr 30 15:39:51 IRDT 2013
http\://repo.maven.apache.org/maven2/.lastUpdated=1367313916098
http\://repository.jboss.com/maven2/.error=Could not transfer artifact 
de.odysseus.el\:juel\:pom\:2.1.0 from/to jboss 
(http\://repository.jboss.com/maven2)\: Access denied to\: 
http\://repository.jboss.com/maven2/de/odysseus/el/juel/2.1.0/juel-2.1.0.pom , 
ReasonPhrase\:Forbidden.
http\://spring-roo-repository.springsource.org/release/.error=
http\://maven.springframework.org/release/.error=
http\://spring-roo-repository.springsource.org/release/.lastUpdated=136731391545
6
http\://maven.springframework.org/release/.lastUpdated=1367313914402
http\://repo.maven.apache.org/maven2/.error=
http\://maven.springframework.org/milestone/.lastUpdated=1367313914923
default-http\://repository.jboss.com/maven2/.lastUpdated=1367320191675
http\://maven.springframework.org/milestone/.error=

what do I do?

Original issue reported on code.google.com by ICT.MyWo...@gmail.com on 30 Apr 2013 at 12:47

GoogleCodeExporter commented 9 years ago
this is a maven issue, try to add in those jars manually.
there will be other jars which have teh same issue, you need to add them all 
manually using commands as below

mvn install:install-file 
-Dfile=C:/WORK/stsWorkspace/vmware_SDk/WebContent/WEB-INF/lib/vcloud-java-sdk-1.
5.0.jar -DgroupId=com.vmware -DartifactId=vcloud -Dversion=1.5 -Dpackaging=jar 
-DgeneratePom=true

mvn install:install-file 
-Dfile=C:/WORK/stsWorkspace/vmware_SDk/WebContent/WEB-INF/lib/rest-api-schemas-1
.5.0.jar -DgroupId=com.vmware -DartifactId=rest-api-schemas -Dversion=1.5 
-Dpackaging=jar -DgeneratePom=true

mvn install:install-file -Dfile="C:/Users/charu/Documents/My Received 
Files/juel-2.1.0.jar" -DgroupId=de.odysseus.el -DartifactId=juel 
-Dversion=2.1.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file 
-Dfile="D:/JavaTools/workspace-mycpenterprise/hyperic/lib/hqapi1-5.0.0.jar" 
-DgroupId=org.hyperic.hq.hqapi -DartifactId=hqapi1 -Dversion=5.0.0 
-Dpackaging=jar -DgeneratePom=true
mvn install:install-file 
-Dfile="D:/JavaTools/workspace-mycpenterprise/hyperic/lib/hqapi1-tools-5.0.0.jar
" -DgroupId=org.hyperic.hq.hqapi.tools -DartifactId=hqapi1-tools 
-Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true

Original comment by ch...@mycloudportal.in on 30 Apr 2013 at 1:04

GoogleCodeExporter commented 9 years ago
I downloaded juel from http://search.maven.org/#search|ga|1|juel site
manually!! but I have  problems:

 I located my downloaded jar files in specific path in my PC and use
mvn install command in this way:

roo> mvn install:install-file -Dfile="C:\Users\Administrator\Downloads/juel-2.1.
0.jar" -DgroupId=de.odysseus.el -DartifactId=juel -Dversion=2.1.0 -Dpackaging=ja
r -DgeneratePom=true

 but gives me warninig:

Command 'mvn install:install-file -Dfile="C:\Users\Administrator\Downloads/juel-
2.1.0.jar" -DgroupId=de.odysseus.el -DartifactId=juel -Dversion=2.1.0 -Dpackagin
g=jar -DgeneratePom=true' not found (for assistance press TAB or type "hint" the
n hit ENTER)

addon search --requiresCommand "mvn install:install-file -Dfile="C:\Users\Admini
strator\Downloads/juel-2.1.0.jar" -DgroupId=de.odysseus.el -DartifactId=juel -Dv
ersion=2.1.0 -Dpackaging=jar -DgeneratePom=true" found no matches
roo>

What Do I Do?

Original comment by ICT.MyWo...@gmail.com on 4 May 2013 at 5:32

Attachments:

GoogleCodeExporter commented 9 years ago
I run "perform clean" and then a "perform package" again .

I think I can not connect to the remote repo such as 
http://repository.jboss.org/maven2

and other links 

the content of the my pom is showed this issue:
http\://repo.maven.apache.org/maven2/.lastUpdated=1367646601287
http\://repository.jboss.com/maven2/.error=Could not transfer artifact 
de.odysseus.el\:juel\:pom\:2.1.0 from/to jboss 
(http\://repository.jboss.com/maven2)\: Access denied to\: 
http\://repository.jboss.com/maven2/de/odysseus/el/juel/2.1.0/juel-2.1.0.pom , 
ReasonPhrase\:Forbidden.
http\://spring-roo-repository.springsource.org/release/.error=
http\://maven.springframework.org/release/.error=
http\://spring-roo-repository.springsource.org/release/.lastUpdated=136764660046
2
http\://maven.springframework.org/release/.lastUpdated=1367646598019
http\://repo.maven.apache.org/maven2/.error=
http\://maven.springframework.org/milestone/.lastUpdated=1367646599584
default-http\://repository.jboss.com/maven2/.lastUpdated=1367646814855
http\://maven.springframework.org/milestone/.error=

Original comment by ICT.MyWo...@gmail.com on 4 May 2013 at 6:17

GoogleCodeExporter commented 9 years ago
how can I use remote repo from the other way???

Original comment by ICT.MyWo...@gmail.com on 4 May 2013 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
My first error is solved!!  Using MVN-Install inside of roo shell was My 
mistake.

roo> quit
C:/>MVN Install ......

My second error is solved too :)

Original comment by ICT.MyWo...@gmail.com on 6 May 2013 at 4:17