Skip to content

Releases: EtienneDx/AnnotationConfig

Fix

21 May 18:07
Compare
Choose a tag to compare

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>

First Release

18 May 19:36
Compare
Choose a tag to compare

This release includes all the required types to create a custom configuration.

To use this release, include 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.0</version>
	</dependency>
</dependencies>

A good example for a config can be found at http://github.com/EtienneDx/RealEstate/blob/master/src/me/EtienneDx/RealEstate/Config.java