Guest User

Untitled

a guest
May 20th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. Could not find or load mainClass com.mypackage.Main
  2.  
  3. <?xml version="1.0" encoding="UTF-8"?>
  4.  
  5. <groupId>com.theovster</groupId>
  6. <artifactId>api-boilerplate</artifactId>
  7. <packaging>pom</packaging>
  8. <version>1.0-SNAPSHOT</version>
  9. <modules>
  10. <module>impl</module>
  11. <module>server</module>
  12. </modules>
  13.  
  14. <name>api-boilerplate</name>
  15. <!-- FIXME change it to the project's website -->
  16. <url>http://www.example.com</url>
  17.  
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <maven.compiler.source>1.8</maven.compiler.source>
  21. <maven.compiler.target>1.8</maven.compiler.target>
  22. <skip.assembly>false</skip.assembly>
  23. </properties>
  24.  
  25. <build>
  26. <finalName>reapi</finalName>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-war-plugin</artifactId>
  31. <version>2.4</version>
  32. </plugin>
  33. <plugin>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-compiler-plugin</artifactId>
  36. <configuration>
  37. <source>1.8</source>
  38. <target>1.8</target>
  39. </configuration>
  40. </plugin>
  41. <plugin>
  42. <artifactId>maven-assembly-plugin</artifactId>
  43. <version>2.6</version>
  44. <configuration>
  45. <archive>
  46. <manifest>
  47. <addClasspath>true</addClasspath>
  48. <mainClass>com.theovster.Main</mainClass>
  49. </manifest>
  50. </archive>
  51. <descriptorRefs>
  52. <descriptorRef>jar-with-dependencies</descriptorRef>
  53. </descriptorRefs>
  54. <skipAssembly>${skip.assembly}</skipAssembly>
  55. </configuration>
  56. <executions>
  57. <execution>
  58. <id>make-assembly</id>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>single</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68.  
  69. <?xml version="1.0" encoding="UTF-8"?>
  70.  
  71. <artifactId>server</artifactId>
  72.  
  73. <name>server</name>
  74. <!-- FIXME change it to the project's website -->
  75. <url>http://www.example.com</url>
  76.  
  77. <properties>
  78. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  79. <maven.compiler.source>1.8</maven.compiler.source>
  80. <maven.compiler.target>1.8</maven.compiler.target>
  81. <skip.assembly>false</skip.assembly>
  82. </properties>
  83.  
  84. <dependencies>
  85. <dependency>
  86. <groupId>junit</groupId>
  87. <artifactId>junit</artifactId>
  88. <version>4.12</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.theovster</groupId>
  92. <artifactId>impl</artifactId>
  93. <version>1.0-SNAPSHOT</version>
  94. <scope>compile</scope>
  95. </dependency>
  96. </dependencies>
  97.  
  98. <?xml version="1.0" encoding="UTF-8"?>
  99.  
  100. <artifactId>impl</artifactId>
  101.  
  102. <name>impl</name>
  103. <!-- FIXME change it to the project's website -->
  104. <url>http://www.example.com</url>
  105.  
  106. <properties>
  107. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  108. <maven.compiler.source>1.8</maven.compiler.source>
  109. <maven.compiler.target>1.8</maven.compiler.target>
  110. <skip.assembly>false</skip.assembly>
  111. </properties>
  112.  
  113. <dependencies>
  114. <dependency>
  115. <groupId>com.theovster</groupId>
  116. <artifactId>api</artifactId>
  117. <version>1.0-SNAPSHOT</version>
  118. <scope>compile</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>junit</groupId>
  122. <artifactId>junit</artifactId>
  123. <version>4.11</version>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>io.dropwizard</groupId>
  128. <artifactId>dropwizard-core</artifactId>
  129. <version>1.3.2</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>io.dropwizard</groupId>
  133. <artifactId>dropwizard-migrations</artifactId>
  134. <version>1.3.2</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>io.dropwizard</groupId>
  138. <artifactId>dropwizard-jdbi</artifactId>
  139. <version>1.3.2</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>mysql</groupId>
  143. <artifactId>mysql-connector-java</artifactId>
  144. <version>5.1.36</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.h2database</groupId>
  148. <artifactId>h2</artifactId>
  149. <version>1.4.196</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>io.dropwizard</groupId>
  153. <artifactId>dropwizard-hibernate</artifactId>
  154. <version>1.3.2</version>
  155. </dependency>
  156. </dependencies>
Add Comment
Please, Sign In to add comment