title: Error when run Maven project, added JasperReports dependency
body: <p>This is the default generated pom.xml.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;br.com.infox&lt;/groupId&gt;
  &lt;artifactId&gt;prjInfoXFX&lt;/artifactId&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  
  &lt;name&gt;prjInfoXFX&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;mainClass&gt;br.com.infox.prjinfoxfx.MainApp&lt;/mainClass&gt;
  &lt;/properties&gt;
  
  &lt;organization&gt;
      &lt;!-- Used as the 'Vendor' for JNLP generation --&gt;
      &lt;name&gt;Your Organisation&lt;/name&gt;
  &lt;/organization&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;unpack-dependencies&lt;/id&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;unpack-dependencies&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;excludeScope&gt;system&lt;/excludeScope&gt;
                          &lt;excludeGroupIds&gt;junit,org.mockito,org.hamcrest&lt;/excludeGroupIds&gt;
                          &lt;outputDirectory&gt;${project.build.directory}/classes&lt;/outputDirectory&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.2.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;unpack-dependencies&lt;/id&gt;
  
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;exec&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;executable&gt;${java.home}/../bin/javafxpackager&lt;/executable&gt;
                          &lt;arguments&gt;
                              &lt;argument&gt;-createjar&lt;/argument&gt;
                              &lt;argument&gt;-nocss2bin&lt;/argument&gt;
                              &lt;argument&gt;-appclass&lt;/argument&gt;
                              &lt;argument&gt;${mainClass}&lt;/argument&gt;
                              &lt;argument&gt;-srcdir&lt;/argument&gt;
                              &lt;argument&gt;${project.build.directory}/classes&lt;/argument&gt;
                              &lt;argument&gt;-outdir&lt;/argument&gt;
                              &lt;argument&gt;${project.build.directory}&lt;/argument&gt;
                              &lt;argument&gt;-outfile&lt;/argument&gt;
                              &lt;argument&gt;${project.build.finalName}.jar&lt;/argument&gt;
                          &lt;/arguments&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;id&gt;default-cli&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;exec&lt;/goal&gt;                            
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;executable&gt;${java.home}/bin/java&lt;/executable&gt;
                          &lt;commandlineArgs&gt;${runfx.args}&lt;/commandlineArgs&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;  
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.7&lt;/source&gt;
                  &lt;target&gt;1.7&lt;/target&gt;
                  &lt;compilerArguments&gt;
                      &lt;bootclasspath&gt;${sun.boot.class.path}${path.separator}${java.home}/lib/jfxrt.jar&lt;/bootclasspath&gt;
                  &lt;/compilerArguments&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.16&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;additionalClasspathElements&gt;
                      &lt;additionalClasspathElement&gt;${java.home}/lib/jfxrt.jar&lt;/additionalClasspathElement&gt;
                  &lt;/additionalClasspathElements&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jfoenix&lt;/groupId&gt;
          &lt;artifactId&gt;jfoenix&lt;/artifactId&gt;
          &lt;version&gt;8.0.4&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;5.1.46&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
          &lt;version&gt;1.7.25&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
          &lt;version&gt;5.2.5.Final&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;dom4j&lt;/groupId&gt;
          &lt;artifactId&gt;dom4j&lt;/artifactId&gt;
          &lt;version&gt;1.6.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax&lt;/groupId&gt;
          &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
          &lt;version&gt;7.0&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
          &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
          &lt;version&gt;6.5.1&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;unknown-jars-temp-repo&lt;/id&gt;
          &lt;name&gt;A temporary repository created by NetBeans for libraries and jars it could not identify. Please replace the dependencies in this repository with correct ones and delete this repository.&lt;/name&gt;
          &lt;url&gt;file:${project.basedir}/lib&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>
  
  <p></p>
  
  <p>I added a JasperReports Maven dependency and now my project don't run anymore.</p>
  
  <pre><code>Error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project prjInfoXFX: Command execution failed. Process exited with an error: 1 (Exit value: 1) -&gt; [Help 1]
  </code></pre>
  
  <p>If I remove the JasperReports dependency, the Maven project run.</p>
  
  <p>Could you help?</p>
  
  <p>Edit: I tried do change the repositories, but dont work. I posted the pom.xml exec plugin config. </p>
  
  <p>Edit: When i try to run got this: "Error: Could not find or load a main class prjInfoXFX-1.0.jar".</p>
  
  <p>Edit: The full stack trace of the errors:</p>
  
  <pre><code>Picked up _JAVA_OPTIONS:   -Dawt.useSystemAAFontSettings=gasp
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 10:51:28-0300)
  Maven home: /home/maicon/netbeans-8.2/java/maven
  Java version: 1.8.0_172, vendor: Oracle Corporation
  Java home: /usr/lib/jvm/jdk1.8.0_172/jre
  Default locale: pt_BR, platform encoding: UTF-8
  OS name: "linux", version: "4.14.0-deepin2-amd64", arch: "amd64", family: "unix"
  [INFO] Error stacktraces are turned on.
  [DEBUG] Reading global settings from /home/maicon/netbeans-8.2/java/maven/conf/settings.xml
  [DEBUG] Reading user settings from /home/maicon/.m2/settings.xml
  [DEBUG] Using local repository at /home/maicon/.m2/repository
  [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/maicon/.m2/repository
  [INFO] Scanning for projects...
  [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.065s
  [INFO] Finished at: Fri May 11 00:52:35 BRT 2018
  [INFO] Final Memory: 6M/119M
  [INFO] ------------------------------------------------------------------------
  [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format &lt;plugin-prefix&gt;:&lt;goal&gt; or &lt;plugin-group-id&gt;:&lt;plugin-artifact-id&gt;[:&lt;plugin-version&gt;]:&lt;goal&gt;. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -&gt; [Help 1]
  org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format &lt;plugin-prefix&gt;:&lt;goal&gt; or &lt;plugin-group-id&gt;:&lt;plugin-artifact-id&gt;[:&lt;plugin-version&gt;]:&lt;goal&gt;. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:104)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  [ERROR] 
  [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/NoGoalSpecifiedException
  </code></pre>