|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <packaging>bundle</packaging> |
6 | | - <repositories> |
7 | | - <repository> |
8 | | - <id>jitpack.io</id> |
9 | | - <url>https://jitpack.io</url> |
10 | | - </repository> |
11 | | - <repository> |
12 | | - <snapshots> |
13 | | - <enabled>false</enabled> |
14 | | - </snapshots> |
15 | | - <id>bintray-unitsofmeasurement-maven</id> |
16 | | - <name>bintray</name> |
17 | | - <url>http://dl.bintray.com/unitsofmeasurement/maven</url> |
18 | | - </repository> |
19 | | - </repositories> |
20 | 5 | <groupId>org.lemsml.exprparser</groupId> |
21 | 6 | <artifactId>org.lemsml.exprparser</artifactId> |
22 | 7 | <version>0.0.4</version> |
| 8 | + <packaging>bundle</packaging> |
| 9 | + <properties> |
| 10 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 11 | + </properties> |
23 | 12 | <dependencies> |
24 | 13 | <dependency> |
25 | 14 | <groupId>org.antlr</groupId> |
26 | | - <artifactId>antlr4-maven-plugin</artifactId> |
27 | | - <version>4.5.3</version> |
| 15 | + <artifactId>antlr4-runtime</artifactId> |
| 16 | + <version>4.7</version> |
28 | 17 | </dependency> |
29 | 18 | <dependency> |
30 | 19 | <groupId>junit</groupId> |
31 | 20 | <artifactId>junit</artifactId> |
32 | 21 | <version>4.11</version> |
33 | 22 | </dependency> |
34 | | - <dependency> |
35 | | - <groupId>javax.measure</groupId> |
36 | | - <artifactId>unit-api</artifactId> |
37 | | - <version>0.7</version> |
38 | | - <type>jar</type> |
39 | | - </dependency> |
| 23 | + |
40 | 24 | <dependency> |
41 | 25 | <groupId>com.github.unitsofmeasurement</groupId> |
42 | 26 | <artifactId>unit-ri</artifactId> |
|
48 | 32 | <version>3.3.2</version> |
49 | 33 | </dependency> |
50 | 34 | </dependencies> |
51 | | - <properties> |
52 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
53 | | - </properties> |
| 35 | + <repositories> |
| 36 | + <repository> |
| 37 | + <id>jitpack.io</id> |
| 38 | + <url>https://jitpack.io</url> |
| 39 | + </repository> |
| 40 | + <repository> |
| 41 | + <snapshots> |
| 42 | + <enabled>false</enabled> |
| 43 | + </snapshots> |
| 44 | + <id>bintray-unitsofmeasurement-maven</id> |
| 45 | + <name>bintray</name> |
| 46 | + <url>http://dl.bintray.com/unitsofmeasurement/maven</url> |
| 47 | + </repository> |
| 48 | + </repositories> |
54 | 49 | <build> |
55 | 50 | <plugins> |
56 | 51 | <plugin> |
|
93 | 88 | <instructions> |
94 | 89 | <Bundle-Name>${project.artifactId}-${project.version}</Bundle-Name> |
95 | 90 | <Bundle-SymbolicName>${project.artifactId}-${project.version}</Bundle-SymbolicName> |
96 | | - <Bundle-Version>0</Bundle-Version> |
97 | | - |
| 91 | + <Provide-Capability>osgi.ee;osgi.ee=JavaSE;version=1.7</Provide-Capability> |
98 | 92 | </instructions> |
99 | 93 | </configuration> |
100 | 94 | </plugin> |
|
123 | 117 | </configuration> |
124 | 118 | </plugin> |
125 | 119 | <plugin> |
| 120 | + <dependencies> |
| 121 | + <dependency> |
| 122 | + <groupId>org.antlr</groupId> |
| 123 | + <artifactId>antlr4-maven-plugin</artifactId> |
| 124 | + <version>4.7</version> |
| 125 | + </dependency> |
| 126 | + </dependencies> |
126 | 127 | <groupId>org.antlr</groupId> |
127 | 128 | <artifactId>antlr4-maven-plugin</artifactId> |
128 | | - <version>4.5.3</version> |
| 129 | + <version>4.7</version> |
129 | 130 | <configuration> |
130 | 131 | <listener>false</listener> |
131 | 132 | <visitor>true</visitor> |
|
138 | 139 | </execution> |
139 | 140 | </executions> |
140 | 141 | </plugin> |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-dependency-plugin</artifactId> |
| 145 | + <configuration> |
| 146 | + <outputDirectory>${project.build.outputDirectory}/lib</outputDirectory> |
| 147 | + <includeScope>runtime</includeScope> |
| 148 | + <excludeScope>provided</excludeScope> |
| 149 | + </configuration> |
| 150 | + <executions> |
| 151 | + <execution> |
| 152 | + <id>copy-dependencies</id> |
| 153 | + <phase>generate-resources</phase> |
| 154 | + <goals> |
| 155 | + <goal>copy-dependencies</goal> |
| 156 | + </goals> |
| 157 | + </execution> |
| 158 | + </executions> |
| 159 | + </plugin> |
141 | 160 | </plugins> |
| 161 | + <pluginManagement> |
| 162 | + <plugins> |
| 163 | + <plugin> |
| 164 | + <groupId>org.eclipse.m2e</groupId> |
| 165 | + <artifactId>lifecycle-mapping</artifactId> |
| 166 | + <version>1.0.0</version> |
| 167 | + <configuration> |
| 168 | + <lifecycleMappingMetadata> |
| 169 | + <pluginExecutions> |
| 170 | + <pluginExecution> |
| 171 | + <pluginExecutionFilter> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-dependency-plugin</artifactId> |
| 174 | + <versionRange>[2.0,)</versionRange> |
| 175 | + <goals> |
| 176 | + <goal>copy-dependencies</goal> |
| 177 | + </goals> |
| 178 | + </pluginExecutionFilter> |
| 179 | + <action> |
| 180 | + <ignore /> |
| 181 | + </action> |
| 182 | + </pluginExecution> |
| 183 | + </pluginExecutions> |
| 184 | + </lifecycleMappingMetadata> |
| 185 | + </configuration> |
| 186 | + </plugin> |
| 187 | + </plugins> |
| 188 | + </pluginManagement> |
142 | 189 | </build> |
143 | 190 | </project> |
0 commit comments