Maven repository沒有TerracottaTerracotta Maven Plugin,所以要在pom.xml加入:

  <repositories>
    <repository>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>terracotta-repository</id>
      <url>
        http://www.terracotta.org/download/reflector/maven2
      </url>
    </repository>
  </repositories>

  <pluginrepositories>
    <pluginrepository>
      <id>terracotta-snapshots</id>
      <url>
        http://www.terracotta.org/download/reflector/maven2
      </url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginrepository>
  </pluginrepositories>

  <build>
    <plugins>
      <plugin>
        <groupid>org.terracotta.maven.plugins</groupid>
        <artifactid>tc-maven-plugin</artifactid>
        <version>1.0.3</version>

        <configuration>
          
          
          
          

          
          
          
          
          
          
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupid>org.terracotta</groupid>
      <artifactid>terracotta</artifactid>
      <version>2.5.1</version>
    </dependency>
  </dependencies>

不過,Terracotta DSO Eclipse Plug-inTerracotta Maven Plugin好用多了。

創作者介紹
創作者 不就是個blog 的頭像
Forth

不就是個blog

Forth 發表在 痞客邦 留言(0) 人氣( 44 )