mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-08 13:12:10 +00:00
Updated How to start with spring data elasticsearch (creole)
parent
ed41ab52ea
commit
4a0cf037cf
@ -10,11 +10,13 @@ First add to your pom.xml file information about snapshot repository for spring-
|
|||||||
|
|
||||||
{{{
|
{{{
|
||||||
<repositories>
|
<repositories>
|
||||||
|
...
|
||||||
<repository>
|
<repository>
|
||||||
<id>spring-snapshot</id>
|
<id>spring-snapshot</id>
|
||||||
<name>Spring Maven SNAPSHOT Repository</name>
|
<name>Spring Maven SNAPSHOT Repository</name>
|
||||||
<url>http://repo.springsource.org/libs-snapshot</url>
|
<url>http://repo.springsource.org/libs-snapshot</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
...
|
||||||
<repositories>
|
<repositories>
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
@ -51,6 +53,7 @@ Snapshot spring repository:
|
|||||||
<url>http://repo.springsource.org/libs-snapshot</url>
|
<url>http://repo.springsource.org/libs-snapshot</url>
|
||||||
</repository>
|
</repository>
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
Snapshot spring plugin repository:
|
Snapshot spring plugin repository:
|
||||||
{{{
|
{{{
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
@ -59,7 +62,9 @@ Snapshot spring plugin repository:
|
|||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
|
The best way to do that without polluting spring-data-elasticsearch pom.xml is create/edit 'settings.xml' file in your '.m2' folder.
|
||||||
|
|
||||||
|
Example of the file can be found [[https://github.com/akonczak/spring-data-elasticsearch-mvn-config/blob/master/settings.xml|here]]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user