pom.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.google</groupId>
  8. <artifactId>google</artifactId>
  9. <version>1</version>
  10. </parent>
  11. <groupId>com.google.protobuf.jruby</groupId>
  12. <artifactId>protobuf-jruby</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <name>Protocol Buffer JRuby native extension</name>
  15. <description>
  16. Protocol Buffers are a way of encoding structured data in an efficient yet
  17. extensible format.
  18. </description>
  19. <inceptionYear>2014</inceptionYear>
  20. <url>https://developers.google.com/protocol-buffers/</url>
  21. <licenses>
  22. <license>
  23. <name>3-Clause BSD License</name>
  24. <url>https://opensource.org/licenses/BSD-3-Clause</url>
  25. <distribution>repo</distribution>
  26. </license>
  27. </licenses>
  28. <scm>
  29. <url>https://github.com/protocolbuffers/protobuf</url>
  30. <connection>
  31. scm:git:https://github.com/protocolbuffers/protobuf.git
  32. </connection>
  33. </scm>
  34. <properties>
  35. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  36. <ruby.sources>lib/google</ruby.sources>
  37. <jar.finalName>protobuf_java</jar.finalName>
  38. </properties>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-assembly-plugin</artifactId>
  44. <configuration>
  45. <finalName>${jar.finalName}</finalName>
  46. <outputDirectory>${ruby.sources}</outputDirectory>
  47. <appendAssemblyId>false</appendAssemblyId>
  48. <descriptorRefs>
  49. <descriptorRef>jar-with-dependencies</descriptorRef>
  50. </descriptorRefs>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>single</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <configuration>
  66. <source>1.6</source>
  67. <target>1.6</target>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. <dependencies>
  73. <dependency>
  74. <groupId>com.fasterxml.jackson.core</groupId>
  75. <artifactId>jackson-core</artifactId>
  76. <version>2.4.3</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.jruby</groupId>
  80. <artifactId>jruby-complete</artifactId>
  81. <version>1.7.13</version>
  82. <scope>provided</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.google.protobuf</groupId>
  86. <artifactId>protobuf-java</artifactId>
  87. <version>3.0.0</version>
  88. </dependency>
  89. </dependencies>
  90. </project>