java - Maven won't run my project -


so whatever can't project run on mac. project seems run fine on colleagues pc's. there i'm not seeing in pom file? keep getting error,

failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project got-team20: command execution failed. process exited error: 1 (exit value: 1) -> [help 1]

to see full stack trace of errors, re-run maven -e switch. re-run maven using -x switch enable full debug logging.

i have maven 3.5.0 installed on mac, don't know if can issue? have tried 3 different ide's, problem not there.

my pom file:

<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">     <modelversion>4.0.0</modelversion>      <groupid>io.gameoftrades</groupid>     <!-- change me -->     <artifactid>got-team20</artifactid> <!-- got-teamnn -->     <!-- -->      <version>0.1.0-snapshot</version>     <packaging>jar</packaging>     <name>game of trades student starter kit</name>     <description>student starter kit game of trades</description>     <inceptionyear>2016</inceptionyear>      <licenses>         <license>             <name>apache license 2.0</name>             <url>http://www.apache.org/licenses/license-2.0</url>             <distribution>repo</distribution>         </license>     </licenses>      <organization>         <name>42 bv</name>         <url>http://blog.42.nl/</url>     </organization>      <properties>         <project.build.sourceencoding>utf-8</project.build.sourceencoding>         <got.version>0.3.0</got.version>         <junit.version>4.11</junit.version>     </properties>      <dependencies>         <dependency>             <groupid>io.gameoftrades</groupid>             <artifactid>gameoftrades-library</artifactid>             <version>${got.version}</version>         </dependency>         <dependency>             <groupid>junit</groupid>             <artifactid>junit</artifactid>             <version>${junit.version}</version>             <scope>test</scope>         </dependency>     </dependencies>      <distributionmanagement>       <snapshotrepository>         <id>ossrh</id>         <url>https://oss.sonatype.org/content/repositories/snapshots</url>       </snapshotrepository>     </distributionmanagement>       <build>         <plugins>             <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-compiler-plugin</artifactid>                 <version>3.5.1</version>                 <configuration>                     <source>1.8</source>                     <target>1.8</target>                 </configuration>             </plugin>         </plugins>     </build>  </project> 

this full error have when run -e switch.

[error] failed execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project got-team20: parameters 'mainclass' goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java missing or invalid -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project got-team23: parameters 'mainclass' goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java missing or invalid...

so guess wrong plugins using.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -