You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fvo1961 <fv...@hotmail.com> on 2010/12/26 21:36:08 UTC

eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

I've installed m2 Sonatype plugin in eclipse. When I execute package, the
following warning messages appear:

[WARNING] Some problems were encountered while building the effective model
for stockdomain:stockdomain:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11, column
12
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:exec-maven-plugin is missing. @ line 26, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.

Many thanks fo advise on how to get rid of these warning.

fv1961
-- 
View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3318900.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by freddi3k <fr...@gmail.com>.
i am confused too...

--
View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p5002788.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by "ganeshgk.ind" <ga...@gmail.com>.
So what did you give as the plugin version ??
Maven version number..? I'm a little confused...

--
View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p4412500.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by fvo1961 <fv...@hotmail.com>.
thanks for advise...warning message are gone when I specify the pluging
version in the POM.
-- 
View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3320316.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by Stephen Connolly <st...@gmail.com>.
for example, starting with a clean and empty pom:

<project>
<modelVersion>4.0.0</modelVersion>
<groupId>g</groupId>
<artifactId>a</artifactId>
<version>1-SNAPSHOT</version>
</project>

Running the goal I got (using Maven 3.0.4)

$ mvn versions:display-plugin-updates
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building a 1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.0:display-plugin-updates (default-cli) @
a ---
[INFO]
[INFO] All plugins with a version specified are using the latest versions.
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-clean-plugin .......................... (from super-pom)
2.5
[WARNING]   maven-compiler-plugin ....................... (from super-pom)
3.0
[WARNING]   maven-deploy-plugin ......................... (from super-pom)
2.7
[WARNING]   maven-install-plugin ........................ (from super-pom)
2.4
[WARNING]   maven-jar-plugin ............................ (from super-pom)
2.4
[WARNING]   maven-resources-plugin ...................... (from super-pom)
2.6
[WARNING]   maven-site-plugin ........................... (from super-pom)
3.2
[WARNING]   maven-surefire-plugin .................... (from super-pom)
2.12.4
[INFO]
[WARNING] Project does not define minimum Maven version, default is: 2.0
[INFO] Plugins require minimum Maven version of: 2.2.1
[INFO] Note: the super-pom from Maven 3.0.4 defines some of the plugin
[INFO]       versions and may be influencing the plugins required minimum
Maven
[INFO]       version.
[INFO]
[ERROR] Project does not define required minimum version of Maven.
[ERROR] Update the pom.xml to contain
[ERROR]     <prerequisites>
[ERROR]       <maven>2.2.1</maven>
[ERROR]     </prerequisites>
[INFO]
[INFO] Require Maven 2.0.2 to use the following plugin updates:
[INFO]   maven-site-plugin ........................................
2.0-beta-7
[INFO]
[INFO] Require Maven 2.0.6 to use the following plugin updates:
[INFO]   maven-clean-plugin ..............................................
2.5
[INFO]   maven-deploy-plugin .............................................
2.7
[INFO]   maven-install-plugin ............................................
2.4
[INFO]   maven-jar-plugin ................................................
2.4
[INFO]   maven-resources-plugin ..........................................
2.6
[INFO]   maven-site-plugin .............................................
2.0.1
[INFO]   maven-surefire-plugin ..................................
2.5-20090220
[INFO]
[INFO] Require Maven 2.0.9 to use the following plugin updates:
[INFO]   maven-compiler-plugin ...........................................
3.0
[INFO]   maven-surefire-plugin ........................................
2.12.4
[INFO]
[INFO] Require Maven 2.1.0 to use the following plugin updates:
[INFO]   maven-site-plugin .............................................
2.1.1
[INFO]
[INFO] Require Maven 2.2.0 to use the following plugin updates:
[INFO]   maven-site-plugin ...............................................
3.0
[INFO]
[INFO] Require Maven 2.2.1 to use the following plugin updates:
[INFO]   maven-site-plugin ...............................................
3.2
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.945s
[INFO] Finished at: Tue Dec 11 11:40:00 GMT 2012
[INFO] Final Memory: 7M/81M
[INFO]
------------------------------------------------------------------------

