Hi Stuart,

Thanks for the response.  We're using eclipse plugin 2.4, and bundle
plugin 1.0.0.  Below is the POM, with names changed from our actual
group/artifact names.  All versions are specified in
dependencyManagement in the parent pom.

<?xml version="1.0" encoding="UTF-8"?>
<project>
  <parent>
    <artifactId>parent</artifactId>
    <groupId>com.acme</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.acme</groupId>
  <artifactId>foo</artifactId>
  <name>Foo Product</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>bundle</packaging>
  <dependencies>
        <dependency>
        <groupId>junit</groupId>
              <artifactId>junit</artifactId>
              <scope>test</scope>
          </dependency>
        <dependency>
                <groupId>com.acme</groupId>
                <artifactId>foo-dependency</artifactId>
                <version>${project.version}</version>
        </dependency>
  </dependencies>
  <build>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <extensions>true</extensions>
          <configuration>
            <instructions>
              <Dynamic-Imports>*</Dynamic-Imports>
              <Export-Package>com.acme.foo</Export-Package>
            </instructions>
          </configuration>
        </plugin>
      </plugins>
  </build>
</project>

As a result there is no .classpath file, and the .project file looks
like this:
<projectDescription>
  <name>foo</name>
  <comment/>
  <projects/>
  <buildSpec/>
  <natures/>
</projectDescription>

Thanks,
Matt Clark
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart
McCulloch
Sent: Thursday, October 25, 2007 11:04 PM
To: [email protected]
Subject: Re: Problem with the Eclipse plugin

On 26/10/2007, Matt Clark <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> We're using the maven-bundle-plugin, which used to work great for us,
> but within the last two weeks something has happened which stops the
> maven eclipse:eclipse plugin from generating proper eclipse projects
for
> the 'bundle' type projects.


which versions of the bundle-plugin and eclipse-plugin are you using?

We have packaging set to 'bundle', and when we run mvn eclipse:eclipse
> we get a project with no builders or natures in it.  This may be a bug
> with the eclipse plugin, but I thought I would see if anyone here had
> experienced that.


just tried it locally with the latest 1.1.0-SNAPSHOT of the
bundle-plugin
and
eclipse-plugin v2.4 and I get project natures and builders in the
.project
file

can you provide a POM that recreates this issue?

Thanks for any help,
>
> Matt Clark
>
>


-- 
Cheers, Stuart

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to