2009/9/25 Patrick Forhan <[email protected]>

> On Tue, Sep 22, 2009 at 11:07 PM, Stuart McCulloch <[email protected]>
> wrote:
> > The Apache Felix team is pleased to announce the release of
> > maven-bundle-plugin 2.0.1
> >...
> > Improvements
> >...
> >   - [FELIX-1552 <https://issues.apache.org/jira/browse/FELIX-1552>] -
> Add
> >   support for blueprint and spring-dm declarations to import the
> discovered
> >   packages
>
> This is cool, but it breaks our build, since some of our spring files
> rely on system properties.  Is maven-bundle-plugin actually using
> spring the load the XML, or is it just scanning the xml file for
> class="" parameters?
>

afaik it's just scanning the XML file - but Guillaume can probably give you
more details, as he made the actual change

to turn off the scanning just add a <_plugin/> instruction, like so:

  <plugin>
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <version>2.0.1</version>
    <extensions>true</extensions>
    <configuration>
      <instructions>
        <_plugin/>  <!-- turn off additional scanning, such as blueprint XML
config -->
      </instructions>
    </configuration>
  </plugin>

could you also raise a JIRA issue to investigate how best to solve the
property issue? (loading spring sounds like overkill)

Thanks,
>
> Pat.
>
> --
> Defy mediocrity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

-- 
Cheers, Stuart

Reply via email to