buildr4osgi 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/buildr4osgi.gemspec +2 -2
  2. data/lib/buildr4osgi.rb +2 -0
  3. data/lib/buildr4osgi/compile.rb +2 -1
  4. data/lib/buildr4osgi/compile/compiler.rb +1 -3
  5. data/lib/buildr4osgi/compile/external.rb +71 -0
  6. data/lib/buildr4osgi/eclipse.rb +3 -1
  7. data/lib/buildr4osgi/eclipse/feature.rb +12 -7
  8. data/lib/buildr4osgi/eclipse/p2.rb +137 -0
  9. data/lib/buildr4osgi/eclipse/site.rb +207 -0
  10. data/lib/buildr4osgi/osgi/bundle.rb +17 -12
  11. data/lib/buildr4osgi/osgi/bundle_package.rb +35 -11
  12. data/lib/buildr4osgi/osgi/container.rb +1 -0
  13. data/lib/buildr4osgi/osgi/execution_environment.rb +199 -0
  14. data/lib/buildr4osgi/osgi/library_extension.rb +14 -1
  15. data/lib/buildr4osgi/osgi/packaging_sources.rb +4 -0
  16. data/lib/buildr4osgi/osgi/project_extension.rb +59 -20
  17. data/lib/buildr4osgi/osgi/registry.rb +23 -29
  18. data/lib/buildr4osgi/osgi/resolving_strategies.rb +1 -0
  19. data/lib/buildr4osgi/osgi/version.rb +1 -1
  20. data/rakelib/all-in-one.rake +84 -0
  21. data/rakelib/stage.rake +5 -4
  22. data/spec/compile/external_spec.rb +41 -0
  23. data/spec/eclipse/p2_spec.rb +65 -0
  24. data/spec/eclipse/site_spec.rb +94 -0
  25. data/spec/osgi/bundle_package_spec.rb +13 -1
  26. data/spec/osgi/bundle_spec.rb +2 -2
  27. data/spec/osgi/execution_environment_spec.rb +48 -0
  28. data/spec/osgi/library_extension_spec.rb +15 -2
  29. data/spec/osgi/project_extension_spec.rb +86 -18
  30. data/spec/osgi/registry_spec.rb +30 -20
  31. data/spec/osgi/resolving_strategies_spec.rb +2 -2
  32. data/spec/osgi/version_spec.rb +6 -0
  33. data/spec/spec_helpers.rb +12 -0
  34. metadata +12 -16
  35. data/spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.jar +0 -0
  36. data/spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.pom +0 -82
  37. data/spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.jar +0 -0
  38. data/spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.pom +0 -478
  39. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8-sources.jar +0 -0
  40. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.jar +0 -0
  41. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.pom +0 -30
  42. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8-sources.jar +0 -0
  43. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar +0 -0
  44. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom +0 -101
  45. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8-sources.jar +0 -0
  46. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar +0 -0
  47. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.pom +0 -56
@@ -1,30 +0,0 @@
1
- <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">
2
-
3
- <parent>
4
- <groupId>org.slf4j</groupId>
5
- <artifactId>slf4j-parent</artifactId>
6
- <version>1.5.8</version>
7
- </parent>
8
-
9
- <modelVersion>4.0.0</modelVersion>
10
-
11
- <groupId>org.slf4j</groupId>
12
- <artifactId>jcl104-over-slf4j</artifactId>
13
- <name>DEPRECATED - JCL 1.0.4 implemented over SLF4J</name>
14
-
15
- <url>http://www.slf4j.org</url>
16
- <description>
17
- DEPRECATED - JCL implemented over SLF4J
18
- </description>
19
-
20
- <distributionManagement>
21
- <relocation>
22
- <groupId>org.slf4j</groupId>
23
- <artifactId>jcl-over-slf4j</artifactId>
24
-
25
- <message>As it now supports JCL versions 1.0.4, 1.1 and 1.1.1, the jcl104-over-slf4j module has been renamed as jcl-over-slf4j.</message>
26
- </relocation>
27
- </distributionManagement>
28
-
29
-
30
- </project>
@@ -1,101 +0,0 @@
1
- <project xmlns="http://maven.apache.org/POM/4.0.0"
2
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
-
5
- <parent>
6
- <groupId>org.slf4j</groupId>
7
- <artifactId>slf4j-parent</artifactId>
8
- <version>1.5.8</version>
9
- </parent>
10
-
11
- <modelVersion>4.0.0</modelVersion>
12
-
13
- <groupId>org.slf4j</groupId>
14
- <artifactId>slf4j-api</artifactId>
15
- <packaging>jar</packaging>
16
- <name>SLF4J API Module</name>
17
-
18
- <url>http://www.slf4j.org</url>
19
- <description>The slf4j API</description>
20
-
21
- <dependencies>
22
-
23
- </dependencies>
24
-
25
- <build>
26
- <plugins>
27
- <plugin>
28
- <groupId>org.apache.maven.plugins</groupId>
29
- <artifactId>maven-surefire-plugin</artifactId>
30
- <configuration>
31
- <forkMode>once</forkMode>
32
- <reportFormat>plain</reportFormat>
33
- <trimStackTrace>false</trimStackTrace>
34
- <excludes>
35
- <exclude>**/AllTest.java</exclude>
36
- <exclude>**/PackageTest.java</exclude>
37
- </excludes>
38
- </configuration>
39
- </plugin>
40
-
41
- <plugin>
42
- <groupId>org.apache.maven.plugins</groupId>
43
- <artifactId>maven-jar-plugin</artifactId>
44
- <configuration>
45
- <archive>
46
- <manifestEntries>
47
- <Bundle-Version>${project.version}</Bundle-Version>
48
- <Bundle-Description>${project.description}</Bundle-Description>
49
- <Implementation-Version>${project.version}</Implementation-Version>
50
- </manifestEntries>
51
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
52
- </archive>
53
- </configuration>
54
- <executions>
55
- <execution>
56
- <id>bundle-test-jar</id>
57
- <phase>package</phase>
58
- <goals>
59
- <goal>jar</goal>
60
- <goal>test-jar</goal>
61
- </goals>
62
- </execution>
63
- </executions>
64
- </plugin>
65
-
66
- <plugin>
67
- <groupId>org.apache.maven.plugins</groupId>
68
- <artifactId>maven-antrun-plugin</artifactId>
69
- <executions>
70
- <execution>
71
- <phase>process-classes</phase>
72
- <goals>
73
- <goal>run</goal>
74
- </goals>
75
- </execution>
76
- </executions>
77
- <configuration>
78
- <tasks>
79
- <echo>Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder</echo>
80
- <delete dir="target/classes/org/slf4j/impl"/>
81
- </tasks>
82
- </configuration>
83
- </plugin>
84
-
85
- </plugins>
86
-
87
- </build>
88
-
89
- <reporting>
90
- <plugins>
91
- <plugin>
92
- <groupId>org.codehaus.mojo</groupId>
93
- <artifactId>clirr-maven-plugin</artifactId>
94
- <configuration>
95
- <comparisonVersion>1.5.6</comparisonVersion>
96
- </configuration>
97
- </plugin>
98
- </plugins>
99
- </reporting>
100
-
101
- </project>
@@ -1,56 +0,0 @@
1
- <project
2
- xmlns="http://maven.apache.org/POM/4.0.0"
3
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
-
6
- <parent>
7
- <groupId>org.slf4j</groupId>
8
- <artifactId>slf4j-parent</artifactId>
9
- <version>1.5.8</version>
10
- </parent>
11
-
12
- <modelVersion>4.0.0</modelVersion>
13
-
14
- <groupId>org.slf4j</groupId>
15
- <artifactId>slf4j-log4j12</artifactId>
16
- <packaging>jar</packaging>
17
- <name>SLF4J LOG4J-12 Binding</name>
18
-
19
- <url>http://www.slf4j.org</url>
20
-
21
- <description>
22
- The slf4j log4j-12 binding
23
- </description>
24
-
25
- <dependencies>
26
- <dependency>
27
- <groupId>org.slf4j</groupId>
28
- <artifactId>slf4j-api</artifactId>
29
- </dependency>
30
-
31
- <dependency>
32
- <groupId>log4j</groupId>
33
- <artifactId>log4j</artifactId>
34
- </dependency>
35
- </dependencies>
36
-
37
- <build>
38
- <plugins>
39
- <plugin>
40
- <groupId>org.apache.maven.plugins</groupId>
41
- <artifactId>maven-jar-plugin</artifactId>
42
- <configuration>
43
- <archive>
44
- <manifestEntries>
45
- <Bundle-Version>${project.version}</Bundle-Version>
46
- <Bundle-Description>${project.description}</Bundle-Description>
47
- <Implementation-Version>${project.version}</Implementation-Version>
48
- </manifestEntries>
49
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
50
- </archive>
51
- </configuration>
52
- </plugin>
53
- </plugins>
54
- </build>
55
-
56
- </project>