Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76f40dd

Browse files
comment to integrate in IntelliJ and handle OSGi errors
1 parent 304c8bc commit 76f40dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sqldev/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,13 @@
370370
</configuration>
371371
</plugin>
372372
<plugin>
373+
<!-- builds the OSGi bundle including MANIFEST.MF with build version number and properties -->
374+
<!-- IMPORTANT NOTICE: -->
375+
<!-- disable OSGi facets in IntelliJ (2020.1) to get rid of the following types of warnings/errors: -->
376+
<!-- - Warning:osgi: [org.utplsql.sqldev] Host ...= for this fragment/require bundle cannot be found on the classpath -->
377+
<!-- - Warning:osgi: [org.utplsql.sqldev] No translation found for macro: ... -->
378+
<!-- - Error:osgi: [org.utplsql.sqldev] Input file does not exist: target/classes/META-INF/extension.xml -->
379+
<!-- - Error:osgi: [org.utplsql.sqldev] Invalid value for Bundle-Version, ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} does not match \d{1,9}(\.\d{1,9}(\.\d{1,9}(\.[-\w]+)?)?)? -->
373380
<groupId>org.apache.felix</groupId>
374381
<artifactId>maven-bundle-plugin</artifactId>
375382
<version>4.2.1</version>

0 commit comments

Comments
 (0)