Commits

md_5 authored dceaeb8e5f0
Move animal-sniffer to development profile.
No tags

pom.xml

Modified
103 103 </configuration>
104 104 <dependencies>
105 105 <!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
106 106 <dependency>
107 107 <groupId>org.codehaus.plexus</groupId>
108 108 <artifactId>plexus-compiler-eclipse</artifactId>
109 109 <version>2.8.2-spigotmc</version>
110 110 </dependency>
111 111 </dependencies>
112 112 </plugin>
113 - <plugin>
114 - <groupId>org.codehaus.mojo</groupId>
115 - <artifactId>animal-sniffer-maven-plugin</artifactId>
116 - <version>1.16</version>
117 - <executions>
118 - <execution>
119 - <phase>process-classes</phase>
120 - <goals>
121 - <goal>check</goal>
122 - </goals>
123 - </execution>
124 - </executions>
125 - <configuration>
126 - <signature>
127 - <groupId>org.codehaus.mojo.signature</groupId>
128 - <artifactId>java16</artifactId>
129 - <version>1.1</version>
130 - </signature>
131 - </configuration>
132 - </plugin>
133 113 <plugin>
134 114 <groupId>org.apache.maven.plugins</groupId>
135 115 <artifactId>maven-shade-plugin</artifactId>
136 116 <version>3.1.0</version>
137 117 <executions>
138 118 <execution>
139 119 <phase>package</phase>
140 120 <goals>
141 121 <goal>shade</goal>
142 122 </goals>
143 123 </execution>
144 124 </executions>
145 125 <configuration>
146 126 <!-- when downloading via Maven we can pull depends individually -->
147 127 <shadedArtifactAttached>true</shadedArtifactAttached>
148 128 </configuration>
149 129 </plugin>
150 130 </plugins>
151 131 </build>
132 +
133 + <profiles>
134 + <profile>
135 + <id>development</id>
136 + <build>
137 + <plugins>
138 + <plugin>
139 + <groupId>org.codehaus.mojo</groupId>
140 + <artifactId>animal-sniffer-maven-plugin</artifactId>
141 + <version>1.16</version>
142 + <executions>
143 + <execution>
144 + <phase>process-classes</phase>
145 + <goals>
146 + <goal>check</goal>
147 + </goals>
148 + </execution>
149 + </executions>
150 + <configuration>
151 + <signature>
152 + <groupId>org.codehaus.mojo.signature</groupId>
153 + <artifactId>java16</artifactId>
154 + <version>1.1</version>
155 + </signature>
156 + </configuration>
157 + </plugin>
158 + </plugins>
159 + </build>
160 + </profile>
161 + </profiles>
152 162 </project>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut