To fix the second error you'll need to install the Tycho connector, there should be a quick fix available for it (try the context menu).
For the first if you have the m2e logging installed, open the Eclipse console and switch to Maven console and try a clean build; otherwise see what happens at the with the maven cli. On 12 February 2013 09:01, Forums <[email protected]> wrote: > Just to get a sample to run, I need to know where my very first maven > project fails. > I've added the lines (attached to the end of this mail) to pom.xml and get > the errors: > > Error 1: > Project build error: Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-**plugin:1.4.3 or one of its dependencies > could not be resolved: Failed to collect > dependencies for org.apache.felix:maven-bundle-**plugin:jar:1.4.3 () > > Eclipse indicates this error in the very first line of the pom.xml. The > jar-file "maven-bundle-plugin-1.4.3.**jar" has been added to > $HOME\.m2\repository\org\**apache\felix\maven-bundle-**plugin\1.4.3 so I > think the plugin could be resolved. But I can't guess which dependencies > may have failed. > > Error 2: > Project build error: Unknown packaging: bundle > > Eclipse indicates this error in the 8tht line (" > <packaging>bundle</packaging>"**) of the pom.xml. I've no clue what this > might mean. > > Ulrich > > > > <project > xmlns="http://maven.apache.**org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>" > xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>" > xsi:schemaLocation="http://**maven.apache.org/POM/4.0.0<http://maven.apache.org/POM/4.0.0> > http://maven.apache.org/xsd/**maven-4.0.0.xsd<http://maven.apache.org/xsd/maven-4.0.0.xsd> > "> > <modelVersion>4.0.0</**modelVersion> > <groupId>com.day.cq5.myapp</**groupId> > <artifactId>core</artifactId> > <version>0.0.1-SNAPSHOT</**version> > <name>CQ5 MyApp Core</name> > <description>This is the Core module</description> > <packaging>bundle</packaging> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.**plugins</groupId> > <artifactId>maven-compiler-**plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.felix</**groupId> > <artifactId>maven-bundle-**plugin</artifactId> > <version>1.4.3</version> > <extensions>true</extensions> > <configuration> > <instructions> > <Export-Package> > com.day.cq5.myapp.*;version=${**project.version} > </Export-Package> > </instructions> > </configuration> > </plugin> > </plugins> > </build> > <dependencies> > <dependency> > <groupId>com.day.cq.wcm</**groupId> > <artifactId>cq-wcm-api</**artifactId> > <version>5.5.0</version> > </dependency> > <dependency> > <groupId>com.day.cq</groupId> > <artifactId>cq-commons</**artifactId> > <version>5.5.0</version> > </dependency> > <dependency> > <groupId>org.apache.sling</**groupId> > <artifactId>org.apache.sling.**api</artifactId> > <version>2.2.4</version> > </dependency> > </dependencies> > </project> > ______________________________**_________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
