Hi igreenfield,

I copied my pom.xml file as below. Can you help me to check where it's
wrong ?

Thanks,
-Liang

================================
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>

    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.jclouds.labs</groupId>
        <artifactId>jclouds-labs</artifactId>
        <version>1.8.0-SNAPSHOT</version>
    </parent>
    <groupId>org.apache.jclouds.api</groupId>
    <artifactId>vsphere</artifactId>
    <name>jclouds vSphere api (lab)</name>
    <description>Jclouds components to access an implementation of VMWare
vSphere.</description>
    <packaging>bundle</packaging>

    <properties>
        <test.vsphere.endpoint>https://10.45.7.70/sdk
</test.vsphere.endpoint>
        <test.vsphere.api-version>1.0</test.vsphere.api-version>
        <test.vsphere.build-version/>
        <test.vsphere.identity>root</test.vsphere.identity>
        <test.vsphere.credential>vmware</test.vsphere.credential>
       <test.vsphere.template/>

<jclouds.osgi.export>org.jclouds.vsphere*;version="${project.version}"</jclouds.osgi.export>
        <jclouds.osgi.import>
            org.jclouds.compute.internal;version="${project.version}",
            org.jclouds.rest.internal;version="${project.version}",
            org.jclouds*;version="${project.version}",
            *
        </jclouds.osgi.import>
    </properties>

    <dependencies>

        <dependency>
            <groupId>org.apache.jclouds</groupId>
            <artifactId>jclouds-core</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.jclouds</groupId>
            <artifactId>jclouds-core</artifactId>
            <version>${project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.jclouds</groupId>
            <artifactId>jclouds-compute</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.jclouds</groupId>
            <artifactId>jclouds-compute</artifactId>
            <version>${project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.jclouds.driver</groupId>
            <artifactId>jclouds-sshj</artifactId>
            <version>${project.version}</version>
<!--
            <scope>test</scope>
-->
        </dependency>
        <dependency>
            <groupId>org.apache.jclouds.driver</groupId>
            <artifactId>jclouds-log4j</artifactId>
            <version>${project.version}</version>
<!--
            <scope>test</scope>
-->
        </dependency>
        <dependency>
            <groupId>com.vmware</groupId>
            <artifactId>vijava</artifactId>
            <version>5.1</version>
        </dependency>

<!--
        <dependency>
            <groupId>net.sourceforge.expectj</groupId>
            <artifactId>expectj</artifactId>
            <version>2.0.7</version>
        </dependency>
-->
        <dependency>
            <groupId>org.codehaus.mojo.enchanter</groupId>
           <artifactId>enchanter-core</artifactId>
            <version>1.0-beta-1</version>
        </dependency>
    </dependencies>

 <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>org.jclouds.vsphere.MainApp</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
          </descriptorRefs>
          <archive>
            <manifest>
              <mainClass>org.jclouds.vsphere.MainApp</mainClass>
            </manifest>
          </archive>
        </configuration>
        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

  </build>

</project>



On Thu, Jun 19, 2014 at 8:16 PM, igreenfield <[email protected]>
wrote:

> It seems like your jar is missing the vsphere api jar.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jclouds/jclouds/pull/364#issuecomment-46641268>.
>

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/364#issuecomment-46645116

Reply via email to