For reference, running with Maven 2.0.11 the only difference should be in
the versions from the super-pom:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - g:a:jar:1-SNAPSHOT
[INFO]    task-segment:
[org.codehaus.mojo:versions-maven-plugin:1.3.1:display-plugin-updates]
[INFO]
------------------------------------------------------------------------
[INFO] [versions:display-plugin-updates]
[INFO]
[INFO] All plugins with a version specified are using the latest versions.
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-clean-plugin .......................... (from super-pom)
2.5
[WARNING]   maven-compiler-plugin ....................... (from super-pom)
3.0
[WARNING]   maven-deploy-plugin ......................... (from super-pom)
2.7
[WARNING]   maven-install-plugin ........................ (from super-pom)
2.4
[WARNING]   maven-jar-plugin ............................ (from super-pom)
2.4
[WARNING]   maven-resources-plugin ...................... (from super-pom)
2.6
[WARNING]   maven-site-plugin ......................... (from super-pom)
2.0.1
[WARNING]   maven-surefire-plugin .................... (from super-pom)
2.12.4
[INFO]
[WARNING] Project does not define minimum Maven version, default is: 2.0
[INFO] Plugins require minimum Maven version of: 2.0.9
[INFO] Note: the super-pom from Maven 2.0.11 defines some of the plugin
[INFO]       versions and may be influencing the plugins required minimum
Maven
[INFO]       version.
[INFO]
[ERROR] Project does not define required minimum version of Maven.
[ERROR] Update the pom.xml to contain
[ERROR]     <prerequisites>
[ERROR]       <maven>2.0.9</maven>
[ERROR]     </prerequisites>
[INFO]
[INFO] Require Maven 2.0.2 to use the following plugin updates:
[INFO]   maven-site-plugin ........................................
2.0-beta-7
[INFO]
[INFO] Require Maven 2.0.6 to use the following plugin updates:
[INFO]   maven-clean-plugin ..............................................
2.5
[INFO]   maven-deploy-plugin .............................................
2.7
[INFO]   maven-install-plugin ............................................
2.4
[INFO]   maven-jar-plugin ................................................
2.4
[INFO]   maven-resources-plugin ..........................................
2.6
[INFO]   maven-site-plugin .............................................
2.0.1
[INFO]   maven-surefire-plugin ..................................
2.5-20090220
[INFO]
[INFO] Require Maven 2.0.9 to use the following plugin updates:
[INFO]   maven-compiler-plugin ...........................................
3.0
[INFO]   maven-surefire-plugin ........................................
2.12.4
[INFO]
[INFO] Require Maven 2.1.0 to use the following plugin updates:
[INFO]   maven-site-plugin .............................................
2.1.1
[INFO]
[INFO] Require Maven 2.2.0 to use the following plugin updates:
[INFO]   maven-site-plugin ...............................................
3.0
[INFO]
[INFO] Require Maven 2.2.1 to use the following plugin updates:
[INFO]   maven-site-plugin ...............................................
3.2
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Dec 11 11:41:57 GMT 2012
[INFO] Final Memory: 24M/81M
[INFO]
------------------------------------------------------------------------



On 11 December 2012 11:38, Stephen Connolly <stephen.alan.connolly@gmail.com
> wrote:

