winter 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,139 @@
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+ -->
19
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20
+ <parent>
21
+ <groupId>org.apache.felix</groupId>
22
+ <artifactId>felix-parent</artifactId>
23
+ <version>1.2.1</version>
24
+ <relativePath>../pom/pom.xml</relativePath>
25
+ </parent>
26
+ <modelVersion>4.0.0</modelVersion>
27
+ <packaging>bundle</packaging>
28
+ <name>Apache Felix Bundle Repository</name>
29
+ <description>Bundle repository service.</description>
30
+ <artifactId>org.apache.felix.bundlerepository</artifactId>
31
+ <version>1.6.4</version>
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>${pom.groupId}</groupId>
35
+ <artifactId>org.apache.felix.utils</artifactId>
36
+ <version>1.0.0</version>
37
+ <optional>true</optional>
38
+ </dependency>
39
+ <dependency>
40
+ <groupId>${pom.groupId}</groupId>
41
+ <artifactId>org.osgi.service.obr</artifactId>
42
+ <version>1.0.2</version>
43
+ <optional>true</optional>
44
+ </dependency>
45
+ <dependency>
46
+ <groupId>${pom.groupId}</groupId>
47
+ <artifactId>org.apache.felix.shell</artifactId>
48
+ <version>1.4.1</version>
49
+ <optional>true</optional>
50
+ </dependency>
51
+ <dependency>
52
+ <groupId>net.sf.kxml</groupId>
53
+ <artifactId>kxml2</artifactId>
54
+ <version>2.3.0</version>
55
+ <optional>true</optional>
56
+ <exclusions>
57
+ <exclusion>
58
+ <groupId>xmlpull</groupId>
59
+ <artifactId>xmlpull</artifactId>
60
+ </exclusion>
61
+ </exclusions>
62
+ </dependency>
63
+ <dependency>
64
+ <groupId>org.osgi</groupId>
65
+ <artifactId>org.osgi.compendium</artifactId>
66
+ <version>4.0.0</version>
67
+ <optional>true</optional>
68
+ </dependency>
69
+ <dependency>
70
+ <groupId>org.osgi</groupId>
71
+ <artifactId>org.osgi.core</artifactId>
72
+ <version>4.1.0</version>
73
+ </dependency>
74
+ <dependency>
75
+ <groupId>org.codehaus.woodstox</groupId>
76
+ <artifactId>woodstox-core-asl</artifactId>
77
+ <version>4.0.7</version>
78
+ <optional>true</optional>
79
+ </dependency>
80
+ <dependency>
81
+ <groupId>org.easymock</groupId>
82
+ <artifactId>easymock</artifactId>
83
+ <version>2.4</version>
84
+ </dependency>
85
+ </dependencies>
86
+ <build>
87
+ <plugins>
88
+ <plugin>
89
+ <groupId>org.apache.felix</groupId>
90
+ <artifactId>maven-bundle-plugin</artifactId>
91
+ <version>2.0.1</version>
92
+ <extensions>true</extensions>
93
+ <configuration>
94
+ <instructions>
95
+ <Export-Package>org.apache.felix.bundlerepository;version="2.0"</Export-Package>
96
+ <Private-Package>
97
+ org.kxml2.io,
98
+ org.xmlpull.v1,
99
+ org.apache.felix.bundlerepository.impl.*,
100
+ org.apache.felix.utils.*
101
+ </Private-Package>
102
+ <Import-Package>!javax.xml.parsers,!org.xml.sax,org.osgi.service.log;resolution:=optional,org.osgi.service.obr;resolution:=optional,javax.xml.stream;resolution:=optional,*</Import-Package>
103
+ <DynamicImport-Package>org.apache.felix.shell</DynamicImport-Package>
104
+ <Bundle-Activator>${pom.artifactId}.impl.Activator</Bundle-Activator>
105
+ <Bundle-DocURL>http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html</Bundle-DocURL>
106
+ <Bundle-Url>http://felix.apache.org/site/downloads.cgi</Bundle-Url>
107
+ <Bundle-Source>http://felix.apache.org/site/downloads.cgi</Bundle-Source>
108
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
109
+ <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
110
+ <Export-Service>org.apache.felix.bundlerepository.RepositoryAdmin,org.osgi.service.obr.RepositoryAdmin</Export-Service>
111
+ <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
112
+ <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/LICENSE.kxml2=LICENSE.kxml2,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}</Include-Resource>
113
+ </instructions>
114
+ </configuration>
115
+ </plugin>
116
+ <plugin>
117
+ <groupId>org.codehaus.mojo</groupId>
118
+ <artifactId>rat-maven-plugin</artifactId>
119
+ <configuration>
120
+ <excludeSubProjects>false</excludeSubProjects>
121
+ <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
122
+ <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
123
+ <excludes>
124
+ <param>doc/*</param>
125
+ <param>maven-eclipse.xml</param>
126
+ <param>.checkstyle</param>
127
+ <param>.externalToolBuilders/*</param>
128
+ </excludes>
129
+ </configuration>
130
+ </plugin>
131
+ </plugins>
132
+ </build>
133
+
134
+ <scm>
135
+ <connection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.bundlerepository-1.6.4</connection>
136
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.bundlerepository-1.6.4</developerConnection>
137
+ <url>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.bundlerepository-1.6.4</url>
138
+ </scm>
139
+ </project>
@@ -0,0 +1,17 @@
1
+ # Copyright 2013 LiveOps, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not
4
+ # use this file except in compliance with the License. You may obtain a copy
5
+ # of the License at:
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
+ # License for the specific language governing permissions and limitations
13
+ # under the License.
14
+
15
+ RSpec.configure do |config|
16
+ config.color_enabled = true
17
+ end
data/winter.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'winter/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "winter"
8
+ spec.version = Winter::VERSION
9
+ spec.authors = ["S. Mikkel Wilson"]
10
+ spec.email = ["codebudo@gmail.com"]
11
+ spec.description = %q{Application and configuration bundler for OSGi apps.}
12
+ spec.summary = %q{Use Winterfell to describe your OSGi application and its configuration. The command line tool (winter) can be used to assemble, start, stop, and verify the application.}
13
+ spec.homepage = "https://github.com/liveops/winter"
14
+ spec.license = "Apache 2.0"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features|coverage)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ end
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: winter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - S. Mikkel Wilson
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-07-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Application and configuration bundler for OSGi apps.
47
+ email:
48
+ - codebudo@gmail.com
49
+ executables:
50
+ - winter
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - .gitignore
55
+ - .rbenv-version
56
+ - .rspec
57
+ - Gemfile
58
+ - LICENSE
59
+ - NOTICE
60
+ - README.md
61
+ - Rakefile
62
+ - bin/winter
63
+ - example/Winterfile
64
+ - example/conf/default/config.properties.erb
65
+ - example/conf/default/logback.xml.erb
66
+ - example/conf/default/logger_bundle.properties.erb
67
+ - example/conf/default/wf_config.json
68
+ - example/example.pom
69
+ - lib/maven_pom.rb
70
+ - lib/winter.rb
71
+ - lib/winter/cli.rb
72
+ - lib/winter/constants.rb
73
+ - lib/winter/dependency.rb
74
+ - lib/winter/dsl.rb
75
+ - lib/winter/logger.rb
76
+ - lib/winter/service/build.rb
77
+ - lib/winter/service/start.rb
78
+ - lib/winter/service/status.rb
79
+ - lib/winter/service/stop.rb
80
+ - lib/winter/service/validate.rb
81
+ - lib/winter/templates.rb
82
+ - lib/winter/version.rb
83
+ - spec/cli_spec.rb
84
+ - spec/sample_data/Winterfile
85
+ - spec/sample_data/conf/default/config.properties.erb
86
+ - spec/sample_data/conf/default/logger_bundle.properties.erb
87
+ - spec/sample_data/conf/default/wf_config.json
88
+ - spec/sample_data/example.pom
89
+ - spec/sample_data/felix.pom
90
+ - spec/spec_helper.rb
91
+ - winter.gemspec
92
+ homepage: https://github.com/liveops/winter
93
+ licenses:
94
+ - Apache 2.0
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ required_rubygems_version: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 1.8.23
114
+ signing_key:
115
+ specification_version: 3
116
+ summary: Use Winterfell to describe your OSGi application and its configuration. The
117
+ command line tool (winter) can be used to assemble, start, stop, and verify the
118
+ application.
119
+ test_files:
120
+ - spec/cli_spec.rb
121
+ - spec/sample_data/Winterfile
122
+ - spec/sample_data/conf/default/config.properties.erb
123
+ - spec/sample_data/conf/default/logger_bundle.properties.erb
124
+ - spec/sample_data/conf/default/wf_config.json
125
+ - spec/sample_data/example.pom
126
+ - spec/sample_data/felix.pom
127
+ - spec/spec_helper.rb