<execute/> lifecycle mapping is not supported, most likely you need proper project configurators to make this work.
http://wiki.eclipse.org/M2E_plugin_execution_not_covered -- Regards, Igor On 12-07-23 5:28 AM, Alexey Romanov wrote:
On one of my m2e projects I have an error message: "Project configuration is not up-to-date with pom.xml. Run project configuration update" which I can't get rid of. After running update I get an error dialog: Title: Error updating Maven Configuration Body: Unable to update maven configuration for the following projects: Project Name: my project name Error: empty column The error marker disappears but reappears after recompiling the project. This isn't a critical project, but it's annoying. Any way to fix it? m2e version is 1.0.200.20111228-1245. .project: <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>ru.focusmedia.odp.server.datastore.jpa</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>bndtools.core.bndbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.wst.validation.validationbuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> <nature>bndtools.core.bndnature</nature> <nature>org.eclipse.m2e.core.maven2Nature</nature> </natures> </projectDescription> pom.xml: <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> <artifactId>datastore.jpa</artifactId> <packaging>bundle</packaging> <repositories> <repository> <id>springsource-repo</id> <name>SpringSource Repository</name> <url>http://repo.springsource.org/release</url> </repository> </repositories> <properties> <openjpa.sql.action>build</openjpa.sql.action> <!-- <openjpa.sql.action>refresh</openjpa.sql.action> --> <database.driver.name>org.postgresql.Driver</database.driver.name> <database.connection.url>jdbc:postgresql://192.168.1.103:5433/odp</database.connection.url> <database.user>odp</database.user> <database.password>odp</database.password> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>datastore.api</artifactId> <type>bundle</type> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa</artifactId> <type>bundle</type> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.serp</artifactId> <type>bundle</type> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-jpa</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-apt</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>ru.focusmedia.odp</groupId> <artifactId>poim.protocol</artifactId> <type>bundle</type> </dependency> <dependency> <groupId>org.ancoron.postgresql</groupId> <artifactId>org.ancoron.postgresql.jpa</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId> org.apache.servicemix.bundles.commons-dbcp </artifactId> <type>bundle</type> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk16</artifactId> <version>1.46</version> <type>bundle</type> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/java</source> <source>src/main/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.mysema.maven</groupId> <artifactId>maven-apt-plugin</artifactId> <version>1.0.2</version> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources/java</outputDirectory> <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa-maven-plugin</artifactId> <version>${openjpa-version}</version> <configuration> <includes>**/entity/*.class</includes> <excludes>**/entity/Q*.class</excludes> <addDefaultConstructor>true</addDefaultConstructor> <enforcePropertyRestrictions>true</enforcePropertyRestrictions> <sqlAction>${openjpa.sql.action}</sqlAction> <connectionDriverName>org.apache.commons.dbcp.BasicDataSource</connectionDriverName> <connectionProperties> driverClassName=${database.driver.name}, url=${database.connection.url}, username=${database.user}, password=${database.password}, </connectionProperties> </configuration> <executions> <execution> <id>enhancer</id> <phase>process-classes</phase> <goals> <goal>enhance</goal> <goal>sql</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa-all</artifactId> <!-- set the version to be the same as the level in your runtime --> <version>${openjpa-version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <id>bnd</id> <phase>prepare-package</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> <configuration> <instructions> <_include>bnd.bnd</_include> </instructions> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId> com.mysema.maven </groupId> <artifactId> maven-apt-plugin </artifactId> <versionRange> [1.0.2,) </versionRange> <goals> <goal>process</goal> </goals> </pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.openjpa </groupId> <artifactId> openjpa-maven-plugin </artifactId> <versionRange> [2.2.0,) </versionRange> <goals> <goal>enhance</goal> <goal>sql</goal> </goals> </pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> <parent> <version>0.1.0</version> <artifactId>parent</artifactId> <groupId>ru.focusmedia.odp.server</groupId> <relativePath>../ru.focusmedia.odp.server.parent/pom.xml</relativePath> </parent> </project> parent pom.xml: <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>ru.focusmedia.odp.server</groupId> <artifactId>parent</artifactId> <version>0.1.0</version> <packaging>pom</packaging> <name>parent</name> <repositories> <repository> <id>eclipselink</id> <name>EclipseLink Repo</name> <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url> </repository> <repository> <id>sonatype</id> <name>Sonatype OSS Repo</name> <url>https://oss.sonatype.org/content/repositories/releases</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>2.4.1</version> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <versionRange>[1.0.0,)</versionRange> <goals> <goal>enforce</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> <configuration> <instructions> <_include>bnd.bnd</_include> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.4</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.7</version> </plugin> </plugins> </pluginManagement> </build> <modules> <!-- some modules --> </modules> <dependencyManagement> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.4</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId> org.apache.felix.ipojo.annotations </artifactId> <version>1.8.0</version> <type>bundle</type> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <version>4.2.0</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> <version>4.2.0</version> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>comms</artifactId> <version>0.1.6</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>concurrent</artifactId> <version>1.0.0</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>jsr-275</artifactId> <version>1.0.0</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>jsr-305</artifactId> <version>1.3.9</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>jump</artifactId> <version>0.2.3</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp</groupId> <artifactId>poim.protocol</artifactId> <version>${poim-protocol-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>datastore.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>datastore.datasource</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>drivers.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>12.0</version> </dependency> <dependency> <groupId>biz.aQute</groupId> <artifactId>bndlib</artifactId> <version>1.50.0</version> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.8.2.2</version> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa</artifactId> <version>${openjpa-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId> org.apache.servicemix.bundles.serp </artifactId> <version>1.13.1_4</version> <type>bundle</type> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-jpa</artifactId> <version>${querydsl-version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId> org.apache.servicemix.bundles.cglib </artifactId> <version>2.2.2_1</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.0.2</version> </dependency> <dependency> <groupId>org.ops4j.pax.url</groupId> <artifactId>pax-url-assembly</artifactId> <version>${pax-url-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>org.ops4j.pax.url</groupId> <artifactId>pax-url-reference</artifactId> <version>${pax-url-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>objects.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>drivermanager.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <version>${karaf-version}</version> <type>zip</type> <classifier>src</classifier> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>datastore.jpa</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId> org.apache.servicemix.bundles.javax-inject </artifactId> <type>bundle</type> <version>1_2</version> </dependency> <dependency> <groupId>org.ancoron.postgresql</groupId> <artifactId>org.ancoron.postgresql.jpa</artifactId> <version>9.1.901.jdbc4.1-rc3</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId> org.apache.servicemix.bundles.commons-dbcp </artifactId> <version>1.4_3</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>users.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>facade.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>poim.api</artifactId> <version>${project.version}</version> <type>bundle</type> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-apt</artifactId> <version>${querydsl-version}</version> </dependency> <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-core</artifactId> <version>2.0.4</version> <type>bundle</type> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>${jetty-version}</version> </dependency> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-extender-whiteboard</artifactId> <version>${pax-web-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.3</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-jetty</artifactId> <version>${pax-web-version}</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>util</artifactId> <version>0.0.3</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia</groupId> <artifactId>serial</artifactId> <version>0.0.2</version> <type>bundle</type> </dependency> <dependency> <groupId>org.joda</groupId> <artifactId>joda-convert</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>multiplexor.api</artifactId> <version>0.1.0</version> <type>bundle</type> </dependency> <dependency> <groupId>ru.focusmedia.odp.server</groupId> <artifactId>scripts.api</artifactId> <version>0.1.0</version> <type>bundle</type> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>org.mozilla</groupId> <artifactId>rhino</artifactId> <version>1.7R4</version> </dependency> </dependencies> </dependencyManagement> <properties> <karaf-version>2.2.7</karaf-version> <pax-url-version>1.4.0</pax-url-version> <pax-web-version>1.0.9</pax-web-version> <openjpa-version>2.2.0</openjpa-version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <querydsl-version>2.7.0</querydsl-version> <poim-protocol-version>4.0.0</poim-protocol-version> <jetty-version>7.5.4.v20111024</jetty-version> </properties> </project> Yours, Alexey Romanov _______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users