tomee-webapp archetype not working with tomee 8.0.1M

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

tomee-webapp archetype not working with tomee 8.0.1M

mauro2java2011
hi ALL.
i TRIED WITH TOMEE-WEB APP archetype  . (that with tomee 8.0.0.1M)

I created a new project using the tomee-webapp archetype.

when i run with maven the command: mvn package tomee:run i get:

cd
C:\Users\mauro\Documents\NetBeansProjects\archetype-esempiotomee8\archetype-esempiotomee8;
"JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_162" cmd /c "\"\"C:\\Program
Files\\NetBeans 8.2\\java\\maven\\bin\\mvn.bat\"
-Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans
8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8
package tomee:run\""
Scanning for projects...
The build could not read 1 project -> [Help 1]
 
  The project mauroprovetomee:archetype-esempiotomee8:1.0-SNAPSHOT
(C:\Users\mauro\Documents\NetBeansProjects\archetype-esempiotomee8\archetype-esempiotomee8\pom.xml)
has 2 errors
    'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin must be a valid version but
is '${surefire.version}'. @ line 94, column 18
    'build.plugins.plugin.version' for
org.apache.openjpa:openjpa-maven-plugin must be a valid version but is
'${openjpa.version}'. @ line 115, column 18

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read
the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

please help me for resolve.

thank you in advance.
Mauro





--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
Reply | Threaded
Open this post in threaded view
|

Re: tomee-webapp archetype not working with tomee 8.0.1M

César Hernández Mendoza
Hi Mauro,

Thank you for the information. I was able to replicate the issue.
I filled a Jira [1] and I'm also currently working on a patch to fix the
issue.


[1] https://issues.apache.org/jira/browse/TOMEE-2313

El lun., 3 dic. 2018 a las 5:20, mauro2java2011 (<[hidden email]>)
escribió:

> hi ALL.
> i TRIED WITH TOMEE-WEB APP archetype  . (that with tomee 8.0.0.1M)
>
> I created a new project using the tomee-webapp archetype.
>
> when i run with maven the command: mvn package tomee:run i get:
>
> cd
>
> C:\Users\mauro\Documents\NetBeansProjects\archetype-esempiotomee8\archetype-esempiotomee8;
> "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_162" cmd /c "\"\"C:\\Program
> Files\\NetBeans 8.2\\java\\maven\\bin\\mvn.bat\"
> -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans
> 8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8
> package tomee:run\""
> Scanning for projects...
> The build could not read 1 project -> [Help 1]
>
>   The project mauroprovetomee:archetype-esempiotomee8:1.0-SNAPSHOT
>
> (C:\Users\mauro\Documents\NetBeansProjects\archetype-esempiotomee8\archetype-esempiotomee8\pom.xml)
> has 2 errors
>     'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin must be a valid version but
> is '${surefire.version}'. @ line 94, column 18
>     'build.plugins.plugin.version' for
> org.apache.openjpa:openjpa-maven-plugin must be a valid version but is
> '${openjpa.version}'. @ line 115, column 18
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read
> the following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>
> please help me for resolve.
>
> thank you in advance.
> Mauro
>
>
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>


--
Atentamente:
César Hernández Mendoza.