Highlighted

AEM 6.1Imported Package is none at OSGi Bundle console

Avatar

Avatar

ryuatnorcal

Avatar

ryuatnorcal

ryuatnorcal

13-03-2018

Hello AEM community!

I have a problem installing OSGI bundle to AEM server.

Apparently, AEM server's OSGi Bundle detail says imported package as none, however, my local AEM server installed packages.

I'm not sure what makes it prevent from installing dependencies from external sources.

Following is my local AEM server's bundle console out put

it.png

Following is my Online AEM server's bundle console output

uat.png

I generated the project with using lazybone so folder structure is the same as lazybone project

<code>

...

    <!-- ====================================================================== -->

    <!-- P R O P E R T I E S -->

    <!-- ====================================================================== -->

    <properties>

        <crx.host>localhost</crx.host>

        <crx.port>4502</crx.port>

        <crx.username>admin</crx.username>

        <crx.password>admin</crx.password>

        <publish.crx.host>localhost</publish.crx.host>

        <publish.crx.port>4503</publish.crx.port>

        <publish.crx.username>admin</publish.crx.username>

        <publish.crx.password>admin</publish.crx.password>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

    </properties>

    <dependencyManagement>

        <dependencies>

            <dependency>

                <groupId>org.osgi</groupId>

                <artifactId>org.osgi.core</artifactId>

                <version>4.2.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>org.osgi</groupId>

                <artifactId>org.osgi.compendium</artifactId>

                <version>4.2.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>org.apache.felix</groupId>

                <artifactId>org.apache.felix.scr.annotations</artifactId>

                <version>1.9.8</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>biz.aQute.bnd</groupId>

                <artifactId>annotation</artifactId>

                <version>2.3.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>javax.servlet</groupId>

                <artifactId>servlet-api</artifactId>

                <version>2.5</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>org.apache.commons</groupId>

                <artifactId>commons-lang3</artifactId>

                <version>3.0.1</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>commons-lang</groupId>

                <artifactId>commons-lang</artifactId>

                <version>2.5</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>commons-codec</groupId>

                <artifactId>commons-codec</artifactId>

                <version>1.5</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>commons-io</groupId>

                <artifactId>commons-io</artifactId>

                <version>2.4</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>com.day.commons</groupId>

                <artifactId>day-commons-jstl</artifactId>

                <version>1.1.4</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>javax.servlet.jsp</groupId>

                <artifactId>jsp-api</artifactId>

                <version>2.1</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>javax.jcr</groupId>

                <artifactId>jcr</artifactId>

                <version>2.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>junit</groupId>

                <artifactId>junit</artifactId>

                <version>4.11</version>

                <scope>test</scope>

            </dependency>

            <dependency>

                <groupId>junit-addons</groupId>

                <artifactId>junit-addons</artifactId>

                <version>1.4</version>

                <scope>test</scope>

            </dependency>

            <dependency>

                <groupId>com.day.cq.wcm</groupId>

                <artifactId>cq-wcm-taglib</artifactId>

                <version>5.6.4</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

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

                <artifactId>org.apache.sling.scripting.jsp.taglib</artifactId>

                <version>2.2.4</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>com.adobe.aem</groupId>

                <artifactId>uber-jar</artifactId>

                <version>6.1.0</version>

                <scope>provided</scope>

                <classifier>obfuscated-apis</classifier>

            </dependency>

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-api</artifactId>

                <version>1.7.6</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-simple</artifactId>

                <version>1.7.6</version>

                <scope>test</scope>

            </dependency>

            <dependency>

                <groupId>com.google.code.findbugs</groupId>

                <artifactId>jsr305</artifactId>

                <version>3.0.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>com.adobe.acs</groupId>

                <artifactId>acs-aem-commons-bundle</artifactId>

                <version>2.11.0</version>

                <scope>provided</scope>

            </dependency>

            <dependency>

                <groupId>com.adobe.acs</groupId>

                <artifactId>acs-aem-commons-content</artifactId>

                <version>2.11.0</version>

                <scope>provided</scope>

                <type>content-package</type>

            </dependency>

            <dependency>

                <groupId>javax.inject</groupId>

                <artifactId>javax.inject</artifactId>

                <version>1</version>

                <scope>provided</scope>

            </dependency>

        </dependencies>

    </dependencyManagement>

    <!--

        Inclusion of repositories in POMs is controversial, to say the least.

        It would be best if you proxied the Adobe repository using a Maven

        Repository Manager. Once you do that, remove these sections.

     -->

    <repositories>

        <repository>

            <id>adobe</id>

            <name>Adobe Public Repository</name>

            <url>https://repo.adobe.com/nexus/content/groups/public/</url>

            <layout>default</layout>

        </repository>

    </repositories>

    <pluginRepositories>

        <pluginRepository>

            <id>adobe</id>

            <name>Adobe Public Repository</name>

            <url>https://repo.adobe.com/nexus/content/groups/public/</url>

            <layout>default</layout>

        </pluginRepository>

    </pluginRepositories>

    <build>

        <plugins>

            <plugin>

                <groupId>com.day.jcr.vault</groupId>

                <artifactId>content-package-maven-plugin</artifactId>

            </plugin>

        </plugins>

        <pluginManagement>

            <plugins>

                <plugin>

                    <groupId>org.apache.felix</groupId>

                    <artifactId>maven-scr-plugin</artifactId>

                    <version>1.20.0</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.felix</groupId>

                    <artifactId>maven-bundle-plugin</artifactId>

                    <version>2.5.3</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-compiler-plugin</artifactId>

                    <version>3.1</version>

                    <configuration>

                        <source>1.7</source>

                        <target>1.7</target>

                    </configuration>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-resources-plugin</artifactId>

                    <version>2.6</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-deploy-plugin</artifactId>

                    <version>2.8.2</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-install-plugin</artifactId>

                    <version>2.5.2</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-surefire-plugin</artifactId>

                    <version>2.17</version>

                </plugin>

                <plugin>

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

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

                    <version>2.1.0</version>

                    <configuration>

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

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

                    </configuration>

                </plugin>

                <plugin>

                    <groupId>com.day.jcr.vault</groupId>

                    <artifactId>content-package-maven-plugin</artifactId>

                    <version>0.0.24</version>

                    <extensions>true</extensions>

                    <configuration>

                        <failOnError>true</failOnError>

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

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

                    </configuration>

                </plugin>

                <plugin>

                    <artifactId>maven-javadoc-plugin</artifactId>

                    <version>2.9.1</version>

                    <configuration>

                        <excludePackageNames>

                            *.impl

                        </excludePackageNames>

                    </configuration>

                </plugin>

                <plugin>

                    <groupId>org.jacoco</groupId>

                    <artifactId>jacoco-maven-plugin</artifactId>

                    <version>0.7.1.201405082137</version>

                    <executions>

                        <execution>

                            <id>default-prepare-agent</id>

                            <goals>

                                <goal>prepare-agent</goal>

                            </goals>

                        </execution>

                    </executions>

                </plugin>

                <plugin>

                    <artifactId>maven-pmd-plugin</artifactId>

                    <version>3.2</version>

                    <configuration>

                        <linkXRef>false</linkXRef>

                        <rulesets>

                            <ruleset>acs/pmd/rules.xml</ruleset>

                        </rulesets>

                        <targetJdk>1.6</targetJdk>

                    </configuration>

                    <dependencies>

                        <dependency>

                            <groupId>com.adobe.acs</groupId>

                            <artifactId>coding-standards</artifactId>

                            <version>0.0.1</version>

                        </dependency>

                    </dependencies>

                </plugin>

                <plugin>

                    <groupId>org.codehaus.mojo</groupId>

                    <artifactId>findbugs-maven-plugin</artifactId>

                    <version>3.0.0</version>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-checkstyle-plugin</artifactId>

                    <version>2.12.1</version>

                    <configuration>

                        <linkXRef>false</linkXRef>

                        <configLocation>acs/checkstyle/checks.xml</configLocation>

                        <includeResources>false</includeResources>

                        <includeTestResources>false</includeTestResources>

                    </configuration>

                    <dependencies>

                        <dependency>

                            <groupId>com.adobe.acs</groupId>

                            <artifactId>checkstyle-osgi-checks</artifactId>

                            <version>0.0.3</version>

                        </dependency>

                        <dependency>

                            <groupId>com.adobe.acs</groupId>

                            <artifactId>coding-standards</artifactId>

                            <version>0.0.1</version>

                        </dependency>

                    </dependencies>

                </plugin>

                <plugin>

                    <groupId>org.codehaus.mojo</groupId>

                    <artifactId>jslint-maven-plugin</artifactId>

                    <version>1.0.1</version>

                </plugin>

            </plugins>

        </pluginManagement>

    </build>

    <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>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

        <profile>

            <id>analysis</id>

            <build>

                <plugins>

                    <plugin>

                        <artifactId>maven-pmd-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>pmd</goal>

                                    <goal>cpd</goal>

                                    <!-- build will fail on warnings -->

                                    <goal>check</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <artifactId>maven-javadoc-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>javadoc</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <groupId>org.codehaus.mojo</groupId>

                        <artifactId>findbugs-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>check</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <artifactId>maven-checkstyle-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>checkstyle</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

        <profile>

            <id>analysisCI</id>

            <build>

                <plugins>

                    <plugin>

                        <artifactId>maven-pmd-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>pmd</goal>

                                    <goal>cpd</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <artifactId>maven-javadoc-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>javadoc</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <groupId>org.codehaus.mojo</groupId>

                        <artifactId>findbugs-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>findbugs</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                    <plugin>

                        <artifactId>maven-checkstyle-plugin</artifactId>

                        <executions>

                            <execution>

                                <phase>package</phase>

                                <goals>

                                    <goal>checkstyle</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

    </profiles>

    <modules>

        <module>core</module>

        <module>ui.apps</module>

    </modules>

