solr_sail 0.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -0
- data/Gemfile.lock +45 -0
- data/Jarfile +1 -0
- data/Jarfile.lock +77 -0
- data/LICENSE +176 -0
- data/README.md +17 -0
- data/VERSION +1 -0
- data/bin/solrsail +5 -0
- data/lib/solr_sail/cli.rb +24 -0
- data/lib/solr_sail/version.rb +3 -0
- data/lib/solr_sail.rb +43 -0
- data/pom.xml +176 -0
- data/solr_sail-0.0.1.jar +0 -0
- data/solr_sail.gemspec +73 -0
- metadata +147 -0
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
bouncy-castle-java (1.5.0146.1)
|
5
|
+
builder (3.0.0)
|
6
|
+
diff-lcs (1.1.3)
|
7
|
+
git (1.2.5)
|
8
|
+
jeweler (1.8.4)
|
9
|
+
bundler (~> 1.0)
|
10
|
+
git (>= 1.2.5)
|
11
|
+
rake
|
12
|
+
rdoc
|
13
|
+
jruby-openssl (0.7.7)
|
14
|
+
bouncy-castle-java (>= 1.5.0146.1)
|
15
|
+
json (1.7.5-java)
|
16
|
+
lock_jar (0.5.6)
|
17
|
+
naether (~> 0.8.6)
|
18
|
+
thor (> 0.14.0)
|
19
|
+
naether (0.8.6-java)
|
20
|
+
rake (0.9.2.2)
|
21
|
+
rdoc (3.12)
|
22
|
+
json (~> 1.4)
|
23
|
+
rsolr (1.0.8)
|
24
|
+
builder (>= 2.1.2)
|
25
|
+
rspec (2.11.0)
|
26
|
+
rspec-core (~> 2.11.0)
|
27
|
+
rspec-expectations (~> 2.11.0)
|
28
|
+
rspec-mocks (~> 2.11.0)
|
29
|
+
rspec-core (2.11.1)
|
30
|
+
rspec-expectations (2.11.2)
|
31
|
+
diff-lcs (~> 1.1.3)
|
32
|
+
rspec-mocks (2.11.2)
|
33
|
+
thor (0.16.0)
|
34
|
+
|
35
|
+
PLATFORMS
|
36
|
+
java
|
37
|
+
|
38
|
+
DEPENDENCIES
|
39
|
+
bundler (~> 1.1.4)
|
40
|
+
jeweler (~> 1.8.4)
|
41
|
+
jruby-openssl
|
42
|
+
lock_jar (~> 0.5.2)
|
43
|
+
rsolr (~> 1.0.0)
|
44
|
+
rspec (~> 2.11.0)
|
45
|
+
thor (> 0.14.0)
|
data/Jarfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pom 'pom.xml'
|
data/Jarfile.lock
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
scopes:
|
3
|
+
compile:
|
4
|
+
dependencies:
|
5
|
+
- pom.xml
|
6
|
+
resolved_dependencies:
|
7
|
+
- com.tobedevoured.command:core:jar:0.0.1-SNAPSHOT
|
8
|
+
- org.modeshape:modeshape-common:jar:2.8.2.Final
|
9
|
+
- com.metapossum:metapossum-scanner:jar:1.0.1
|
10
|
+
- commons-beanutils:commons-beanutils:jar:1.8.3
|
11
|
+
- commons-logging:commons-logging:jar:1.1.1
|
12
|
+
- com.typesafe:config:jar:0.5.0
|
13
|
+
- org.slf4j:slf4j-api:jar:1.6.6
|
14
|
+
- org.eclipse.jetty:jetty-server:jar:8.1.4.v20120524
|
15
|
+
- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016
|
16
|
+
- org.eclipse.jetty:jetty-continuation:jar:8.1.4.v20120524
|
17
|
+
- org.eclipse.jetty:jetty-http:jar:8.1.4.v20120524
|
18
|
+
- org.eclipse.jetty:jetty-io:jar:8.1.4.v20120524
|
19
|
+
- org.eclipse.jetty:jetty-jndi:jar:8.1.4.v20120524
|
20
|
+
- org.eclipse.jetty.orbit:javax.mail.glassfish:jar:1.4.1.v201005082020
|
21
|
+
- org.eclipse.jetty.orbit:javax.activation:jar:1.1.0.v201105071233
|
22
|
+
- org.eclipse.jetty:jetty-jmx:jar:8.1.4.v20120524
|
23
|
+
- org.eclipse.jetty:jetty-util:jar:8.1.4.v20120524
|
24
|
+
- org.eclipse.jetty:jetty-webapp:jar:8.1.4.v20120524
|
25
|
+
- org.eclipse.jetty:jetty-xml:jar:8.1.4.v20120524
|
26
|
+
- org.eclipse.jetty:jetty-servlet:jar:8.1.4.v20120524
|
27
|
+
- org.eclipse.jetty:jetty-security:jar:8.1.4.v20120524
|
28
|
+
- org.eclipse.jetty:jetty-plus:jar:8.1.4.v20120524
|
29
|
+
- org.eclipse.jetty.orbit:javax.transaction:jar:1.1.1.v201105210645
|
30
|
+
- org.eclipse.jetty:jetty-jsp:jar:8.1.4.v20120524
|
31
|
+
- org.eclipse.jetty.orbit:javax.servlet.jsp:jar:2.2.0.v201112011158
|
32
|
+
- org.eclipse.jetty.orbit:org.apache.jasper.glassfish:jar:2.2.2.v201112011158
|
33
|
+
- org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:jar:1.2.0.v201105211821
|
34
|
+
- org.eclipse.jetty.orbit:org.apache.taglibs.standard.glassfish:jar:1.2.0.v201112081803
|
35
|
+
- org.eclipse.jetty.orbit:javax.el:jar:2.2.0.v201108011116
|
36
|
+
- org.eclipse.jetty.orbit:com.sun.el:jar:2.2.0.v201108011116
|
37
|
+
- org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.7.1
|
38
|
+
- org.eclipse.jdt.core.compiler:ecj:jar:3.7.2
|
39
|
+
- org.apache.solr:solr-core:jar:3.6.0
|
40
|
+
- org.apache.solr:solr-solrj:jar:3.6.0
|
41
|
+
- commons-httpclient:commons-httpclient:jar:3.1
|
42
|
+
- org.codehaus.woodstox:wstx-asl:jar:3.2.7
|
43
|
+
- org.apache.lucene:lucene-core:jar:3.6.0
|
44
|
+
- org.apache.lucene:lucene-analyzers:jar:3.6.0
|
45
|
+
- org.apache.lucene:lucene-highlighter:jar:3.6.0
|
46
|
+
- org.apache.lucene:lucene-kuromoji:jar:3.6.0
|
47
|
+
- org.apache.lucene:lucene-memory:jar:3.6.0
|
48
|
+
- org.apache.lucene:lucene-misc:jar:3.6.0
|
49
|
+
- org.apache.lucene:lucene-phonetic:jar:3.6.0
|
50
|
+
- org.apache.lucene:lucene-queries:jar:3.6.0
|
51
|
+
- jakarta-regexp:jakarta-regexp:jar:1.4
|
52
|
+
- org.apache.lucene:lucene-spatial:jar:3.6.0
|
53
|
+
- org.apache.lucene:lucene-spellchecker:jar:3.6.0
|
54
|
+
- org.apache.lucene:lucene-grouping:jar:3.6.0
|
55
|
+
- commons-codec:commons-codec:jar:1.6
|
56
|
+
- commons-fileupload:commons-fileupload:jar:1.2.1
|
57
|
+
- org.slf4j:jcl-over-slf4j:jar:1.6.1
|
58
|
+
- commons-io:commons-io:jar:2.1
|
59
|
+
- commons-lang:commons-lang:jar:2.6
|
60
|
+
- com.google.guava:guava:jar:r05
|
61
|
+
- javax.servlet:servlet-api:jar:2.4
|
62
|
+
- ch.qos.logback:logback-classic:jar:1.0.6
|
63
|
+
- ch.qos.logback:logback-core:jar:1.0.6
|
64
|
+
runtime:
|
65
|
+
dependencies:
|
66
|
+
- pom.xml
|
67
|
+
resolved_dependencies: []
|
68
|
+
|
69
|
+
test:
|
70
|
+
dependencies:
|
71
|
+
- pom.xml
|
72
|
+
resolved_dependencies:
|
73
|
+
- junit:junit:jar:4.10
|
74
|
+
- org.hamcrest:hamcrest-core:jar:1.1
|
75
|
+
repositories:
|
76
|
+
- http://repo1.maven.org/maven2/
|
77
|
+
- http://repository.jboss.org/nexus/content/groups/public-jboss
|
data/LICENSE
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
data/README.md
ADDED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/bin/solrsail
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'thor'
|
3
|
+
require 'solr_sail'
|
4
|
+
|
5
|
+
module SolrSail
|
6
|
+
class CLI < Thor
|
7
|
+
desc "install", "Install Solr config"
|
8
|
+
method_option :dest, :aliases => "-d", :default => 'solr', :desc => "Path to install solr config"
|
9
|
+
def install
|
10
|
+
SolrSail.install_config( :dest => options[:dest] )
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "start", "Run Solr"
|
14
|
+
method_option :dest, :aliases => "-d", :default => 'solr', :desc => "Path to install solr config"
|
15
|
+
def start
|
16
|
+
SolrSail.start( :dest => options[:dest] )
|
17
|
+
end
|
18
|
+
|
19
|
+
desc "version", "Version"
|
20
|
+
def version
|
21
|
+
puts SolrSail::VERSION
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/solr_sail.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'lock_jar'
|
3
|
+
require 'java'
|
4
|
+
|
5
|
+
require 'solr_sail/version'
|
6
|
+
|
7
|
+
module SolrSail
|
8
|
+
|
9
|
+
DEFAULT_JAR_NAME = "solr_sail-#{SolrSail::VERSION}.jar"
|
10
|
+
DEFAULT_JAR = File.expand_path("#{File.dirname(__FILE__)}/../#{DEFAULT_JAR_NAME}")
|
11
|
+
DEFAULT_LOCKFILE = File.expand_path("#{File.dirname(__FILE__)}/../Jarfile.lock")
|
12
|
+
|
13
|
+
def self.install_config( opts )
|
14
|
+
opts = { :jar => DEFAULT_JAR, :lockfile => DEFAULT_LOCKFILE }.merge( opts )
|
15
|
+
lockfile = opts.delete(:lockfile)
|
16
|
+
jar = opts.delete(:jar)
|
17
|
+
|
18
|
+
# XXX: should use LockJar to prevent duplicates in the classpath
|
19
|
+
$CLASSPATH << File.expand_path( jar )
|
20
|
+
|
21
|
+
LockJar.install( lockfile, opts )
|
22
|
+
LockJar.load( lockfile, opts )
|
23
|
+
|
24
|
+
solr_config = com.tobedevoured.solrsail.SolrConfig.new( opts[:dest] )
|
25
|
+
solr_config.install()
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.start( opts )
|
29
|
+
opts = { :jar => DEFAULT_JAR, :lockfile => DEFAULT_LOCKFILE, :join => true }.merge( opts )
|
30
|
+
lockfile = opts.delete(:lockfile)
|
31
|
+
jar = opts.delete(:jar)
|
32
|
+
|
33
|
+
# XXX: should use LockJar to prevent duplicates in the classpath
|
34
|
+
$CLASSPATH << File.expand_path( jar )
|
35
|
+
|
36
|
+
LockJar.load( lockfile, opts )
|
37
|
+
|
38
|
+
jetty = com.tobedevoured.solrsail.JettyServer.new()
|
39
|
+
jetty.start(opts[:join])
|
40
|
+
|
41
|
+
jetty
|
42
|
+
end
|
43
|
+
end
|
data/pom.xml
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
3
|
+
<modelVersion>4.0.0</modelVersion>
|
4
|
+
|
5
|
+
<groupId>com.tobedevoured</groupId>
|
6
|
+
<artifactId>solr_sail</artifactId>
|
7
|
+
<version>0.0.1</version>
|
8
|
+
<packaging>jar</packaging>
|
9
|
+
|
10
|
+
<name>Solr Sail</name>
|
11
|
+
<url>https://github.com/mguymon/solr_sail</url>
|
12
|
+
<description>
|
13
|
+
Solr Search fresh from the can
|
14
|
+
</description>
|
15
|
+
<licenses>
|
16
|
+
<license>
|
17
|
+
<name>The Apache Software License, Version 2.0</name>
|
18
|
+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
19
|
+
<distribution>repo</distribution>
|
20
|
+
</license>
|
21
|
+
</licenses>
|
22
|
+
<scm>
|
23
|
+
<url>scm:git:git@github.com/mguymon/by_your_command.git</url>
|
24
|
+
<developerConnection>scm:git:git@github.com/mguymon/by_your_command.git</developerConnection>
|
25
|
+
<connection>git@github.com/mguymon/by_your_command.git</connection>
|
26
|
+
</scm>
|
27
|
+
<developers>
|
28
|
+
<developer>
|
29
|
+
<id>mguymon</id>
|
30
|
+
<name>Michael Guymon</name>
|
31
|
+
<email>michael@tobedevoured.com</email>
|
32
|
+
</developer>
|
33
|
+
</developers>
|
34
|
+
<distributionManagement>
|
35
|
+
<repository>
|
36
|
+
<id>nexus-releases</id>
|
37
|
+
<name>Nexus Release Repository</name>
|
38
|
+
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
39
|
+
</repository>
|
40
|
+
</distributionManagement>
|
41
|
+
|
42
|
+
<repositories>
|
43
|
+
<repository>
|
44
|
+
<id>org.jboss.repository</id>
|
45
|
+
<name>JBoss Repository</name>
|
46
|
+
<url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
|
47
|
+
</repository>
|
48
|
+
</repositories>
|
49
|
+
|
50
|
+
<properties>
|
51
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
52
|
+
<jetty.version>8.1.4.v20120524</jetty.version>
|
53
|
+
</properties>
|
54
|
+
|
55
|
+
<dependencies>
|
56
|
+
<dependency>
|
57
|
+
<groupId>com.tobedevoured.command</groupId>
|
58
|
+
<artifactId>core</artifactId>
|
59
|
+
<version>0.0.1</version>
|
60
|
+
</dependency>
|
61
|
+
|
62
|
+
<!-- Jetty -->
|
63
|
+
<dependency>
|
64
|
+
<groupId>org.eclipse.jetty</groupId>
|
65
|
+
<artifactId>jetty-server</artifactId>
|
66
|
+
<version>${jetty.version}</version>
|
67
|
+
</dependency>
|
68
|
+
<dependency>
|
69
|
+
<groupId>org.eclipse.jetty</groupId>
|
70
|
+
<artifactId>jetty-jndi</artifactId>
|
71
|
+
<version>${jetty.version}</version>
|
72
|
+
</dependency>
|
73
|
+
<dependency>
|
74
|
+
<groupId>org.eclipse.jetty</groupId>
|
75
|
+
<artifactId>jetty-jmx</artifactId>
|
76
|
+
<version>${jetty.version}</version>
|
77
|
+
</dependency>
|
78
|
+
<dependency>
|
79
|
+
<groupId>org.eclipse.jetty</groupId>
|
80
|
+
<artifactId>jetty-webapp</artifactId>
|
81
|
+
<version>${jetty.version}</version>
|
82
|
+
</dependency>
|
83
|
+
<dependency>
|
84
|
+
<groupId>org.eclipse.jetty</groupId>
|
85
|
+
<artifactId>jetty-plus</artifactId>
|
86
|
+
<version>${jetty.version}</version>
|
87
|
+
</dependency>
|
88
|
+
<dependency>
|
89
|
+
<groupId>org.eclipse.jetty</groupId>
|
90
|
+
<artifactId>jetty-jsp</artifactId>
|
91
|
+
<version>${jetty.version}</version>
|
92
|
+
</dependency>
|
93
|
+
|
94
|
+
<!-- JSP Compiler -->
|
95
|
+
<dependency>
|
96
|
+
<groupId>org.eclipse.jdt.core.compiler</groupId>
|
97
|
+
<artifactId>ecj</artifactId>
|
98
|
+
<version>3.7.2</version>
|
99
|
+
</dependency>
|
100
|
+
|
101
|
+
<!-- Solr -->
|
102
|
+
<dependency>
|
103
|
+
<groupId>org.apache.solr</groupId>
|
104
|
+
<artifactId>solr-core</artifactId>
|
105
|
+
<version>3.6.0</version>
|
106
|
+
</dependency>
|
107
|
+
|
108
|
+
<!-- Logging -->
|
109
|
+
<dependency>
|
110
|
+
<groupId>ch.qos.logback</groupId>
|
111
|
+
<artifactId>logback-classic</artifactId>
|
112
|
+
<version>1.0.6</version>
|
113
|
+
</dependency>
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<!-- Testing -->
|
118
|
+
<dependency>
|
119
|
+
<groupId>junit</groupId>
|
120
|
+
<artifactId>junit</artifactId>
|
121
|
+
<version>4.10</version>
|
122
|
+
<scope>test</scope>
|
123
|
+
</dependency>
|
124
|
+
</dependencies>
|
125
|
+
|
126
|
+
|
127
|
+
<build>
|
128
|
+
<plugins>
|
129
|
+
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId>
|
130
|
+
<version>1.7.1</version> <executions> <execution> <phase>package</phase>
|
131
|
+
<goals> <goal>shade</goal> </goals> <configuration> <filters> <filter> <artifact>*:*</artifact>
|
132
|
+
<excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude>
|
133
|
+
<exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> <transformers>
|
134
|
+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
135
|
+
<mainClass>com.tobedevoured.command.Runner</mainClass> </transformer> </transformers>
|
136
|
+
</configuration> </execution> </executions> </plugin> -->
|
137
|
+
<plugin>
|
138
|
+
<groupId>org.apache.maven.plugins</groupId>
|
139
|
+
<artifactId>maven-source-plugin</artifactId>
|
140
|
+
<executions>
|
141
|
+
<execution>
|
142
|
+
<id>attach-sources</id>
|
143
|
+
<goals>
|
144
|
+
<goal>jar</goal>
|
145
|
+
</goals>
|
146
|
+
</execution>
|
147
|
+
</executions>
|
148
|
+
</plugin>
|
149
|
+
<plugin>
|
150
|
+
<groupId>org.apache.maven.plugins</groupId>
|
151
|
+
<artifactId>maven-javadoc-plugin</artifactId>
|
152
|
+
<executions>
|
153
|
+
<execution>
|
154
|
+
<id>attach-javadocs</id>
|
155
|
+
<goals>
|
156
|
+
<goal>jar</goal>
|
157
|
+
</goals>
|
158
|
+
</execution>
|
159
|
+
</executions>
|
160
|
+
</plugin>
|
161
|
+
<plugin>
|
162
|
+
<groupId>org.apache.maven.plugins</groupId>
|
163
|
+
<artifactId>maven-gpg-plugin</artifactId>
|
164
|
+
<executions>
|
165
|
+
<execution>
|
166
|
+
<id>sign-artifacts</id>
|
167
|
+
<phase>verify</phase>
|
168
|
+
<goals>
|
169
|
+
<goal>sign</goal>
|
170
|
+
</goals>
|
171
|
+
</execution>
|
172
|
+
</executions>
|
173
|
+
</plugin>
|
174
|
+
</plugins>
|
175
|
+
</build>
|
176
|
+
</project>
|
data/solr_sail-0.0.1.jar
ADDED
Binary file
|
data/solr_sail.gemspec
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "solr_sail"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
s.platform = "java"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Michael Guymon"]
|
13
|
+
s.date = "2012-09-02"
|
14
|
+
s.description = "From zero to search in the flash of a gem."
|
15
|
+
s.email = "michael@tobedevoured.com"
|
16
|
+
s.executables = ["solrsail"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.md"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"Jarfile",
|
25
|
+
"Jarfile.lock",
|
26
|
+
"LICENSE",
|
27
|
+
"README.md",
|
28
|
+
"VERSION",
|
29
|
+
"bin/solrsail",
|
30
|
+
"lib/solr_sail.rb",
|
31
|
+
"lib/solr_sail/cli.rb",
|
32
|
+
"lib/solr_sail/version.rb",
|
33
|
+
"pom.xml",
|
34
|
+
"solr_sail-0.0.1.jar",
|
35
|
+
"solr_sail.gemspec"
|
36
|
+
]
|
37
|
+
s.homepage = "http://github.com/mguymon/solr_sail"
|
38
|
+
s.licenses = ["MIT"]
|
39
|
+
s.require_paths = ["lib"]
|
40
|
+
s.rubygems_version = "1.8.24"
|
41
|
+
s.summary = "From zero to search in the flash of a gem."
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
s.specification_version = 3
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
+
s.add_runtime_dependency(%q<lock_jar>, ["~> 0.5.2"])
|
48
|
+
s.add_runtime_dependency(%q<thor>, ["> 0.14.0"])
|
49
|
+
s.add_development_dependency(%q<rsolr>, ["~> 1.0.0"])
|
50
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.11.0"])
|
51
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.1.4"])
|
52
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
53
|
+
s.add_development_dependency(%q<jruby-openssl>, [">= 0"])
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<lock_jar>, ["~> 0.5.2"])
|
56
|
+
s.add_dependency(%q<thor>, ["> 0.14.0"])
|
57
|
+
s.add_dependency(%q<rsolr>, ["~> 1.0.0"])
|
58
|
+
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
59
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.4"])
|
60
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
61
|
+
s.add_dependency(%q<jruby-openssl>, [">= 0"])
|
62
|
+
end
|
63
|
+
else
|
64
|
+
s.add_dependency(%q<lock_jar>, ["~> 0.5.2"])
|
65
|
+
s.add_dependency(%q<thor>, ["> 0.14.0"])
|
66
|
+
s.add_dependency(%q<rsolr>, ["~> 1.0.0"])
|
67
|
+
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
68
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.4"])
|
69
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
70
|
+
s.add_dependency(%q<jruby-openssl>, [">= 0"])
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: solr_sail
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- Michael Guymon
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2012-09-02 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: lock_jar
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.5.2
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
25
|
+
type: :runtime
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: thor
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.14.0
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
36
|
+
type: :runtime
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rsolr
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.0.0
|
45
|
+
requirement: *id003
|
46
|
+
prerelease: false
|
47
|
+
type: :development
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rspec
|
50
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 2.11.0
|
56
|
+
requirement: *id004
|
57
|
+
prerelease: false
|
58
|
+
type: :development
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: bundler
|
61
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ~>
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.1.4
|
67
|
+
requirement: *id005
|
68
|
+
prerelease: false
|
69
|
+
type: :development
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: jeweler
|
72
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.8.4
|
78
|
+
requirement: *id006
|
79
|
+
prerelease: false
|
80
|
+
type: :development
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: jruby-openssl
|
83
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: "0"
|
89
|
+
requirement: *id007
|
90
|
+
prerelease: false
|
91
|
+
type: :development
|
92
|
+
description: From zero to search in the flash of a gem.
|
93
|
+
email: michael@tobedevoured.com
|
94
|
+
executables:
|
95
|
+
- solrsail
|
96
|
+
extensions: []
|
97
|
+
|
98
|
+
extra_rdoc_files:
|
99
|
+
- LICENSE
|
100
|
+
- README.md
|
101
|
+
files:
|
102
|
+
- Gemfile
|
103
|
+
- Gemfile.lock
|
104
|
+
- Jarfile
|
105
|
+
- Jarfile.lock
|
106
|
+
- LICENSE
|
107
|
+
- README.md
|
108
|
+
- VERSION
|
109
|
+
- bin/solrsail
|
110
|
+
- lib/solr_sail.rb
|
111
|
+
- lib/solr_sail/cli.rb
|
112
|
+
- lib/solr_sail/version.rb
|
113
|
+
- pom.xml
|
114
|
+
- solr_sail-0.0.1.jar
|
115
|
+
- solr_sail.gemspec
|
116
|
+
homepage: http://github.com/mguymon/solr_sail
|
117
|
+
licenses:
|
118
|
+
- MIT
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options: []
|
121
|
+
|
122
|
+
require_paths:
|
123
|
+
- lib
|
124
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 2
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
version: "0"
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: "0"
|
139
|
+
requirements: []
|
140
|
+
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 1.8.24
|
143
|
+
signing_key:
|
144
|
+
specification_version: 3
|
145
|
+
summary: From zero to search in the flash of a gem.
|
146
|
+
test_files: []
|
147
|
+
|