Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse. Error(s) found in manifest configuration. how to fix it?

I just taken the project - I checkout this and I want to resolve all problems

one of the problems which I cannot to resolve

Error(s) found in manifest configuration (org.apache.felix:maven-bundle-plugin:2.3.7:bundle:default-bundle:package)

it refers to this row of pom.xml:

 <plugin>

code around this row:

<build>
        <plugins>
            <plugin>
                <groupId>com.squeakysand.jsp</groupId>
                <artifactId>jsptld-maven-plugin</artifactId>
                <configuration>
                    <shortName>ctc</shortName>
                    <processTagFiles>true</processTagFiles>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>//this row
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Include-Resource>
                            META-INF/${project.artifactId}-${project.version}.tld=${project.build.outputDirectory}/META-INF/${project.artifactId}-${project.version}.tld,
                            {maven-resources}
                        </Include-Resource>
                        <Sling-Bundle-Resources>
                            /META-INF/tags
                        </Sling-Bundle-Resources>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

Please, help me resolve this problem.


1 Answers

Old question but for future Google results.

The issue is an old version of maven-bundle-plugin, specifically 2.3.7. Updating the pom.xml to use the latest (currently 2.5.0) fixed the issue.

like image 162
Timothy Vogel Avatar answered Jan 24 '26 09:01

Timothy Vogel