mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 01:03:44 +01:00 
			
		
		
		
	Let's make this a Maven project!
This commit is contained in:
		
							
								
								
									
										97
									
								
								pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										97
									
								
								pom.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,97 @@ | |||||||
|  | <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>com.gmail.nossr50.mcMMO</groupId> | ||||||
|  |     <artifactId>mcMMO</artifactId> | ||||||
|  |     <version>1.2.07</version> | ||||||
|  |     <name>mcMMO</name> | ||||||
|  |     <url>https://github.com/TheYeti/mcMMO</url> | ||||||
|  |     <issueManagement> | ||||||
|  |         <system>GitHub</system> | ||||||
|  |         <url>https://github.com/TheYeti/mcMMO/issues</url> | ||||||
|  |     </issueManagement> | ||||||
|  |     <build> | ||||||
|  |         <finalName>mcMMO</finalName> | ||||||
|  |         <sourceDirectory>${basedir}/src/main/java</sourceDirectory> | ||||||
|  |         <resources> | ||||||
|  |             <resource> | ||||||
|  |                 <targetPath>.</targetPath> | ||||||
|  |                 <filtering>true</filtering> | ||||||
|  |                 <directory>${basedir}/src/main/resources/</directory> | ||||||
|  |                 <includes> | ||||||
|  |                     <include>plugin.yml</include> | ||||||
|  |                 </includes> | ||||||
|  |             </resource> | ||||||
|  |             <resource> | ||||||
|  |                 <targetPath>resources</targetPath> | ||||||
|  |                 <filtering>true</filtering> | ||||||
|  |                 <directory>${basedir}/src/main/resources/</directory> | ||||||
|  |                 <includes> | ||||||
|  |                     <include>*.png</include> | ||||||
|  |                 </includes> | ||||||
|  |             </resource> | ||||||
|  |         </resources> | ||||||
|  |         <plugins> | ||||||
|  |             <plugin> | ||||||
|  |                 <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |                 <artifactId>maven-compiler-plugin</artifactId> | ||||||
|  |                 <version>2.3.2</version> | ||||||
|  |                 <configuration> | ||||||
|  |                     <source>1.6</source> | ||||||
|  |                     <target>1.6</target> | ||||||
|  |                     <excludes> | ||||||
|  |                     </excludes> | ||||||
|  |                 </configuration> | ||||||
|  |             </plugin> | ||||||
|  |             <plugin> | ||||||
|  |                 <artifactId>maven-assembly-plugin</artifactId> | ||||||
|  |                 <configuration> | ||||||
|  |                     <descriptors> | ||||||
|  |                         <descriptor>src/main/assembly/package.xml</descriptor> | ||||||
|  |                     </descriptors> | ||||||
|  |                 </configuration> | ||||||
|  |                 <executions> | ||||||
|  |                     <execution> | ||||||
|  |                         <id>build</id> | ||||||
|  |                         <phase>package</phase> | ||||||
|  |                         <goals> | ||||||
|  |                             <goal>single</goal> | ||||||
|  |                         </goals> | ||||||
|  |                     </execution> | ||||||
|  |                 </executions> | ||||||
|  |             </plugin> | ||||||
|  |         </plugins> | ||||||
|  |     </build> | ||||||
|  |     <dependencies> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.bukkit</groupId> | ||||||
|  |             <artifactId>bukkit</artifactId> | ||||||
|  |             <version>0.0.1-SNAPSHOT</version> | ||||||
|  |             <type>jar</type> | ||||||
|  |             <scope>compile</scope> | ||||||
|  |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>com.nijikokun.bukkit</groupId> | ||||||
|  |             <artifactId>Permissions</artifactId> | ||||||
|  |             <version>3.2</version> | ||||||
|  |             <type>jar</type> | ||||||
|  |             <scope>compile</scope> | ||||||
|  |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>ru.tehkode</groupId> | ||||||
|  |             <artifactId>PermissionsEx</artifactId> | ||||||
|  |             <version>1.18</version> | ||||||
|  |             <type>jar</type> | ||||||
|  |             <scope>compile</scope> | ||||||
|  |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.getspout</groupId> | ||||||
|  |             <artifactId>spoutplugin</artifactId> | ||||||
|  |             <version>dev-SNAPSHOT</version> | ||||||
|  |             <type>jar</type> | ||||||
|  |             <scope>compile</scope> | ||||||
|  |         </dependency> | ||||||
|  |     </dependencies> | ||||||
|  |     <properties> | ||||||
|  |         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||||
|  |     </properties> | ||||||
|  | </project> | ||||||
							
								
								
									
										14
									
								
								src/main/assembly/package.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/main/assembly/package.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | ||||||
|  | 	<id>bin</id> | ||||||
|  | 	<includeBaseDirectory>false</includeBaseDirectory> | ||||||
|  | 	<formats> | ||||||
|  | 		<format>zip</format> | ||||||
|  | 	</formats> | ||||||
|  | 	<files> | ||||||
|  | 		<file> | ||||||
|  | 			<source>${project.build.directory}/${artifactId}.jar</source> | ||||||
|  | 			<outputDirectory>/</outputDirectory> | ||||||
|  | 			<destName>mcMMO.jar</destName> | ||||||
|  | 		</file> | ||||||
|  | 	</files> | ||||||
|  | </assembly> | ||||||
		Reference in New Issue
	
	Block a user
	 TheYeti
					TheYeti