pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.ranides</groupId>
  6. <artifactId>assira.project</artifactId>
  7. <version>2.8.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>assira.core</artifactId>
  10. <packaging>jar</packaging>
  11. <name>${project.groupId}:${project.artifactId}</name>
  12. <description>assira: general purpose java library: core functions</description>
  13. <properties>
  14. <assira.junit.debug>false</assira.junit.debug>
  15. </properties>
  16. <profiles>
  17. <profile>
  18. <id>offline</id>
  19. <activation>
  20. <property>
  21. <name>net.ranides.offline</name>
  22. <value>true</value>
  23. </property>
  24. </activation>
  25. <build>
  26. <plugins>
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-surefire-plugin</artifactId>
  30. <configuration>
  31. <excludedGroups>net.ranides.assira.junit.JCategories$Slow,net.ranides.assira.junit.JCategories$UnstableTest,net.ranides.assira.junit.JCategories$Online</excludedGroups>
  32. </configuration>
  33. </plugin>
  34. </plugins>
  35. </build>
  36. </profile>
  37. </profiles>
  38. <build>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-compiler-plugin</artifactId>
  43. <configuration>
  44. <source>${maven.compiler.source}</source>
  45. <target>${maven.compiler.target}</target>
  46. <compilerArgs>
  47. <argument>-Xlint:unchecked</argument>
  48. <argument>-parameters</argument>
  49. </compilerArgs>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-surefire-plugin</artifactId>
  55. <configuration>
  56. <excludedGroups>net.ranides.assira.junit.JCategories$Slow,net.ranides.assira.junit.JCategories$UnstableTest</excludedGroups>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-jar-plugin</artifactId>
  62. <version>3.2.0</version>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>test-jar</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. <dependencies>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>net.ranides</groupId>
  80. <artifactId>assira.asm</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>net.ranides</groupId>
  84. <artifactId>assira.junit</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-api</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.code.findbugs</groupId>
  92. <artifactId>annotations</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>se.fishtank</groupId>
  96. <artifactId>css-selectors</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.projectlombok</groupId>
  100. <artifactId>lombok</artifactId>
  101. <scope>provided</scope>
  102. </dependency>
  103. </dependencies>
  104. </project>