Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.02 KB | None | 0 0
  1. $ cat hibernate-enhance-maven-plugin/hibernate-enhance-maven-plugin.gradle;./gradlew :hibernate-enhance-maven-plugin:dependencies
  2. apply plugin: 'java'
  3. apply plugin: 'maven'
  4.  
  5. repositories {
  6. mavenCentral()
  7. }
  8.  
  9. dependencies {
  10. compile( libraries.maven_plugin ) {
  11. transitive = false
  12. }
  13. compile( libraries.maven_plugin_tools ) {
  14. transitive = false
  15. }
  16. compile( project(':hibernate-core') ) {
  17. transitive = false
  18. }
  19. compile( libraries.jpa ){
  20. transitive = false
  21. }
  22. compile( libraries.javassist ){
  23. transitive = false
  24. }
  25. compile 'org.codehaus.plexus:plexus-utils:3.0.1'
  26.  
  27. provided( libraries.maven_plugin ) {
  28. transitive = false
  29. }
  30. provided( libraries.maven_plugin_tools ) {
  31. transitive = false
  32. }
  33. provided( project(':hibernate-core') ) {
  34. transitive = false
  35. }
  36. provided( libraries.jpa ){
  37. transitive = false
  38. }
  39. provided( libraries.javassist ){
  40. transitive = false
  41. }
  42. provided 'org.codehaus.plexus:plexus-utils:3.0.1'
  43. }
  44.  
  45. task writeNewPom << {
  46. ext.pomDefinition = pom {
  47. project {
  48. groupId 'org.hibernate.orm.tooling'
  49. packaging 'maven-plugin'
  50. name 'Enhance Plugin of the Hibernate project for use with Maven build system.'
  51. build {
  52. plugins {
  53. plugin {
  54. groupId 'org.apache.maven.plugins'
  55. artifactId 'maven-plugin-plugin'
  56. version '3.2'
  57. configuration {
  58. skipErrorNoDescriptorsFound 'true'
  59. }
  60. executions {
  61. execution {
  62. id 'mojo-descriptor'
  63. goals {
  64. goal 'descriptor'
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. properties {
  72. 'project.build.sourceEncoding' 'UTF-8'
  73. }
  74. }
  75. }
  76. ext.pomDefinition.writeTo("$projectDir/src/main/resources/pom.xml")
  77. ext.pomDefinition.writeTo("$projectDir/pom.xml")
  78. }
  79. /*
  80. a) the 2 descriptor files for the Mojo are currently static.
  81. Until Gradle support for calling Maven goals is implemented you'll need to
  82. manually update the 2 descriptors in the resources directory.
  83. */
  84.  
  85. processResources.dependsOn writeNewPom
  86.  
  87. Build file '/run/media/whitingjr/theark/work/redhat/java/jboss/hibernate/hibernate-orm/buildSrc/build.gradle': line 33
  88. The RepositoryHandler.mavenRepo() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the maven() method instead.
  89. The groovy configuration has been deprecated and is scheduled to be removed in Gradle 2.0. Typically, usages of 'groovy' can simply be replaced with 'compile'. In some cases, it may be necessary to additionally configure the 'groovyClasspath' property of GroovyCompile and Groovydoc tasks.
  90. :buildSrc:compileJava UP-TO-DATE
  91. :buildSrc:compileGroovy UP-TO-DATE
  92. :buildSrc:processResources UP-TO-DATE
  93. :buildSrc:classes UP-TO-DATE
  94. :buildSrc:jar UP-TO-DATE
  95. :buildSrc:assemble UP-TO-DATE
  96. :buildSrc:compileTestJava UP-TO-DATE
  97. :buildSrc:compileTestGroovy UP-TO-DATE
  98. :buildSrc:processTestResources UP-TO-DATE
  99. :buildSrc:testClasses UP-TO-DATE
  100. :buildSrc:test UP-TO-DATE
  101. :buildSrc:check UP-TO-DATE
  102. :buildSrc:build UP-TO-DATE
  103. Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
  104. Deprecated dynamic property: "exportPackageVersion" on "project ':documentation'", value: "4.2.9".
  105. Deprecated dynamic property "exportPackageVersion" created in multiple locations.
  106. The ConfigurationContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
  107. The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
  108. The Test.testReportDir property has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the Test.getReports().getHtml().getDestination() property instead.
  109. The Test.testResultsDir property has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the Test.getReports().getJunitXml().setDestination() property instead.
  110. :hibernate-enhance-maven-plugin:dependencies
  111.  
  112. ------------------------------------------------------------
  113. Project :hibernate-enhance-maven-plugin
  114. ------------------------------------------------------------
  115.  
  116. archives - Configuration for archive artifacts.
  117. No dependencies
  118.  
  119. compile - Compile classpath for source set 'main'.
  120. +--- org.jboss.logging:jboss-logging:3.1.0.GA
  121. +--- org.apache.maven:maven-plugin-api:3.0.5
  122. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  123. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  124. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  125. +--- org.javassist:javassist:3.18.1-GA
  126. \--- org.codehaus.plexus:plexus-utils:3.0.1
  127.  
  128. default - Configuration for default artifacts.
  129. +--- org.jboss.logging:jboss-logging:3.1.0.GA
  130. +--- org.apache.maven:maven-plugin-api:3.0.5
  131. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  132. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  133. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  134. +--- org.javassist:javassist:3.18.1-GA
  135. \--- org.codehaus.plexus:plexus-utils:3.0.1
  136.  
  137. deployerJars - Jars needed for doing deployment to JBoss Nexus repo
  138. \--- org.apache.maven.wagon:wagon-http:1.0
  139. +--- org.apache.maven.wagon:wagon-http-shared:1.0
  140. | +--- commons-httpclient:commons-httpclient:3.1
  141. | | \--- commons-codec:commons-codec:1.2
  142. | +--- commons-logging:commons-logging:1.1.1
  143. | +--- commons-io:commons-io:2.0.1
  144. | +--- org.jsoup:jsoup:1.6.1
  145. | \--- org.apache.maven.wagon:wagon-provider-api:1.0
  146. | \--- org.codehaus.plexus:plexus-utils:1.4.2
  147. \--- org.apache.maven.wagon:wagon-provider-api:1.0 (*)
  148.  
  149. hibernateJpaModelGenTool - Dependencies for running the Hibernate JPA Metamodel Generator AnnotationProcessor tool
  150. \--- org.hibernate:hibernate-jpamodelgen:1.1.1.Final
  151. \--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final
  152.  
  153. jaxb - Dependencies for running ant xjc (jaxb class generation)
  154. +--- com.sun.xml.bind:jaxb-xjc:2.1.6
  155. | \--- com.sun.xml.bind:jaxb-impl:2.1.6
  156. | \--- javax.xml.bind:jaxb-api:2.1
  157. | \--- javax.activation:activation:1.1
  158. +--- org.jvnet.jaxb2_commons:jaxb2-basics:0.6.0
  159. | +--- org.jvnet.jaxb2_commons:jaxb2-basics-runtime:0.6.0
  160. | \--- org.jvnet.jaxb2_commons:jaxb2-basics-tools:0.6.0
  161. | +--- commons-beanutils:commons-beanutils:1.7.0
  162. | | \--- commons-logging:commons-logging:1.0.3 -> 1.1.1
  163. | +--- commons-lang:commons-lang:2.2
  164. | +--- commons-logging:commons-logging:1.1.1
  165. | \--- org.jvnet.jaxb2_commons:jaxb2-basics-runtime:0.6.0
  166. \--- org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.6.0
  167.  
  168. jbossLoggingTool - Dependencies for running the JBoss logging AnnotationProcessor tool
  169. \--- org.jboss.logging:jboss-logging-processor:1.0.0.Final
  170.  
  171. provided - Non-exported compile-time dependencies.
  172. +--- org.apache.maven:maven-plugin-api:3.0.5
  173. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  174. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  175. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  176. +--- org.javassist:javassist:3.18.1-GA
  177. \--- org.codehaus.plexus:plexus-utils:3.0.1
  178.  
  179. runtime - Runtime classpath for source set 'main'.
  180. +--- org.jboss.logging:jboss-logging:3.1.0.GA
  181. +--- org.apache.maven:maven-plugin-api:3.0.5
  182. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  183. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  184. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  185. +--- org.javassist:javassist:3.18.1-GA
  186. \--- org.codehaus.plexus:plexus-utils:3.0.1
  187.  
  188. testCompile - Compile classpath for source set 'test'.
  189. +--- org.jboss.logging:jboss-logging:3.1.0.GA
  190. +--- org.apache.maven:maven-plugin-api:3.0.5
  191. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  192. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  193. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  194. +--- org.javassist:javassist:3.18.1-GA
  195. +--- org.codehaus.plexus:plexus-utils:3.0.1
  196. +--- junit:junit:4.10
  197. | \--- org.hamcrest:hamcrest-core:1.1
  198. +--- org.jboss.byteman:byteman:2.1.2
  199. +--- org.jboss.byteman:byteman-install:2.1.2
  200. \--- org.jboss.byteman:byteman-bmunit:2.1.2
  201. +--- org.jboss.byteman:byteman:2.1.2
  202. +--- org.jboss.byteman:byteman-submit:2.1.2
  203. \--- org.jboss.byteman:byteman-install:2.1.2
  204.  
  205. testRuntime - Runtime classpath for source set 'test'.
  206. +--- org.jboss.logging:jboss-logging:3.1.0.GA
  207. +--- org.apache.maven:maven-plugin-api:3.0.5
  208. +--- org.apache.maven.plugin-tools:maven-plugin-annotations:3.2
  209. +--- org.hibernate:hibernate-core:4.2.9-SNAPSHOT
  210. +--- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final
  211. +--- org.javassist:javassist:3.18.1-GA
  212. +--- org.codehaus.plexus:plexus-utils:3.0.1
  213. +--- junit:junit:4.10
  214. | \--- org.hamcrest:hamcrest-core:1.1
  215. +--- org.jboss.byteman:byteman:2.1.2
  216. +--- org.jboss.byteman:byteman-install:2.1.2
  217. +--- org.jboss.byteman:byteman-bmunit:2.1.2
  218. | +--- org.jboss.byteman:byteman:2.1.2
  219. | +--- org.jboss.byteman:byteman-submit:2.1.2
  220. | \--- org.jboss.byteman:byteman-install:2.1.2
  221. +--- org.slf4j:slf4j-api:1.6.1
  222. +--- org.slf4j:slf4j-log4j12:1.6.1
  223. | +--- org.slf4j:slf4j-api:1.6.1
  224. | \--- log4j:log4j:1.2.16
  225. +--- org.slf4j:jcl-over-slf4j:1.6.1
  226. | \--- org.slf4j:slf4j-api:1.6.1
  227. +--- commons-logging:commons-logging-api:99.0-does-not-exist
  228. +--- commons-logging:commons-logging:99.0-does-not-exist
  229. \--- com.h2database:h2:1.2.145
  230.  
  231. (*) - dependencies omitted (listed previously)
  232.  
  233. BUILD SUCCESSFUL
  234.  
  235. Total time: 4.505 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement