solr-maven-plugin Maven Plugin

A maven plugin to help develop and deploy SOLR based applications.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.baloise.maven
ArtifactId

ArtifactId

solr-maven-plugin
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

solr-maven-plugin Maven Plugin
A maven plugin to help develop and deploy SOLR based applications.
Project URL

Project URL

https://github.com/baloise/solr-maven-plugin
Source Code Management

Source Code Management

https://github.com/baloise/solr-maven-plugin.git

Download solr-maven-plugin

How to add to project

<plugin>
    <groupId>com.baloise.maven</groupId>
    <artifactId>solr-maven-plugin</artifactId>
    <version>1.0.3</version>
</plugin>

Dependencies

compile (1)

Group / Artifact Type Version
org.codehaus.plexus : plexus-archiver jar 4.1.0

provided (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.6.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3
org.apache.maven : maven-settings jar 3.6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

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/

shut down via

http://localhost:8983/solr/shutdown

or type exit in the console (also works when launched in eclipse via m2 or external task)

Make your life easier with plugin groups

Add the following to your ~/.m2/settings.xml

<pluginGroups>
	<pluginGroup>com.baloise.maven</pluginGroup>
</pluginGroups>

now you can use

> mvn solr:run

(tell me more)

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)

Similar projects

Boris Naguets solr-maven-plugin

com.baloise.maven

Baloise Group

Open Source @ Baloise Group

Versions

Version
1.0.3
0.1.2
0.1.1
0.1.0