[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Maven artifact missing (gf-3122) when running Terracotta server via tc:start  XML
Forum Index -> BigMemory
Author Message
huilong

neo

Joined: 06/06/2013 08:07:31
Messages: 1
Offline

Here's my POM:

Code:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>test</groupId>
 	<artifactId>test</artifactId>
 	<version>0.0.1-SNAPSHOT</version>
 	<pluginRepositories>
 		<pluginRepository>
 			<id>terracotta-repository</id>
 			<url>http://www.terracotta.org/download/reflector/releases</url>
 			<releases>
 				<enabled>true</enabled>
 			</releases>
 		</pluginRepository>
 	</pluginRepositories>
 	<build>
 		<plugins>
 			<plugin>
 				<groupId>org.terracotta.maven.plugins</groupId>
 				<artifactId>tc-maven-plugin</artifactId>
 				<version>1.9.4</version>
 			</plugin>
 		</plugins>
 	</build>
 	<repositories>
 		<repository>
 			<id>terracotta-repository</id>
 			<url>http://www.terracotta.org/download/reflector/releases</url>
 			<releases>
 				<enabled>true</enabled>
 			</releases>
 		</repository>
 	</repositories>
 	<dependencies>
 		<dependency>
 			<groupId>org.terracotta</groupId>
 			<artifactId>terracotta-toolkit-runtime-ee</artifactId>
 			<version>4.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>net.sf.ehcache</groupId>
 			<artifactId>ehcache-ee</artifactId>
 			<version>2.7.0</version>
 		</dependency>
 		<dependency>
 			<groupId>ch.qos.logback</groupId>
 			<artifactId>logback-classic</artifactId>
 			<version>1.0.12</version>
 			<scope>test</scope>
 		</dependency>
 	</dependencies>
 </project>


I don't run tests yet, just start server via plugin, and see if works. It tries download artifacts, then fails:

Code:
C:\workspace\test>mvn tc:start
 [INFO] Scanning for projects...
 [INFO] ------------------------------------------------------------------------
 [INFO] Building Unnamed - com.securekey.otap:test:jar:0.0.1-SNAPSHOT
 [INFO]    task-segment: [tc:start]
 [INFO] ------------------------------------------------------------------------
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository terracotta-repository (http://www.
 terracotta.org/download/reflector/releases)
 Downloading: http://repository.codehaus.org//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository codehaus-repository (http://reposi
 tory.codehaus.org/)
 Downloading: http://download.java.net/maven/2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository java.net (http://download.java.net
 /maven/2)
 Downloading: http://tomcat.apache.org/dev/dist/m2-repository//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.
 0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository tomcat-repository (http://tomcat.a
 pache.org/dev/dist/m2-repository/)
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository terracotta-releases (http://www.te
 rracotta.org/download/reflector/releases)
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository terracotta-repository (http://www.
 terracotta.org/download/reflector/releases)
 Downloading: http://download.oracle.com/maven//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository oracle (http://download.oracle.com
 /maven/)
 Downloading: http://repository.jboss.com/maven2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 [WARNING] Unable to get resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' from repository jboss (http://repository.jboss
 .com/maven2): Authorization failed: Access denied to: http://repository.jboss.com/maven2/gf-3122/gf.javax.servlet-api/3.
 0.1/gf.javax.servlet-api-3.0.1.pom
 Downloading: http://evgeny-goldin.org/artifactory/repo/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository evgeny-goldin (http://evgeny-goldi
 n.org/artifactory/repo)
 Downloading: http://repo1.maven.org/maven2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.pom
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:pom:3.0.1' in repository central (http://repo1.maven.org/ma
 ven2)
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository terracotta-repository (http://www.
 terracotta.org/download/reflector/releases)
 Downloading: http://repository.codehaus.org//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository codehaus-repository (http://reposi
 tory.codehaus.org/)
 Downloading: http://download.java.net/maven/2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository java.net (http://download.java.net
 /maven/2)
 Downloading: http://tomcat.apache.org/dev/dist/m2-repository//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.
 0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository tomcat-repository (http://tomcat.a
 pache.org/dev/dist/m2-repository/)
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository terracotta-releases (http://www.te
 rracotta.org/download/reflector/releases)
 Downloading: http://www.terracotta.org/download/reflector/releases/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-a
 pi-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository terracotta-repository (http://www.
 terracotta.org/download/reflector/releases)
 Downloading: http://download.oracle.com/maven//gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository oracle (http://download.oracle.com
 /maven/)
 Downloading: http://repository.jboss.com/maven2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 [WARNING] Unable to get resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' from repository jboss (http://repository.jboss
 .com/maven2): Authorization failed: Access denied to: http://repository.jboss.com/maven2/gf-3122/gf.javax.servlet-api/3.
 0.1/gf.javax.servlet-api-3.0.1.jar
 Downloading: http://evgeny-goldin.org/artifactory/repo/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository evgeny-goldin (http://evgeny-goldi
 n.org/artifactory/repo)
 Downloading: http://repo1.maven.org/maven2/gf-3122/gf.javax.servlet-api/3.0.1/gf.javax.servlet-api-3.0.1.jar
 [INFO] Unable to find resource 'gf-3122:gf.javax.servlet-api:jar:3.0.1' in repository central (http://repo1.maven.org/ma
 ven2)
 [INFO] ------------------------------------------------------------------------
 [ERROR] BUILD ERROR
 [INFO] ------------------------------------------------------------------------
 [INFO] Failed to resolve artifact.
 
 Missing:
 ----------
 1) gf-3122:gf.javax.servlet-api:jar:3.0.1
 
   Try downloading the file manually from the project website.
 
   Then, install it using the command:
       mvn install:install-file -DgroupId=gf-3122 -DartifactId=gf.javax.servlet-api -Dversion=3.0.1 -Dpackaging=jar -Dfil
 e=/path/to/file
 
   Alternatively, if you host your own repository you can deploy the file there:
       mvn deploy:deploy-file -DgroupId=gf-3122 -DartifactId=gf.javax.servlet-api -Dversion=3.0.1 -Dpackaging=jar -Dfile=
 /path/to/file -Durl=[url] -DrepositoryId=[id]
 
   Path to dependency:
         1) org.terracotta.maven.plugins:tc-maven-plugin:maven-plugin:1.9.4
         2) org.terracotta:terracotta:jar:3.7.4
         3) gf-3122:gf.javax.servlet-api:jar:3.0.1
 
 ----------
 1 required artifact is missing.
 
 for artifact:
   org.terracotta.maven.plugins:tc-maven-plugin:maven-plugin:1.9.4
 
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository/),
   java.net (http://download.java.net/maven/2),
   terracotta-repository (http://www.terracotta.org/download/reflector/releases),
   terracotta-releases (http://www.terracotta.org/download/reflector/releases),
   codehaus-repository (http://repository.codehaus.org/)
 
 
 
 [INFO] ------------------------------------------------------------------------
 [INFO] For more information, run Maven with the -e switch
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 8 seconds
 [INFO] Finished at: Thu Jun 06 11:10:39 EDT 2013
 [INFO] Final Memory: 21M/494M
 [INFO] ------------------------------------------------------------------------
 C:\\workspace\test>


Am I using correct repository? Took URL from the Terracotta docs page here

Thanks in advance

Hui
ragsdale

neo

Joined: 08/16/2013 11:16:35
Messages: 1
Offline

Got the same message. Any help on this would be appreciated.
carlgira

neo

Joined: 02/09/2014 10:27:57
Messages: 1
Offline

Same error too.
 
Forum Index -> BigMemory
Go to:   
Powered by JForum 2.1.7 © JForum Team