Skip to content

Commit

Permalink
Remove use of maven-shade-plugin causing some Netbeans bug.
Browse files Browse the repository at this point in the history
It shouldn't be necessary anyway.
  • Loading branch information
emerald000 committed Apr 17, 2016
1 parent a4af95d commit b9ab16d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package mage.server.record;

import com.google.protobuf.InvalidProtocolBufferException;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import mage.game.result.ResultProtos.TableProto;
import org.mage.mage.shaded.protobuf.InvalidProtocolBufferException;
import org.apache.log4j.Logger;

@DatabaseTable(tableName = "table_history")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package mage.server.record;

import com.google.protobuf.InvalidProtocolBufferException;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import mage.game.result.ResultProtos.UserStatsProto;
import org.mage.mage.shaded.protobuf.InvalidProtocolBufferException;
import org.apache.log4j.Logger;

@DatabaseTable(tableName = "user_stats")
Expand Down
22 changes: 0 additions & 22 deletions Mage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,28 +141,6 @@
</execution>
</executions>
</plugin>
<!-- shade protobuf to avoid version conflicts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.shaded.protobuf</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

<finalName>mage</finalName>
Expand Down

0 comments on commit b9ab16d

Please sign in to comment.