The requested profile "pom.xml" could not be activated because it does not exist

0

When doing mvn clean or mvn install from the jboss developer it shows me the following error. I have reviewed the following link, but it does not help or says much to configure from eclipse: similar question

The error that shows me in console is the following:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building simul 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ simul ---
[INFO] Deleting D:\workspace_alterno\simul\target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.375 s
[INFO] Finished at: 2018-05-28T17:03:22-05:00
[INFO] Final Memory: 5M/155M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project simul: Failed to clean project: 
Failed to delete D:\workspace_alterno\simul\target\simul.war -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I use java jdk8, my java_home points to my jdk8, and my pom.xml also has:

<properties>
    <spring-framework.version>4.2.3.RELEASE</spring-framework.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.8</java.version>
</properties>

I have also tried to run it through the terminal and error persists, please if someone has the solution, mention it very detailed, thanks!

    
asked by MGL 29.05.2018 в 00:39
source

1 answer

0

The solution was to restart the jbossDeveloper, this IDE has some bugs that do not cool well when developing applications

    
answered by 30.07.2018 в 18:44