Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322684 - Errors in plugin version of com.springsource.bundlor in pom.xml
Summary: Errors in plugin version of com.springsource.bundlor in pom.xml
Status: CLOSED WONTFIX
Alias: None
Product: Gemini.Blueprint
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 15:28 EDT by rebrown CLA
Modified: 2017-05-09 09:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebrown CLA 2010-08-13 15:28:32 EDT
Build Identifier: gemini-blueprint-1.0.0.M1

Found three errors in src/pom.xml for M1 release, when trying to build with maven 2.2 and 3.0 on MacOS X 10.6.4. These errors prevent a successful build and install of the software. All errors are related to the move of the com.springsource.bundlor.maven artifact from milestone(M6) to release status.

Error 1: Referencing non-existant bundlor version.

<plugin>
  <groupId>com.springsource.bundlor</groupId>
  <artifactId>com.springsource.bundlor.maven</artifactId>
  <version>1.0.0.M6</version>
           ^^^^^^^^ <= this no longer exists, 1.0.0.RELEASE seems to though.
</plugin>

Error 2: Trailing '/' character causes new bundlor package to not be found.

    <pluginRepository>
        <id>com.springsource.repository.bundles.release</id>
        <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
        <url>http://repository.springsource.com/maven/bundles/release/</url>
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ backslash at end of url needs to be removed for mvn 2.2 on mac to work for some reason.
    </pluginRepository>

Error 3: Bundlor goal "transform" not found in bundlor 1.0.0.RELEASE version
      <plugin>
        <groupId>com.springsource.bundlor</groupId>
        <artifactId>com.springsource.bundlor.maven</artifactId>
        <executions>
          <execution>
            <id>bundlor</id>
            <goals>
               <goal>transform</goal>
               ^^^^^^^^^^^^^^^^^^^^^^ <= needs to be changed to bundlor
            </goals>
          </execution>
        </executions>


Reproducible: Always

Steps to Reproduce:
1. Get a mac with java & maven
2. Download the gemini-blueprint 1.0.0.M1 release
3. Try to build with mvn -P equinox,it clean install
Comment 1 Costin Leau CLA 2011-01-26 10:07:13 EST
Hmm - maybe there's an issue with Maven 2.2 then. I just retried building the sources with Maven 2.0 (mentioned in the distribution readme) on a clean machine (no Maven repo) and everything builds just fine.

The bundlor milestone is available at:

http://repository.springsource.com/maven/bundles/milestone/com/springsource/bundlor/com.springsource.bundlor/

I'm changing the importance of this issue from bug to enhancement to see whether the problem can be fixed by upgrading bundlor and/or Maven.
Comment 2 Costin Leau CLA 2011-08-22 14:39:04 EDT
I'm closing this bug since the build system will remain on Maven 2.0 (potentially migrating to Gradle rather then Maven 2.2).
Comment 3 Olaf Otto CLA 2017-05-09 09:41:40 EDT
Released - closing.