pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <groupId>org.apache.livy</groupId>
  23. <artifactId>multi-scala-project-root</artifactId>
  24. <version>0.8.0-incubating-SNAPSHOT</version>
  25. <packaging>pom</packaging>
  26. <parent>
  27. <groupId>org.apache.livy</groupId>
  28. <artifactId>livy-main</artifactId>
  29. <version>0.8.0-incubating-SNAPSHOT</version>
  30. <relativePath>../pom.xml</relativePath>
  31. </parent>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.scala-lang</groupId>
  35. <artifactId>scala-library</artifactId>
  36. <version>${scala.version}</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>build-helper-maven-plugin</artifactId>
  44. <executions>
  45. <execution>
  46. <id>add-scala-sources</id>
  47. <phase>generate-sources</phase>
  48. <goals>
  49. <goal>add-source</goal>
  50. </goals>
  51. <configuration>
  52. <sources>
  53. <source>${project.basedir}/../src/main/scala</source>
  54. </sources>
  55. </configuration>
  56. </execution>
  57. <execution>
  58. <id>add-scala-test-sources</id>
  59. <phase>generate-test-sources</phase>
  60. <goals>
  61. <goal>add-test-source</goal>
  62. </goals>
  63. <configuration>
  64. <sources>
  65. <source>${project.basedir}/../src/test/scala</source>
  66. </sources>
  67. </configuration>
  68. </execution>
  69. <execution>
  70. <id>add-resource</id>
  71. <phase>generate-resources</phase>
  72. <goals>
  73. <goal>add-resource</goal>
  74. </goals>
  75. <configuration>
  76. <resources>
  77. <resource>
  78. <directory>${project.basedir}/../src/main/resources</directory>
  79. </resource>
  80. </resources>
  81. </configuration>
  82. </execution>
  83. <execution>
  84. <id>add-test-resource</id>
  85. <phase>generate-test-resources</phase>
  86. <goals>
  87. <goal>add-test-resource</goal>
  88. </goals>
  89. <configuration>
  90. <resources>
  91. <resource>
  92. <directory>${project.basedir}/../src/test/resources</directory>
  93. </resource>
  94. </resources>
  95. </configuration>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>