Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cannot build project - Bundlor class ManifestWriterFactory not found #948

Copy link
Copy link

Description

@henriquevcosta
Issue body actions

I'm trying to build the project (mvn clean install) and I get the following error.

[INFO] --- org.eclipse.virgo.bundlor.maven:1.1.2.RELEASE:bundlor (bundlor) @ docker-java ---
[WARNING] Error injecting: org.eclipse.virgo.bundlor.maven.plugin.BundlorMojo
java.lang.NoClassDefFoundError: org/eclipse/virgo/bundlor/support/manifestwriter/ManifestWriterFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)

The only way I could get it to build was to change the declaration of the bundlor plugin to have the following two dependencies:

<plugin>
    <groupId>org.eclipse.virgo.bundlor</groupId>
    <artifactId>org.eclipse.virgo.bundlor.maven</artifactId>
    <version>${maven-bundlor-plugin.version}</version>
    <dependencies>
        <dependency>
            <groupId>org.eclipse.virgo.bundlor</groupId>
            <artifactId>org.eclipse.virgo.bundlor</artifactId>
            <version>1.1.2.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.virgo.bundlor</groupId>
            <artifactId>org.eclipse.virgo.bundlor.blint</artifactId>
            <version>1.1.2.RELEASE</version>
        </dependency>
    </dependencies>
    <executions>
        <execution>
            <id>bundlor</id>
            <goals>
                <goal>bundlor</goal>
            </goals>
            <configuration>
                <failOnWarnings>true</failOnWarnings>
            </configuration>
        </execution>
    </executions>
</plugin>

Is there any additional setup that should be in the building instructions but isn't?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.