You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by tj...@apache.org on 2021/02/17 20:28:31 UTC

[felix-atomos] branch master updated: Comment out unit-test profile

This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git


The following commit(s) were added to refs/heads/master by this push:
     new 43b3a72  Comment out unit-test profile
43b3a72 is described below

commit 43b3a72d41f51a079f7943c075a88e265ee28ba8
Author: Thomas Watson <tj...@us.ibm.com>
AuthorDate: Wed Feb 17 14:09:27 2021 -0600

    Comment out unit-test profile
---
 atomos/pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/atomos/pom.xml b/atomos/pom.xml
index c0c7a18..94c6c76 100644
--- a/atomos/pom.xml
+++ b/atomos/pom.xml
@@ -46,6 +46,14 @@
                 <activeByDefault>true</activeByDefault>
             </activation>
         </profile>
+        <!-- This profile is only to enable running unit tests in IDEs
+             The artifact does actually exist.
+             The actual org.apache.felix.atomos:osgi.core confuses
+             IDEs because it has no module-info.java file in
+             the source therefore the IDE does not know it is
+             supposed to transitively require the osgi implementation.
+             This effectively causes the IDE to refuse to grant access
+             to the org.osgi packages for compilation.
         <profile>
             <id>unit-test</id>
             <dependencies>
@@ -57,11 +65,12 @@
                 <dependency>
                     <groupId>org.apache.felix.atomos.equinox</groupId>
                     <artifactId>osgi.core</artifactId>
-                    <version>8.0.0-SNAPSHOT</version>
+                    <version>8.0.0</version>
                     <scope>provided</scope>
                 </dependency>
             </dependencies>
         </profile>
+        -->
         <profile>
             <id>equinox</id>
             <dependencies>