Shows one warning during “mvn install”

By : devsda
Source: Stackoverflow.com
Question!

I am learning Apache Sling, Apache felix , OSGI these days. Whenever I run command mvn clean install. After building any project. It shows one warning. Can you tell me the reason behind this?enter image description here

I am implementing this tutorial.

At 25th line in pom.xml ,I added these lines.

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <source>1.5</source>
            <target>1.5</target>
        </configuration>
    </plugin>

Edited

What is the difference between dependency and plugin?

By : devsda


Answers

@jhamb As you want to create a bundle you need to change the packaging type to bundle not pom. I think this will solve your problem and also add the maven bundle plugin.

By : Naveen


This video can help you solving your question :)
By: admin