Skip to content
Compare
Choose a tag to compare
@EtienneDx EtienneDx released this 21 May 18:07
· 7 commits to master since this release

Small fix with large consequences, last version did not create directories if required, this version does. as before, to use it just use the following in your pom.xml file :

<build>
    <plugins>
        <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.2.1</version>
                <configuration>
                    <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                    <relocations>
                        <relocation>
                            <pattern>me.EtienneDx.AttributeConfig</pattern>
                            <shadedPattern>MY.PACKAGE.NAME.AttributeConfig</shadedPattern>
                        </relocation>
                    </relocations>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
    </plugins>
</build>
<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>
<dependencies>
	<dependency>
		<groupId>com.github.EtienneDx</groupId>
		<artifactId>AnnotationConfig</artifactId>
		<version>1.1</version>
	</dependency>
</dependencies>