> the versions of the versions-maven-plugin are maven version aware for the
> display-plugin-updates goal
>
> so if you run
>
> mvn versions:display-plugin-updates
>
> that should tell you what versions of plugins you can pin down in your pom
> based on the version of maven that you are running with and that you
> specify as the minimum prerequisite in your pom
>
>
> On 11 December 2012 10:55, boumbh <ma...@gmail.com> wrote:
>
>> I’m always confuse when I see this answer and since it is the third time,
>> I
>> will try and answer myself for the next time I get this problem.
>>
>> For a new project, just take the latest stable version of the plugins.
>> When
>> you import an existing project, try and guess which plugin could have been
>> used or else take the latest stable version.
>>
>> When you are using maven 2.0.x you may have a clue of a suitable version
>> from the pom (ex:  2.0.9
>> <
>> http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?revision=645582&view=markup
>> >
>> ) or the release note (ex:  2.0.11
>> <http://maven.apache.org/docs/2.0.11/release-notes.html>  ).
>>
>> Though, latest versions should be backward compatible.
>>
>> Anders Hammar wrote
>> > Do as the messages say, specify the version of those plugins (in the
>> pom).
>> >
>> > /Anders (mobile)
>> > fvo1961 Den 27 dec 2010 10.07  wrote
>> >> I've installed m2 Sonatype plugin in eclipse. When I execute package,
>> the
>> >> following warning messages appear:
>> >>
>> >> [WARNING] Some problems were encountered while building the effective
>> >> model for stockdomain:stockdomain:war:1.0-SNAPSHOT
>> >> [WARNING] 'build.plugins.plugin.version' for
>> >> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11,
>> >> column 12
>> >> [WARNING] 'build.plugins.plugin.version' for
>> >> org.codehaus.mojo:exec-maven-plugin is missing. @ line 26, column 12
>> >> [WARNING]
>> >> [WARNING] It is highly recommended to fix these problems because they
>> >> threaten the stability of your build.
>> >> [WARNING]
>> >> [WARNING] For this reason, future Maven versions might no longer
>> support
>> >> building such malformed projects.
>> >>
>> >> Many thanks fo advise on how to get rid of these warning.
>> >>
>> >> fv1961
>> >> --
>> > View this message in context:
>> >
>> http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3318900.html
>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>>
>> > users-unsubscribe@.apache
>>
>> > For additional commands, e-mail:
>>
>> > users-help@.apache
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p5737226.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by Stephen Connolly <st...@gmail.com>.
the versions of the versions-maven-plugin are maven version aware for the
display-plugin-updates goal

so if you run

mvn versions:display-plugin-updates

that should tell you what versions of plugins you can pin down in your pom
based on the version of maven that you are running with and that you
specify as the minimum prerequisite in your pom


On 11 December 2012 10:55, boumbh <ma...@gmail.com> wrote:

> I’m always confuse when I see this answer and since it is the third time, I
> will try and answer myself for the next time I get this problem.
>
> For a new project, just take the latest stable version of the plugins. When
> you import an existing project, try and guess which plugin could have been
> used or else take the latest stable version.
>
> When you are using maven 2.0.x you may have a clue of a suitable version
> from the pom (ex:  2.0.9
> <
> http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?revision=645582&view=markup
> >
> ) or the release note (ex:  2.0.11
> <http://maven.apache.org/docs/2.0.11/release-notes.html>  ).
>
> Though, latest versions should be backward compatible.
>
> Anders Hammar wrote
> > Do as the messages say, specify the version of those plugins (in the
> pom).
> >
> > /Anders (mobile)
> > fvo1961 Den 27 dec 2010 10.07  wrote
> >> I've installed m2 Sonatype plugin in eclipse. When I execute package,
> the
> >> following warning messages appear:
> >>
> >> [WARNING] Some problems were encountered while building the effective
> >> model for stockdomain:stockdomain:war:1.0-SNAPSHOT
> >> [WARNING] 'build.plugins.plugin.version' for
> >> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11,
> >> column 12
> >> [WARNING] 'build.plugins.plugin.version' for
> >> org.codehaus.mojo:exec-maven-plugin is missing. @ line 26, column 12
> >> [WARNING]
> >> [WARNING] It is highly recommended to fix these problems because they
> >> threaten the stability of your build.
> >> [WARNING]
> >> [WARNING] For this reason, future Maven versions might no longer support
> >> building such malformed projects.
> >>
> >> Many thanks fo advise on how to get rid of these warning.
> >>
> >> fv1961
> >> --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3318900.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
>
> > users-unsubscribe@.apache
>
> > For additional commands, e-mail:
>
> > users-help@.apache
>
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p5737226.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by boumbh <ma...@gmail.com>.
I’m always confuse when I see this answer and since it is the third time, I
will try and answer myself for the next time I get this problem.

For a new project, just take the latest stable version of the plugins. When
you import an existing project, try and guess which plugin could have been
used or else take the latest stable version.

When you are using maven 2.0.x you may have a clue of a suitable version
from the pom (ex:  2.0.9
<http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?revision=645582&view=markup> 
) or the release note (ex:  2.0.11
<http://maven.apache.org/docs/2.0.11/release-notes.html>  ).

Though, latest versions should be backward compatible.

Anders Hammar wrote
> Do as the messages say, specify the version of those plugins (in the pom).
> 
> /Anders (mobile)
> fvo1961 Den 27 dec 2010 10.07  wrote
>> I've installed m2 Sonatype plugin in eclipse. When I execute package, the
>> following warning messages appear:
>> 
>> [WARNING] Some problems were encountered while building the effective
>> model for stockdomain:stockdomain:war:1.0-SNAPSHOT
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11,
>> column 12
>> [WARNING] 'build.plugins.plugin.version' for
>> org.codehaus.mojo:exec-maven-plugin is missing. @ line 26, column 12
>> [WARNING]
>> [WARNING] It is highly recommended to fix these problems because they
>> threaten the stability of your build.
>> [WARNING]
>> [WARNING] For this reason, future Maven versions might no longer support
>> building such malformed projects.
>> 
>> Many thanks fo advise on how to get rid of these warning.
>> 
>> fv1961
>> --
> View this message in context:
> http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3318900.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 

> users-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache





--
View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p5737226.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by Anders Hammar <an...@hammar.net>.
Do as the messages say, specify the version of those plugins (in the pom).

/Anders (mobile)
Den 27 dec 2010 10.07 skrev "fvo1961" <fv...@hotmail.com>:
>
> I've installed m2 Sonatype plugin in eclipse. When I execute package, the
> following warning messages appear:
>
> [WARNING] Some problems were encountered while building the effective
model
> for stockdomain:stockdomain:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11,
column
> 12
> [WARNING] 'build.plugins.plugin.version' for
> org.codehaus.mojo:exec-maven-plugin is missing. @ line 26, column 12
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
>
> Many thanks fo advise on how to get rid of these warning.
>
> fv1961
> --
> View this message in context:
http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3318900.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

Posted by Barrie Treloar <ba...@gmail.com>.
On Mon, Dec 27, 2010 at 7:06 AM, fvo1961 <fv...@hotmail.com> wrote:
>
> I've installed m2 Sonatype plugin in eclipse. When I execute package, the
> following warning messages appear:

p.s. You need to find the m2e mailing lists - this is the Maven mailing list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org