</project>

</code>

<projectname>-core.pom as

<code>

...

    <!-- ====================================================================== -->

    <!-- P R O J E C T D E S C R I P T I O N -->

    <!-- ====================================================================== -->

    <artifactId>my-mobile-money-pass-project.core</artifactId>

    <packaging>bundle</packaging>

    <name>My Mobile Money Pass Project Bundle</name>

    <dependencies>

        <dependency>

            <groupId>org.osgi</groupId>

            <artifactId>org.osgi.core</artifactId>

        </dependency>

        <dependency>

            <groupId>org.osgi</groupId>

            <artifactId>org.osgi.compendium</artifactId>

        </dependency>

        <dependency>

            <groupId>org.apache.felix</groupId>

            <artifactId>org.apache.felix.scr.annotations</artifactId>

        </dependency>

        <dependency>

            <groupId>biz.aQute.bnd</groupId>

            <artifactId>annotation</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.servlet</groupId>

            <artifactId>servlet-api</artifactId>

        </dependency>

        <dependency>

            <groupId>org.apache.commons</groupId>

            <artifactId>commons-lang3</artifactId>

        </dependency>

        <dependency>

            <groupId>commons-lang</groupId>

            <artifactId>commons-lang</artifactId>

        </dependency>

        <dependency>

            <groupId>commons-codec</groupId>

            <artifactId>commons-codec</artifactId>

        </dependency>

        <dependency>

            <groupId>commons-io</groupId>

            <artifactId>commons-io</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.servlet.jsp</groupId>

            <artifactId>jsp-api</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.jcr</groupId>

            <artifactId>jcr</artifactId>

        </dependency>

        <dependency>

            <groupId>junit</groupId>

            <artifactId>junit</artifactId>

        </dependency>

        <dependency>

            <groupId>junit-addons</groupId>

            <artifactId>junit-addons</artifactId>

        </dependency>

        <dependency>

            <groupId>com.adobe.aem</groupId>

            <artifactId>uber-jar</artifactId>

            <classifier>obfuscated-apis</classifier>

        </dependency>

        <dependency>

            <groupId>org.slf4j</groupId>

            <artifactId>slf4j-api</artifactId>

        </dependency>

        <dependency>

            <groupId>org.slf4j</groupId>

            <artifactId>slf4j-simple</artifactId>

        </dependency>

        <dependency>

            <groupId>com.google.code.findbugs</groupId>

            <artifactId>jsr305</artifactId>

        </dependency>

        <dependency>

            <groupId>com.adobe.acs</groupId>

            <artifactId>acs-aem-commons-bundle</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.inject</groupId>

            <artifactId>javax.inject</artifactId>

        </dependency>

    </dependencies>

    <!-- ====================================================================== -->

    <!-- B U I L D D E F I N I T I O N -->

    <!-- ====================================================================== -->

    <build>

        <plugins>

            <plugin>

                <groupId>org.apache.felix</groupId>

                <artifactId>maven-scr-plugin</artifactId>

                <executions>

                    <execution>

                        <id>generate-scr-descriptor</id>

                        <goals>

                            <goal>scr</goal>

                        </goals>

                    </execution>

                </executions>

            </plugin>

            <plugin>

                <groupId>org.apache.felix</groupId>

                <artifactId>maven-bundle-plugin</artifactId>

                <extensions>true</extensions>

                <configuration>

                    <instructions>

                        <Bundle-SymbolicName>com.elavon.my-mobile-money-pass-project</Bundle-SymbolicName>

                    </instructions>

                </configuration>

            </plugin>

            <plugin>

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

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

                <configuration>

                    <slingUrl>http://${crx.host}:${crx.port}/apps/my-mobile-money-pass-project/install</slingUrl>

                    <usePut>true</usePut>

                </configuration>

            </plugin>

            <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-javadoc-plugin</artifactId>

                 <configuration>

                    <excludePackageNames>

                        *.impl

                    </excludePackageNames>

                 </configuration>

            </plugin>

        </plugins>

    </build>

    <profiles>

        <profile>

            <id>analysis</id>

            <build>

                <plugins>

                    <plugin>

                        <groupId>org.jacoco</groupId>

                        <artifactId>jacoco-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <id>default-report</id>

                                <phase>prepare-package</phase>

                                <goals>

                                    <goal>report</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

        <profile>

            <id>analysisCI</id>

            <build>

                <plugins>

                    <plugin>

                        <groupId>org.jacoco</groupId>

                        <artifactId>jacoco-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <id>default-report</id>

                                <phase>prepare-package</phase>

                                <goals>

                                    <goal>report</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

    </profiles>

</project>

</code>

<projectname>-ui.pom as

<code>

...

    <!-- ====================================================================== -->

    <!-- P R O J E C T D E S C R I P T I O N -->

    <!-- ====================================================================== -->

    <artifactId>my-mobile-money-pass-project.ui.apps</artifactId>

    <packaging>content-package</packaging>

    <name>My Mobile Money Pass Project Content Package</name>

    <dependencies>

        <dependency>

            <groupId>com.elavon</groupId>

            <artifactId>my-mobile-money-pass-project.core</artifactId>

            <version>${project.version}</version>

        </dependency>

        <dependency>

            <groupId>org.osgi</groupId>

            <artifactId>org.osgi.core</artifactId>

        </dependency>

        <dependency>

            <groupId>org.osgi</groupId>

            <artifactId>org.osgi.compendium</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.servlet</groupId>

            <artifactId>servlet-api</artifactId>

        </dependency>

        <dependency>

            <groupId>org.apache.commons</groupId>

            <artifactId>commons-lang3</artifactId>

        </dependency>

        <dependency>

            <groupId>commons-lang</groupId>

            <artifactId>commons-lang</artifactId>

        </dependency>

        <dependency>

            <groupId>com.day.commons</groupId>

            <artifactId>day-commons-jstl</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.servlet.jsp</groupId>

            <artifactId>jsp-api</artifactId>

        </dependency>

        <dependency>

            <groupId>javax.jcr</groupId>

            <artifactId>jcr</artifactId>

        </dependency>

        <dependency>

            <groupId>com.day.cq.wcm</groupId>

            <artifactId>cq-wcm-taglib</artifactId>

        </dependency>

        <dependency>

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

            <artifactId>org.apache.sling.scripting.jsp.taglib</artifactId>

        </dependency>

        <dependency>

            <groupId>com.adobe.aem</groupId>

            <artifactId>uber-jar</artifactId>

            <classifier>obfuscated-apis</classifier>

        </dependency>

        <dependency>

            <groupId>org.slf4j</groupId>

            <artifactId>slf4j-api</artifactId>

        </dependency>

        <dependency>

            <groupId>org.slf4j</groupId>

            <artifactId>slf4j-simple</artifactId>

        </dependency>

        <dependency>

            <groupId>com.adobe.acs</groupId>

            <artifactId>acs-aem-commons-bundle</artifactId>

        </dependency>

        <dependency>

            <groupId>com.adobe.acs</groupId>

            <artifactId>acs-aem-commons-content</artifactId>

            <type>content-package</type>

        </dependency>

    </dependencies>

    <build>

        <resources>

            <resource>

                <directory>src/main/content/jcr_root</directory>

                <filtering>false</filtering>

                <excludes>

                    <exclude>**/.vlt</exclude>

                    <exclude>**/.vltignore</exclude>

                </excludes>

            </resource>

        </resources>

        <plugins>

            <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-resources-plugin</artifactId>

                <configuration>

                    <includeEmptyDirs>true</includeEmptyDirs>

                </configuration>

            </plugin>

            <plugin>

                <groupId>org.codehaus.mojo</groupId>

                <artifactId>jslint-maven-plugin</artifactId>

                <executions>

                    <execution>

                        <goals>

                            <goal>jslint</goal>

                        </goals>

                    </execution>

                </executions>

                <configuration>

                    <sourceJsFolder>src/main/content/jcr_root</sourceJsFolder>

                    <failOnIssues>true</failOnIssues>

                    <predefinedVars>jQuery,window,$,use,properties,pageProperties,inheritedPageProperties,component,componentContext,currentDesign,currentNode,currentPage,currentSession,currentStyle,designer,editContext,log,out,pageManager,reader,request,resource,resourceDesign,resourcePage,response,sling,slyWcmHelper,wcmmode,xssAPI</predefinedVars>

                    <excludes>

                        <exclude>**/extensions/**/*.js</exclude>

                        <exclude>**/vendor/**/*.js</exclude>

                    </excludes>

                </configuration>

            </plugin>

            <plugin>

                <groupId>com.day.jcr.vault</groupId>

                <artifactId>content-package-maven-plugin</artifactId>

                <extensions>true</extensions>

                <configuration>

                    <group>my-mobile-money-pass-packages</group>

                    <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>

                    <embeddeds>

                        <embedded>

                            <groupId>com.elavon</groupId>

                            <artifactId>my-mobile-money-pass-project.core</artifactId>

                            <target>/apps/my-mobile-money-pass-project/install</target>

                        </embedded>

                    </embeddeds>

                    <subPackages>

                        <subPackage>

                            <groupId>com.adobe.acs</groupId>

                            <artifactId>acs-aem-commons-content</artifactId>

                            <filter>true</filter>

                        </subPackage>

                    </subPackages>

                    <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>

                </configuration>

            </plugin>

        </plugins>

    </build>

    <profiles>

        <profile>

            <id>autoInstallPackage</id>

            <build>

                <plugins>

                    <plugin>

                        <groupId>com.day.jcr.vault</groupId>

                        <artifactId>content-package-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <id>install-content-package</id>

                                <phase>install</phase>

                                <goals>

                                    <goal>install</goal>

                                </goals>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

        <profile>

            <id>autoInstallPackagePublish</id>

            <build>

                <plugins>

                    <plugin>

                        <groupId>com.day.jcr.vault</groupId>

                        <artifactId>content-package-maven-plugin</artifactId>

                        <executions>

                            <execution>

                                <id>install-content-package-publish</id>

                                <phase>install</phase>

                                <goals>

                                    <goal>install</goal>

                                </goals>

                                <configuration>

                                    <targetURL>http://${publish.crx.host}:${publish.crx.port}/crx/packmgr/service.jsp</targetURL>

                                    <userId>${publish.crx.username}</userId>

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

                                </configuration>

                            </execution>

                        </executions>

                    </plugin>

                </plugins>

            </build>

        </profile>

    </profiles>

</project>

</code>

If anybody knows how to fix this problem please let me know.

If I need to use local jar files to install missing packages, where can I download the jar files ? I googled a bit but I couldn't find a place where I can download the missing jar files.

thanks!

Ryu