Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1780

basic tomee-embedded gradle plugin

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      buildscript {
          repositories {
              mavenCentral()
          }
      
          dependencies {
              classpath 'org.apache.tomee.gradle:tomee-embedded:7.0.0-M4'
          }
      }
      
      // use gradle compileJava tomee-embedded -i (better to set log level in general ;))
      apply plugin: 'org.apache.tomee.tomee-embedded'
      
      group 'test'
      version '1.0-SNAPSHOT'
      
      apply plugin: 'groovy'
      apply plugin: 'war'
      
      sourceCompatibility = 1.8
      
      repositories {
          mavenCentral()
      }
      
      dependencies {
          providedCompile 'org.apache.tomee:javaee-api:7.0' // whatever you need
      }
      

        Attachments

          Activity

            People

            • Assignee:
              romain.manni-bucau Romain Manni-Bucau
              Reporter:
              romain.manni-bucau Romain Manni-Bucau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: