Wrong Bundle Location in Felix Console | Community
Skip to main content
rahuls80678827
Level 3
Apr 13, 2018 11:58 AM UTC
Solved

Wrong Bundle Location in Felix Console

I am working on AEM 6.3 project, where my requirement is to change all the SNAPSHOT (1.0.0-SNAPSHOT) version to actual version in all the POM Files. After doing these change, I observed that "Bundle Location" is not getting changed in Felix Console.

In below screenshot, Version has been changed from "1.0-SNAPSHOT" to 1.0.0 but Bundle Location is still pointing to SNAPSHOT version.

Snapshot 1:

Snapshot 2:

POM FILE:

<profiles>

   <profile>

      <id>autoInstallBundle</id>

         <build>

            <plugins>

                <plugin>

                    <groupId>org.apache.sling</groupId>

                    <artifactId>maven-sling-plugin</artifactId>

                    <executions>

                        <execution>

                        <id>install-bundle</id>

                        <goals>

                          <goal>install</goal>

                        </goals>

                        <configuration>

                          <slingUrl>http://${crx.host}:${crx.port}/system/console/install</slingUrl>

                          <user>${crx.username}</user>

                          <password>${crx.password}</password>

                       </configuration>

                     </execution>

                   </executions>

               </plugin>

          </plugins>

     </build>

   </profile>

</profiles>

Is there anything else needs to be done in POM file to reflect the changes in Felix Console?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Apr 16, 2018 7:20 AM UTC

This is expected behaviour and there is nothing wrong with it.  For details please see:

[SLING-4747] Installer does not consistently update bundle location in Webconsole - ASF JIRA

Jörg

3 replies

joerghoh
joerghohAccepted solution
Employee
Apr 16, 2018 7:20 AM UTC

This is expected behaviour and there is nothing wrong with it.  For details please see:

[SLING-4747] Installer does not consistently update bundle location in Webconsole - ASF JIRA

Jörg

Translate
rahuls80678827
Level 3
Apr 16, 2018 5:33 AM UTC

By uninstalling, you mean try deleting/uninstalling it from felix Console manually and then run mvn command again to install it with updated version number?

Translate
smacdonald2008
Level 10
Apr 13, 2018 1:22 PM UTC

Nothing else need to be done. Try uninstalling and rebuilding with a new Maven Archetype project and specify the correct input values when specifying input values for the Maven Archetype project. Then deploy the new OSGi bundle.

Translate