https://github.com/baloise/solr-maven-plugin
A maven plugin to help develop and deploy SOLR based applications.
https://github.com/baloise/solr-maven-plugin
maven-plugin solr
Last synced: 1 day ago
JSON representation
A maven plugin to help develop and deploy SOLR based applications.
- Host: GitHub
- URL: https://github.com/baloise/solr-maven-plugin
- Owner: baloise
- Created: 2014-05-13T15:31:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T23:31:58.000Z (over 2 years ago)
- Last Synced: 2025-08-03T11:16:15.257Z (11 months ago)
- Topics: maven-plugin, solr
- Language: Java
- Homepage: https://baloise.github.io/solr-maven-plugin
- Size: 726 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: docs/CODEOWNERS
Awesome Lists containing this project
README
# solr-maven-plugin
A maven plugin to help develop and deploy SOLR based applications.
The design goals are
- keep your POM clean: no dependencies
- keep your workspace clean : flexibilty in layout with good defaults
It is planned to support deploy life cycle too (create, update, delete, migrate cores on production servers).
## Quick start
Prerequisite
- Maven is working. That's all. No pom.xml required.
lets go some where safe ...
`> mkdir /tmp/solr-test; cd /tmp/solr-test`
init a core ...
`> mvn com.baloise.maven:solr-maven-plugin:init`
run that ...
`> mvn com.baloise.maven:solr-maven-plugin:run`
go play at [http://localhost:8983/solr/](http://localhost:8983/solr/)
shut down via
[http://localhost:8983/solr/shutdown](http://localhost:8983/solr/shutdown)
or type *exit* in the console (also works when launched in eclipse via m2 or external task)
to see the avaiable SOLR versions use
`> mvn com.baloise.maven:solr-maven-plugin::versions`
## Make your life easier with plugin groups
Add the following to your *~/.m2/settings.xml*
```
com.baloise.maven
```
now you can use
`> mvn solr:run`
[(tell me more)](http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html#Configuring_Maven_to_Search_for_Plugins)
## Configuration options (TBD)
Of course you have all the options as where to set the properties
@Parameter(defaultValue = "${basedir}/src/solr/resources", property = "solr.home", required = true)
private File home;
@Parameter(defaultValue = "8983", property = "solr.port", required = true)
int port;
[(tell me more)](http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide)
## Similar projects
[Boris Naguets solr-maven-plugin](https://github.com/BorisNaguet/solr-maven-plugin)