[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Unknown packaging: eclipse-plugin
|
Hi all,
I've chosen the latest Eclipse Milestone (Eclipse 4.4M5) and using M2E.
Now, my project couldn't be built anymore. All the pom's complain about
Unknown packaging: eclipse-plugin
My settings.xml points to a valid local repository and I'm using an
external maven installation (v. 3.0.5). Is there anything I've overseen?
The pom's worked already, I've built the project some weeks ago...
Thanks in advance.
Ralf.
The pom's look like following:
<?xml [...]">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>MyProject-Parent</artifactId>
<groupId>com.my.project</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>com.my.project.common</artifactId>
<packaging>eclipse-plugin</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
[...] </dependency>
</dependencies>
</project>
My parent pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.my.project</groupId>
<artifactId>MyProject-Parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho.version>0.19.0</tycho.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<encoding>UTF-8</encoding>
</properties>
<modules>
<module>com.my.project.site</module>
<module>com.my.project.feature</module>
<module>com.my.project.target</module>
<module>com.my.project.common</module>
<module>com.my.project.hsqlconnector</module>
<module>com.my.project.resources</module>
<module>com.my.project.resources.icons</module>
</modules>
<build>
<pluginManagement>
<plugins>
<!-- Plugin to enable tycho -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<!-- enabling version for all poms -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<!-- Use custom target platform -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<!--Specify which environments your software should be built for
(os/ws/arch) -->
[...]
<repositories>
<repository>
<id>eclipse-juno</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.4milestones</url>
</repository>
</repositories>
</project>