yett
(Ye Thura Thet)
July 20, 2012, 5:00am
1
Hi Folks,
I am trying build es from source as guided in
http://www.elasticsearch.org/guide/appendix/building-from-source.html .
I downloaded the zipped and extracted to
elasticsearch-elasticsearch-v0.19.8-37-g2daa263.
I go to to root directory where the pom.xml exists and executed mvn package
-DskipTests. I hit the following error
C:_personal\dev\elasticsearch-elasticsearch-2daa263>mvn package -DskipTests
[INFO] Scanning for projects...
Downloading:
http://elasticsearch.googlecode.com/svn/maven/org/sonatype/oss/oss
parent/7/oss-parent-7.pom
Downloading:
http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/
ss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.elasticsearch:elasticsearch:0.19.9-SNAPSHOT
(C:_pers
nal\dev\elasticsearch-elasticsearch-2daa263\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact
org.sonatype
oss:oss-parent:pom:7 from/to elasticsearch
(http://elasticsearch.googlecode.com
svn/maven): elasticsearch.googlecode.com and 'parent.relativePath' points
at wr
ng local POM @ line 26, column 13: Unknown host
elasticsearch.googlecode.com ->
[Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swi
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please re
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildi
gException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableM
delException
I checked the pom.xml and found the following line there at 26.
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
I am new to es and maven. Could the error be error on pom.xml? or Am I
doing something wrong? I'd appreciate any help.
Thanks,
dadoonet
(David Pilato)
July 20, 2012, 6:07am
2
Did you define some settings in your maven installation (settings.xml)?
Are you behind a firewall?
David
--
Le 20 juil. 2012 à 07:00, Ye Thura Thet yethura.thet@gmail.com a écrit :
Hi Folks,
I am trying build es from source as guided in Elasticsearch Platform — Find real-time answers at scale | Elastic .
I downloaded the zipped and extracted to elasticsearch-elasticsearch-v0.19.8-37-g2daa263.
I go to to root directory where the pom.xml exists and executed mvn package -DskipTests. I hit the following error
C:_personal\dev\elasticsearch-elasticsearch-2daa263>mvn package -DskipTests
[INFO] Scanning for projects...
Downloading: http://elasticsearch.googlecode.com/svn/maven/org/sonatype/oss/oss
parent/7/oss-parent-7.pom
Downloading: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/
ss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.elasticsearch:elasticsearch:0.19.9-SNAPSHOT (C:_pers
nal\dev\elasticsearch-elasticsearch-2daa263\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.sonatype
oss:oss-parent:pom:7 from/to elasticsearch (http://elasticsearch.googlecode.com
svn/maven): elasticsearch.googlecode.com and 'parent.relativePath' points at wr
ng local POM @ line 26, column 13: Unknown host elasticsearch.googlecode.com ->
[Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swi
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please re
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildi
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableM
delException
I checked the pom.xml and found the following line there at 26.
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
I am new to es and maven. Could the error be error on pom.xml? or Am I doing something wrong? I'd appreciate any help.
Thanks,
yett
(Ye Thura Thet)
July 20, 2012, 7:09am
3
David,
Thanks for the tips. It was purely my ignorance. Just like you said, the
issue is in my maven configuration. I am behind the firewall and have not
set the proxy setting. After specifying proper proxy setting in
setting.xml, the code is being downloaded now.
Cheers,
Ye
On Friday, July 20, 2012 2:07:41 PM UTC+8, David Pilato wrote:
Did you define some settings in your maven installation (settings.xml)?
Are you behind a firewall?
David
--
Le 20 juil. 2012 à 07:00, Ye Thura Thet a écrit :
Hi Folks,
I am trying build es from source as guided in
Elasticsearch Platform — Find real-time answers at scale | Elastic .
I downloaded the zipped and extracted to
elasticsearch-elasticsearch-v0.19.8-37-g2daa263.
I go to to root directory where the pom.xml exists and executed mvn
package -DskipTests. I hit the following error
C:_personal\dev\elasticsearch-elasticsearch-2daa263>mvn package
-DskipTests
[INFO] Scanning for projects...
Downloading:
http://elasticsearch.googlecode.com/svn/maven/org/sonatype/oss/oss
parent/7/oss-parent-7.pom
Downloading:
http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/
ss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.elasticsearch:elasticsearch:0.19.9-SNAPSHOT
(C:_pers
nal\dev\elasticsearch-elasticsearch-2daa263\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact
org.sonatype
oss:oss-parent:pom:7 from/to elasticsearch (
http://elasticsearch.googlecode.com
svn/maven): elasticsearch.googlecode.com and 'parent.relativePath'
points at wr
ng local POM @ line 26, column 13: Unknown host
elasticsearch.googlecode.com ->
[Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swi
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please re
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildi
gException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableM
delException
I checked the pom.xml and found the following line there at 26.
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
I am new to es and maven. Could the error be error on pom.xml? or Am I
doing something wrong? I'd appreciate any help.
Thanks,