Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
- <groupId>InstagramBot</groupId>
- <artifactId>InstagramBot</artifactId>
- <version>2.0.0</version>
- <packaging>jar</packaging>
- <build>
- <finalName>instagramBot</finalName>
- <sourceDirectory>src</sourceDirectory>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- <mainClass>com.tomatechines.instagram.bot.InstagramStarter</mainClass>
- <classpathPrefix>dependency/</classpathPrefix>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <!-- copy hibernate.cfg.xml and list files -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.0.2</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/</outputDirectory>
- <resources>
- <includes>
- <directory>${basedir}</directory>
- <include>list</include>
- <include>hibernate.cfg.xml</include>
- </includes>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Copy project dependency -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <!-- exclude junit, we need runtime dependency only -->
- <includeScope>runtime</includeScope>
- <outputDirectory>${project.build.directory}/dependency/</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <properties>
- <!-- Logging -->
- <logback.version>1.0.13</logback.version>
- <slf4j.version>1.7.5</slf4j.version>
- </properties>
- <dependencies>
- <!-- My projects includes hibernate and logging -->
- <dependency>
- <groupId>com.tomatechines</groupId>
- <artifactId>utils</artifactId>
- <version>LATEST</version>
- </dependency>
- <dependency>
- <groupId>com.tomatechines</groupId>
- <artifactId>selenium.utils</artifactId>
- <version>LATEST</version>
- </dependency>
- <dependency>
- <groupId>com.tomatechines</groupId>
- <artifactId>instagramapi</artifactId>
- <version>LATEST</version>
- </dependency>
- <!-- -->
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.4.01</version>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.9.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.1</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.40</version>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium</groupId>
- <artifactId>selenium-java</artifactId>
- <version>3.0.0-beta2</version>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium</groupId>
- <artifactId>htmlunit-driver</artifactId>
- <version>2.21</version>
- </dependency>
- <dependency>
- <groupId>com.detectlanguage</groupId>
- <artifactId>detectlanguage</artifactId>
- <version>1.0.5</version>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement