Commit d2f77237 authored by Liang Ding's avatar Liang Ding

pom detail enhancements for eclipse

parent 7b531dc4
...@@ -2,35 +2,40 @@ ...@@ -2,35 +2,40 @@
<classpath> <classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"> <classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true" />
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> <classpathentry excluding="**" kind="src" output="target/classes"
path="src/main/resources">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> <classpathentry kind="src" output="target/test-classes"
path="src/test/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true" />
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> <classpathentry excluding="**" kind="src"
output="target/test-classes" path="src/test/resources">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con"
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true" />
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes" />
</classpath> </classpath>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!-- Description: B3log Solo core. Version: 2.2.1.7, Mar 24, 2015 Author:
Description: B3log Solo core. Liang Ding -->
Version: 2.2.1.7, Mar 24, 2015 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Author: Liang Ding xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
--> <modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.0.0" <artifactId>solo-core</artifactId>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <packaging>jar</packaging>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <name>B3log Solo (Core)</name>
<modelVersion>4.0.0</modelVersion> <description>B3log Solo Core.</description>
<groupId>org.b3log</groupId>
<artifactId>solo-core</artifactId> <parent>
<packaging>jar</packaging> <groupId>org.b3log</groupId>
<name>B3log Solo (Core)</name> <artifactId>solo</artifactId>
<description>B3log Solo Core.</description> <version>0.6.8</version>
</parent>
<parent>
<groupId>org.b3log</groupId> <dependencies>
<artifactId>solo</artifactId> <dependency>
<version>0.6.8</version> <groupId>org.b3log</groupId>
</parent> <artifactId>latke</artifactId>
</dependency>
<dependencies>
<dependency> <dependency>
<groupId>org.b3log</groupId> <groupId>javax.servlet</groupId>
<artifactId>latke</artifactId> <artifactId>servlet-api</artifactId>
</dependency> <version>${servlet.version}</version>
<scope>provided</scope>
<dependency> </dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId> <dependency>
<version>${servlet.version}</version> <groupId>org.testng</groupId>
<scope>provided</scope> <artifactId>testng</artifactId>
</dependency> <scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId> <dependency>
<artifactId>testng</artifactId> <groupId>org.jsoup</groupId>
<scope>test</scope> <artifactId>jsoup</artifactId>
</dependency> </dependency>
<dependency> <!-- BEGIN GAE related dependencies just for test -->
<groupId>org.jsoup</groupId> <dependency>
<artifactId>jsoup</artifactId> <groupId>org.b3log</groupId>
</dependency> <artifactId>latke-gae</artifactId>
<scope>test</scope>
<!-- BEGIN GAE related dependencies just for test --> </dependency>
<dependency>
<groupId>org.b3log</groupId> <dependency>
<artifactId>latke-gae</artifactId> <groupId>com.google.appengine</groupId>
<scope>test</scope> <artifactId>appengine-api-1.0-sdk</artifactId>
</dependency> <scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId> <dependency>
<artifactId>appengine-api-1.0-sdk</artifactId> <groupId>com.google.appengine</groupId>
<scope>test</scope> <artifactId>appengine-api-labs</artifactId>
</dependency> <version>${gae.version}</version>
<scope>test</scope>
<dependency> </dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-labs</artifactId> <dependency>
<version>${gae.version}</version> <groupId>com.google.appengine</groupId>
<scope>test</scope> <artifactId>appengine-api-stubs</artifactId>
</dependency> <version>${gae.version}</version>
<scope>test</scope>
<dependency> </dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-stubs</artifactId> <dependency>
<version>${gae.version}</version> <groupId>com.google.appengine</groupId>
<scope>test</scope> <artifactId>appengine-testing</artifactId>
</dependency> <version>${gae.version}</version>
<scope>test</scope>
<dependency> </dependency>
<groupId>com.google.appengine</groupId> <!-- END GAE related dependencies just for test -->
<artifactId>appengine-testing</artifactId>
<version>${gae.version}</version> <dependency>
<scope>test</scope> <groupId>org.tautua.markdownpapers</groupId>
</dependency> <artifactId>markdownpapers-core</artifactId>
<!-- END GAE related dependencies just for test --> </dependency>
<dependency> <dependency>
<groupId>org.tautua.markdownpapers</groupId> <groupId>org.slf4j</groupId>
<artifactId>markdownpapers-core</artifactId> <artifactId>slf4j-log4j12</artifactId>
</dependency> </dependency>
<dependency> </dependencies>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId> <build>
</dependency> <resources>
<resource>
</dependencies> <directory>src/main/resources</directory>
<excludes>
<build> <exclude>etc/</exclude>
<resources> </excludes>
<resource> </resource>
<directory>src/main/resources</directory> </resources>
<excludes>
<exclude>etc/</exclude> <plugins>
</excludes> <plugin>
</resource> <groupId>com.tiobe.jacobe</groupId>
</resources> <artifactId>maven-jacobe-plugin</artifactId>
<version>1.0</version>
<plugins> <configuration>
<plugin> <jacobeExecutable>${jacobeExecutable}</jacobeExecutable>
<groupId>com.tiobe.jacobe</groupId> <rules>
<artifactId>maven-jacobe-plugin</artifactId> <param>indent=4</param>
<version>1.0</version> <param>continuationindent=2</param>
<configuration> </rules>
<jacobeExecutable>${jacobeExecutable}</jacobeExecutable> <configurationFile>../src/main/resources/etc/jacobe/sun.cfg</configurationFile>
<rules> <comparisonThreshold>0.01</comparisonThreshold>
<param>indent=4</param> <javadoc>private</javadoc>
<param>continuationindent=2</param> <noAssert>true</noAssert>
</rules> <noEnum>false</noEnum>
<configurationFile>../src/main/resources/etc/jacobe/sun.cfg</configurationFile> <noBackup>true</noBackup>
<comparisonThreshold>0.01</comparisonThreshold> <overwrite>true</overwrite>
<javadoc>private</javadoc> <outputExtension>formatted</outputExtension>
<noAssert>true</noAssert> <input>${basedir}/src/main/java</input>
<noEnum>false</noEnum> </configuration>
<noBackup>true</noBackup> <executions>
<overwrite>true</overwrite> <!-- <execution> <phase>process-resources</phase> <goals> <goal>jacobe</goal>
<outputExtension>formatted</outputExtension> </goals> </execution> -->
<input>${basedir}/src/main/java</input> </executions>
</configuration> </plugin>
<executions>
<!-- <plugin>
<execution> <groupId>org.apache.maven.plugins</groupId>
<phase>process-resources</phase> <artifactId>maven-surefire-plugin</artifactId>
<goals> <version>${maven-surefire-plugin.version}</version>
<goal>jacobe</goal> <configuration>
</goals> <skipTests>false</skipTests>
</execution> </configuration>
--> </plugin>
</executions>
</plugin> <plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<plugin> <artifactId>maven-license-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId> <configuration>
<artifactId>maven-surefire-plugin</artifactId> <header>../src/main/resources/etc/header.txt</header>
<version>${maven-surefire-plugin.version}</version> </configuration>
<configuration> </plugin>
<skipTests>false</skipTests>
</configuration> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<plugin> <version>${maven-javadoc-plugin.version}</version>
<groupId>com.mycila.maven-license-plugin</groupId> <configuration>
<artifactId>maven-license-plugin</artifactId> <show>private</show>
<configuration> </configuration>
<header>../src/main/resources/etc/header.txt</header> <executions>
</configuration> <execution>
</plugin> <phase>process-sources</phase>
</execution>
<plugin> </executions>
<groupId>org.apache.maven.plugins</groupId> </plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version> <!-- For source code style check -->
<configuration> <plugin>
<show>private</show> <groupId>org.apache.maven.plugins</groupId>
</configuration> <artifactId>maven-checkstyle-plugin</artifactId>
<executions> <version>${maven-checkstyle-plugin.version}</version>
<execution> <inherited>false</inherited>
<phase>process-sources</phase> <configuration>
</execution> <configLocation>src/main/resources/etc/beyondtrack_checks.xml</configLocation>
</executions> <includeTestSourceDirectory>false</includeTestSourceDirectory>
</plugin> <excludes>
com/**/*.java,
<!-- For source code style check --> </excludes>
<plugin> <consoleOutput>true</consoleOutput>
<groupId>org.apache.maven.plugins</groupId> <failOnViolation>true</failOnViolation>
<artifactId>maven-checkstyle-plugin</artifactId> <failsOnError>true</failsOnError>
<version>${maven-checkstyle-plugin.version}</version> <encoding>UTF-8</encoding>
<inherited>false</inherited> <skip>false</skip>
<configuration> </configuration>
<configLocation>src/main/resources/etc/beyondtrack_checks.xml</configLocation> <executions>
<includeTestSourceDirectory>false</includeTestSourceDirectory> <!-- <execution> <phase>compile</phase> <goals> <goal>checkstyle</goal>
<excludes> </goals> </execution> -->
com/**/*.java, </executions>
</excludes> </plugin>
<consoleOutput>true</consoleOutput>
<failOnViolation>true</failOnViolation> </plugins>
<failsOnError>true</failsOnError> </build>
<encoding>UTF-8</encoding>
<skip>false</skip> <profiles>
</configuration> <profile>
<executions> <id>linux</id>
<!-- <activation>
<execution> <os>
<phase>compile</phase> <family>linux</family>
<goals> </os>
<goal>checkstyle</goal> </activation>
</goals> <properties>
</execution> <jacobeExecutable>
--> ../src/main/resources/etc/jacobe/linux/jacobe
</executions> </jacobeExecutable>
</plugin> </properties>
</profile>
</plugins> <profile>
</build> <id>windows</id>
<activation>
<profiles> <os>
<profile> <family>windows</family>
<id>linux</id> </os>
<activation> </activation>
<os> <properties>
<family>linux</family> <jacobeExecutable>
</os> ../src/main/resources/etc/jacobe/win32/jacobe.exe
</activation> </jacobeExecutable>
<properties> </properties>
<jacobeExecutable> </profile>
../src/main/resources/etc/jacobe/linux/jacobe </profiles>
</jacobeExecutable>
</properties>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<jacobeExecutable>
../src/main/resources/etc/jacobe/win32/jacobe.exe
</jacobeExecutable>
</properties>
</profile>
</profiles>
</project> </project>
...@@ -294,6 +294,8 @@ ...@@ -294,6 +294,8 @@
<excludes> <excludes>
<exclude>**/src/main/java/**/package-info.java</exclude> <exclude>**/src/main/java/**/package-info.java</exclude>
<exclude>**/src/*/webapp/js/lib/*.js</exclude> <exclude>**/src/*/webapp/js/lib/*.js</exclude>
<exclude>**/src/*/webapp/js/**/*.min.js</exclude>
<exclude>**/src/*/webapp/css/**/*.min.css</exclude>
<exclude>**/src/main/java/com/**/*.java</exclude> <exclude>**/src/main/java/com/**/*.java</exclude>
</excludes> </excludes>
...@@ -309,12 +311,14 @@ ...@@ -309,12 +311,14 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
<executions> <executions>
<!--
<execution> <execution>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<goals> <goals>
<goal>format</goal> <goal>format</goal>
</goals> </goals>
</execution> </execution>
-->
</executions> </executions>
</plugin> </plugin>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.b3log</groupId>
<artifactId>solo-gae</artifactId> <artifactId>solo-gae</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<name>B3log Solo (GAE)</name> <name>B3log Solo (GAE)</name>
...@@ -94,7 +93,6 @@ ...@@ -94,7 +93,6 @@
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId> <artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.b3log</groupId>
<artifactId>solo-mysql</artifactId> <artifactId>solo-mysql</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<name>B3log Solo (MySQL)</name> <name>B3log Solo (MySQL)</name>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.b3log</groupId>
<artifactId>solo-war</artifactId> <artifactId>solo-war</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>B3log Solo (WAR)</name> <name>B3log Solo (WAR)</name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment