Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<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>
	<parent>
		<groupId>br.com.objectos</groupId>
		<artifactId>way</artifactId>
		<version>1.22.0</version>
	</parent>
	<artifactId>way-auto</artifactId>
	<name>objectos :: way :: auto</name>
	<packaging>jar</packaging>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>1.6</source>
						<target>1.6</target>
						<fork>true</fork>
						<compilerArgument>-proc:none</compilerArgument>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<executions>
						<execution>
							<id>jar-with-dependencies</id>
							<phase>package</phase>
							<goals>
								<goal>single</goal>
							</goals>
							<configuration>
								<descriptorRefs>
									<descriptorRef>jar-with-dependencies</descriptorRef>
								</descriptorRefs>
							</configuration>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>com.github.wvengen</groupId>
					<artifactId>proguard-maven-plugin</artifactId>
					<executions>
						<execution>
							<phase>package</phase>
							<goals>
								<goal>proguard</goal>
							</goals>
						</execution>
					</executions>
					<configuration>
						<includeDependency>false</includeDependency>
						<injar>${project.build.finalName}-jar-with-dependencies.jar</injar>
						<outjar>${project.build.finalName}.jar</outjar>
						<outputDirectory>${project.build.directory}</outputDirectory>
						<options>
							<option>-dontobfuscate</option>
							<option>-dontoptimize</option>
							<option>-keep,includedescriptorclasses public class * extends
								br.com.objectos.way.core.code.apt.AbstractAnnotationProcessor {
								*; }</option>
							<option>-keepattributes *Annotation*</option>
							<option>-keepattributes Signature</option>
							<option>-keepattributes InnerClasses</option>
							<option>-keepattributes InnerClasses,EnclosingMethod</option>
							<option>-dontnote com.google.common.base.internal.Finalizer</option>
							<option>-dontnote com.google.common.cache.Striped64*</option>
							<option>-dontnote com.google.common.util.concurrent.MoreExecutors</option>
							<option>-dontwarn br.com.objectos.way.core.lang.HasLocalDate</option>
							<option>-dontwarn com.github.mustachejava.jruby.*</option>
							<option>-dontwarn com.twitter.mustache.*</option>
						</options>
						<libs>
							<lib>${java.home}/lib/rt.jar</lib>
						</libs>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	<dependencies>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-core</artifactId>
		</dependency>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-core</artifactId>
			<type>test-jar</type>
		</dependency>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-code</artifactId>
		</dependency>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-code-apt</artifactId>
		</dependency>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-code-mustache</artifactId>
		</dependency>
		<dependency>
			<groupId>br.com.objectos</groupId>
			<artifactId>way-code-pojo</artifactId>
		</dependency>
		<dependency>
			<groupId>com.google.testing.compile</groupId>
			<artifactId>compile-testing</artifactId>
		</dependency>
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
</project>
New to GrepCode? Check out our FAQ X