Friday, June 20, 2014

J2ee myeclipse develop error log for maven parameter problem

Error:

Unable to parse configuration of mojo org.apache.maven.plugins:maven-resources-plugin:
2.6:copy-resources for parameter directory: Error evaluating the expression '$
{project.parent.basedir}/openmeetings-service/src/main/java' for configuration value
'directory' (org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources:copy-web-
templates:process-resources)

 

Fixed:

old:

<directory>${project.parent.basedir}/openmeetings-service/src/main/java</directory>

to:

<directory>${project.basedir}/../openmeetings-service/src/main/java</directory>

No comments: