maven install failed"generics not supported"
I'm using embedded jetty server to build a war, I ran maven clean through eclipse, then maven install. I get a bunch of "not supported" errors
\RoleDao.java:[86,13] generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
public List<Role> findAllRoles()
UserAuth.java:[44,1] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@SuppressWarnings("deprecation")
Anyone have an idea? Thanks
Copyright License: Author:「deidara song」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer. Link to:https://stackoverflow.com/questions/11693008/maven-install-failedgenerics-not-supported
About “maven install failed"generics not supported"” questions
I often getting the following error when compiling a maven project with NetBeans:
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project xxx:
|
Please see below I am not able to run maven project on eclipse
1) downloaded eclipse
2) downloaded MAVEN repository
3) set env variable M2_HOME, MAVEN_HOME, JAVA_HOME
4) SET path to maven bin fol...
|
I try to deploy to my work VDS.
I have bad error and don`t know how solve it.
I can't figure out what the problem is.
Through the terminal, the connection via the SSH protocol is stable
[ERROR] Fai...
|
I tried to execute the below command through command prompt:
mvn install:install-file -Dfile=scertcommon-07.01.08.04.jar -DgroupId=com.avaya.sce -DartifactId=scertcommon -Dversion=07.01.08.04 -
|
Below is my error when I execute maven build
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
[INFO] -...
|
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project model-layer: Failed to install metadata model-layer:model-layer/maven-metadata.xml: Cou...
|
I'm trying to run Maven install command on Eclipse Neon, but all the time the following error appears:
[ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2...
|
i am trying to install a local jar to my maven project, i am running this command from my project folder :
mvn install:install-file -Dfile= ~/Downloads/<jar_path> -DgroupId=<groupId> -
|
getting this error when trying to maven install
Failed to execute goal
org.apache.maven.plugins:maven-jar-plugin:3.1.2:jar (default-jar) on
project AbacusLibraryServer: Execution default-jar...
|
I have a maven 3.2.5 docker image and a jenkins image built from the maven image.
Maven image Dockerfile:
from dockerfile/java:oracle-java7
ENV MAVEN_VERSION 3.2.5
RUN curl -sSL http://mirror.b...
|
|
|