Skip to content

Commit 16f5a35

Browse files
committed
added bundle packaging, bumping version to 1.0.0
1 parent 343fde2 commit 16f5a35

File tree

3 files changed

+61
-42
lines changed

3 files changed

+61
-42
lines changed

core/pom.xml

Lines changed: 59 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,48 +17,67 @@
1717
1818
-->
1919
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121

22-
<modelVersion>4.0.0</modelVersion>
22+
<modelVersion>4.0.0</modelVersion>
2323

24-
<parent>
25-
<groupId>org.everit</groupId>
26-
<artifactId>org.everit.jsonvalidator.parent</artifactId>
27-
<version>0.0.1-SNAPSHOT</version>
28-
</parent>
29-
30-
<artifactId>org.everit.jsonvalidator</artifactId>
24+
<parent>
25+
<groupId>org.everit</groupId>
26+
<artifactId>org.everit.jsonvalidator.parent</artifactId>
27+
<version>1.0.0</version>
28+
</parent>
3129

32-
<build>
33-
<plugins>
34-
<plugin>
35-
<groupId>org.apache.maven.plugins</groupId>
36-
<artifactId>maven-compiler-plugin</artifactId>
37-
<version>3.3</version>
38-
<configuration>
39-
<source>1.8</source>
40-
<target>1.8</target>
41-
</configuration>
42-
</plugin>
43-
</plugins>
44-
</build>
30+
<artifactId>org.everit.jsonvalidator</artifactId>
4531

46-
<dependencies>
47-
<dependency>
48-
<groupId>org.json</groupId>
49-
<artifactId>json</artifactId>
50-
<version>20141113</version>
51-
</dependency>
52-
<dependency>
53-
<groupId>junit</groupId>
54-
<artifactId>junit</artifactId>
55-
<version>4.12</version>
56-
<scope>test</scope>
57-
</dependency>
58-
<dependency>
59-
<groupId>org.apache.httpcomponents</groupId>
60-
<artifactId>httpclient</artifactId>
61-
<version>4.5.1</version>
62-
</dependency>
63-
</dependencies>
32+
<packaging>bundle</packaging>
33+
34+
<build>
35+
<plugins>
36+
<plugin>
37+
<groupId>org.apache.maven.plugins</groupId>
38+
<artifactId>maven-compiler-plugin</artifactId>
39+
<version>3.3</version>
40+
<configuration>
41+
<source>1.8</source>
42+
<target>1.8</target>
43+
</configuration>
44+
</plugin>
45+
<plugin>
46+
<groupId>org.apache.felix</groupId>
47+
<artifactId>maven-bundle-plugin</artifactId>
48+
<extensions>true</extensions>
49+
<configuration>
50+
<instructions>
51+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
52+
<Import-Package>
53+
*
54+
</Import-Package>
55+
<Export-Package>
56+
org.everit.jsonvalidator;version=${project.version},
57+
org.everit.jsonvalidator.loader;version=${project.version}
58+
</Export-Package>
59+
</instructions>
60+
</configuration>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
65+
<dependencies>
66+
<dependency>
67+
<groupId>org.json</groupId>
68+
<artifactId>json</artifactId>
69+
<version>20141113</version>
70+
</dependency>
71+
<dependency>
72+
<groupId>junit</groupId>
73+
<artifactId>junit</artifactId>
74+
<version>4.12</version>
75+
<scope>test</scope>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.apache.httpcomponents</groupId>
79+
<artifactId>httpclient</artifactId>
80+
<version>4.5.1</version>
81+
</dependency>
82+
</dependencies>
6483
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</parent>
2929
<groupId>org.everit</groupId>
3030
<artifactId>org.everit.jsonvalidator.parent</artifactId>
31-
<version>0.0.1-SNAPSHOT</version>
31+
<version>1.0.0</version>
3232

3333
<packaging>pom</packaging>
3434

tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.everit</groupId>
2626
<artifactId>org.everit.jsonvalidator.parent</artifactId>
27-
<version>0.0.1-SNAPSHOT</version>
27+
<version>1.0.0</version>
2828
</parent>
2929

3030
<artifactId>org.everit.jsonvalidator.tests</artifactId>

0 commit comments

Comments
 (0)