It could be interesting to know if that is the reason. Try removing the dependencies and see if Maven still complains.
/Anders On Wed, Feb 25, 2015 at 2:34 PM, Pop Qvarnström <pop.qvarnst...@gmail.com> wrote: > If maven warns for dependencies I'm good, did - for no good reason - not > think that was the case. Thanks. > > Slightly edited console output before, including and after warnings: > > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for <myproject> > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-ejb-plugin is missing. @ <line no etc> > [WARNING] The expression ${artifactId} is deprecated. Please use > ${project.artifactId} instead. > [WARNING] The expression ${version} is deprecated. Please use > ${project.version} instead. > [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. > [WARNING] > > /Pop > > 2015-02-25 14:27 GMT+01:00 Anders Hammar <and...@hammar.net>: > > > Could it be that it declared in one of your dependencies? Just a guess > as I > > don't know if Maven warns for that or not. > > > > What are the console output just before and after these two warnings? > > > > /Anders > > > > On Wed, Feb 25, 2015 at 2:17 PM, Pop Qvarnström < > pop.qvarnst...@gmail.com> > > wrote: > > > > > Hi, > > > > > > I've searched the best I can, but have not been able to find a > solution. > > > When running maven 3 to build an older project I get what seems like > > > self-explanatory warnings: > > > > > > "[WARNING] The expression ${artifactId} is deprecated. Please use > > > ${project.artifactId} instead." and > > > "[WARNING] The expression ${version} is deprecated. Please use > > > ${project.version} instead." > > > > > > Problem: I cannot find a single instance of either of the expressions > in > > > any of my pom files. Even the effective pom generated by running "mvn > > > help:effective-pom" contains no instances of either expression. How > can I > > > fix whatever is causing these warnings? Any help appreciated. > > > > > > Kind regards, > > > Pop Qvarnström > > > > > >