|
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 | | - <repositories> |
6 | | - <repository> |
7 | | - <id>jitpack.io</id> |
8 | | - <url>https://jitpack.io</url> |
9 | | - </repository> |
10 | | - <repository> |
11 | | - <snapshots> |
12 | | - <enabled>false</enabled> |
13 | | - </snapshots> |
14 | | - <id>bintray-unitsofmeasurement-maven</id> |
15 | | - <name>bintray</name> |
16 | | - <url>http://dl.bintray.com/unitsofmeasurement/maven</url> |
17 | | - </repository> |
18 | | - </repositories> |
19 | | - <groupId>org.lemsml.expr-parser</groupId> |
20 | | - <artifactId>org.lemsml.expr-parser</artifactId> |
21 | | - <version>0.0.3</version> |
22 | | - <packaging>jar</packaging> |
| 5 | + <groupId>org.lemsml.exprparser</groupId> |
| 6 | + <artifactId>org.lemsml.exprparser</artifactId> |
| 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.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 | | - <scope>test</scope> |
34 | | - <type>jar</type> |
35 | | - </dependency> |
36 | | - <dependency> |
37 | | - <groupId>javax.measure</groupId> |
38 | | - <artifactId>unit-api</artifactId> |
39 | | - <version>0.7</version> |
40 | | - <type>jar</type> |
41 | 22 | </dependency> |
| 23 | + |
42 | 24 | <dependency> |
43 | 25 | <groupId>com.github.unitsofmeasurement</groupId> |
44 | 26 | <artifactId>unit-ri</artifactId> |
45 | 27 | <version>0.8-RC2</version> |
46 | 28 | </dependency> |
47 | | - <dependency> |
48 | | - <groupId>org.antlr</groupId> |
49 | | - <artifactId>stringtemplate</artifactId> |
50 | | - <version>4.0.2</version> |
51 | | - </dependency> |
52 | 29 | <dependency> |
53 | 30 | <groupId>org.apache.commons</groupId> |
54 | 31 | <artifactId>commons-lang3</artifactId> |
55 | 32 | <version>3.3.2</version> |
56 | 33 | </dependency> |
57 | 34 | </dependencies> |
58 | | - <properties> |
59 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
60 | | - </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 | + <repository> |
| 49 | + <id>org.geppetto-mvn-repo</id> |
| 50 | + <url>https://raw.github.com/openworm/org.geppetto.maven/mvn-repo-nml-1.5.1-lems2</url> |
| 51 | + <snapshots> |
| 52 | + <enabled>true</enabled> |
| 53 | + <updatePolicy>always</updatePolicy> |
| 54 | + </snapshots> |
| 55 | + </repository> |
| 56 | + </repositories> |
61 | 57 | <build> |
62 | 58 | <plugins> |
63 | 59 | <plugin> |
|
86 | 82 | </lifecycleMappingMetadata> |
87 | 83 | </configuration> |
88 | 84 | </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.felix</groupId> |
| 87 | + <artifactId>maven-bundle-plugin</artifactId> |
| 88 | + <version>2.3.7</version> |
| 89 | + <extensions>true</extensions> |
| 90 | + <configuration> |
| 91 | + <manifestLocation>src/main/java/META-INF</manifestLocation> |
| 92 | + <supportedProjectTypes> |
| 93 | + <supportedProjectType>jar</supportedProjectType> |
| 94 | + <supportedProjectType>bundle</supportedProjectType> |
| 95 | + </supportedProjectTypes> |
| 96 | + <instructions> |
| 97 | + <Bundle-Name>${project.artifactId}-${project.version}</Bundle-Name> |
| 98 | + <Bundle-SymbolicName>${project.artifactId}-${project.version}</Bundle-SymbolicName> |
| 99 | + <Provide-Capability>osgi.ee;osgi.ee=JavaSE;version=1.7</Provide-Capability> |
| 100 | + </instructions> |
| 101 | + </configuration> |
| 102 | + </plugin> |
89 | 103 | <plugin> |
90 | 104 | <groupId>org.apache.maven.plugins</groupId> |
91 | 105 | <artifactId>maven-compiler-plugin</artifactId> |
|
111 | 125 | </configuration> |
112 | 126 | </plugin> |
113 | 127 | <plugin> |
| 128 | + <dependencies> |
| 129 | + <dependency> |
| 130 | + <groupId>org.antlr</groupId> |
| 131 | + <artifactId>antlr4-maven-plugin</artifactId> |
| 132 | + <version>4.7</version> |
| 133 | + </dependency> |
| 134 | + </dependencies> |
114 | 135 | <groupId>org.antlr</groupId> |
115 | 136 | <artifactId>antlr4-maven-plugin</artifactId> |
116 | | - <version>4.2</version> |
| 137 | + <version>4.7</version> |
117 | 138 | <configuration> |
118 | 139 | <listener>false</listener> |
119 | 140 | <visitor>true</visitor> |
|
126 | 147 | </execution> |
127 | 148 | </executions> |
128 | 149 | </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-dependency-plugin</artifactId> |
| 153 | + <configuration> |
| 154 | + <outputDirectory>${project.build.outputDirectory}/lib</outputDirectory> |
| 155 | + <includeScope>runtime</includeScope> |
| 156 | + <excludeScope>provided</excludeScope> |
| 157 | + </configuration> |
| 158 | + <executions> |
| 159 | + <execution> |
| 160 | + <id>copy-dependencies</id> |
| 161 | + <phase>generate-resources</phase> |
| 162 | + <goals> |
| 163 | + <goal>copy-dependencies</goal> |
| 164 | + </goals> |
| 165 | + </execution> |
| 166 | + </executions> |
| 167 | + </plugin> |
129 | 168 | </plugins> |
| 169 | + <pluginManagement> |
| 170 | + <plugins> |
| 171 | + <plugin> |
| 172 | + <groupId>org.eclipse.m2e</groupId> |
| 173 | + <artifactId>lifecycle-mapping</artifactId> |
| 174 | + <version>1.0.0</version> |
| 175 | + <configuration> |
| 176 | + <lifecycleMappingMetadata> |
| 177 | + <pluginExecutions> |
| 178 | + <pluginExecution> |
| 179 | + <pluginExecutionFilter> |
| 180 | + <groupId>org.apache.maven.plugins</groupId> |
| 181 | + <artifactId>maven-dependency-plugin</artifactId> |
| 182 | + <versionRange>[2.0,)</versionRange> |
| 183 | + <goals> |
| 184 | + <goal>copy-dependencies</goal> |
| 185 | + </goals> |
| 186 | + </pluginExecutionFilter> |
| 187 | + <action> |
| 188 | + <ignore /> |
| 189 | + </action> |
| 190 | + </pluginExecution> |
| 191 | + </pluginExecutions> |
| 192 | + </lifecycleMappingMetadata> |
| 193 | + </configuration> |
| 194 | + </plugin> |
| 195 | + </plugins> |
| 196 | + </pluginManagement> |
130 | 197 | </build> |
131 | 198 | </project> |
0 commit comments