Comments (6)
Could you post the exact error message you get when you try to build, and/or your project's pom.xml? I haven't seen any issues with the Maven setup so far, so I'd need more information to figure out exactly what's going wrong.
from fanciful.
I problem i had was that i did not shade the plugin well.
I have include my POM maybe it helps
<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>%PLUGIN PACKAGE%</groupId>
<artifactId>%PLUGIN NAME%</artifactId>
<version>%PLUGIN VERSION%</version>
<packaging>jar</packaging>
<name>%PLUGIN NAME%</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>mkremins:fanciful</include>
<include>org.json:json</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include><!-- optional remove if you don't have a config.yml -->
</includes>
</resource>
</resources>
</build>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
<repository>
<id>fanciful-mvn-repo</id>
<url>https://raw.github.com/mkremins/fanciful/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.9-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.7.9-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>mkremins</groupId>
<artifactId>fanciful</artifactId>
<version>0.1.6-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
replace %PLUGIN PACKAGE%, %PLUGIN NAME% and %PLUGIN VERSION%
from fanciful.
Shade the plugin??
What?
from fanciful.
Oh, I just put it in my dependencies.
I need to add it to the build path instead?
from fanciful.
if you could put in the build error it would help us to find out why it is not working
from fanciful.
I fixed it.
from fanciful.
Related Issues (20)
- Can't mvn deploy HOT 17
- Is it possible to use this library to align text in the 1.8 action bar? HOT 2
- itemTooltip(ItemStack) doesn't seem to respect damage values for items HOT 1
- Seems to be broken for latest 1.8.3 Spigot HOT 3
- Add replace function HOT 3
- GSON Missing? HOT 2
- Maven Repo down? HOT 4
- Can't load FancyMessage from String HOT 1
- Sending FancyMessage's HOT 3
- Spigot 1.7.10 - \n cartridge return? HOT 1
- Spigot 1.7.10 - \n cartridge return? HOT 2
- "NumberFormatException" HOT 10
- IllegalArgumentException when using fm.text() HOT 2
- Caused by: java.lang.IllegalArgumentException: The value must be specified. HOT 5
- Text alignment HOT 1
- .itemTooltip() no longer in fanciful? HOT 4
- Invalid Item shown in tooltip in chat with high item quantity
- Lack of Feature: Urls are not parsed into clickables
- Handling of Bukkit ChatColor HOT 1
- Shutting down Maven repo HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fanciful.