[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Examinator 1.0.3 doesn't compile  XML
Forum Index -> Terracotta Platform Go to Page: 1, 2 Next 
Author Message
pastor

neo

Joined: 01/24/2009 14:40:26
Messages: 2
Offline

While trying to execute mvn compile I found out that some of your latest libraries are not under the Maven repository:

forge-parent-1.0.15
tc-maven-plugin-1.2.3 (actually I steal can't build it)
plugin-parent-1.0.11
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

It's still in release cycle and being tested. Until we release 2.7.3, then it'll be complete. Try the old version if you're interested.
pastor

neo

Joined: 01/24/2009 14:40:26
Messages: 2
Offline

Thanks a lot. I will try.
I've just follow the instructions on the Examinator documentation and tried to download the latest version.
joachimm

journeyman

Joined: 02/02/2009 11:40:31
Messages: 35
Offline

hhuynh wrote:
It's still in release cycle and being tested. Until we release 2.7.3, then it'll be complete. Try the old version if you're interested. 


I tried versions 1.0.0-4 and none of them will mvn install due to artifacts not being found in your repository.

2.7.3 has been released. Any chance someone at terracotta could take a closer look at this? It seems a shame that the reference app does not build from svn.

forge-parent seems to be the main issue.
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

which error did you get? I just tried and it worked fine for me. All the artifacts are downloaded.

joachimm

journeyman

Joined: 02/02/2009 11:40:31
Messages: 35
Offline

hhuynh wrote:
which error did you get? I just tried and it worked fine for me. All the artifacts are downloaded.
 


for 1.0.4:

$ mvn install
[INFO] Scanning for projects...
Downloading: http://www.terracotta.org/download/reflector/maven2/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom
Downloading: http://download.java.net/maven/1/org.terracotta.forge/poms/forge-parent-1.0.15.pom
Downloading: http://spring-json.sourceforge.net/repository/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom
Downloading: http://repository.springsource.com/maven/bundles/release/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom

Downloading: http://repository.springsource.com/maven/bundles/external/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.po
m
Downloading: http://nexus.openqa.org/content/repositories/releases/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom
Downloading: http://repo1.maven.org/maven2/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.terracotta.reference:examinator:war:1.0.4

Reason: Cannot find parent: org.terracotta.forge:forge-parent for project: org.terracotta.reference:examinator:war:1.0.4 for project o
rg.terracotta.reference:examinator:war:1.0.4


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.terracotta.forge:forge-parent for project: org.terracotta.re
ference:examinator:war:1.0.4 for project org.terracotta.reference:examinator:war:1.0.4
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.terracotta.forge:forge-parent for project: org.t
erracotta.reference:examinator:war:1.0.4 for project org.terracotta.reference:examinator:war:1.0.4
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.terracotta.forge:forge-parent' not found in repository: Unable
to download the artifact from any repository

org.terracotta.forge:forge-parent:pom:1.0.15

from the specified remote repositories:
com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external),
openqa (http://nexus.openqa.org/content/repositories/releases),
java.net (http://download.java.net/maven/1),
spring-json (http://spring-json.sourceforge.net/repository),
terracotta-repository (http://www.terracotta.org/download/reflector/maven2),
central (http://repo1.maven.org/maven2),
com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/release)
for project org.terracotta.forge:forge-parent
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

org.terracotta.forge:forge-parent:pom:1.0.15

from the specified remote repositories:
com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external),
openqa (http://nexus.openqa.org/content/repositories/releases),
java.net (http://download.java.net/maven/1),
spring-json (http://spring-json.sourceforge.net/repository),
terracotta-repository (http://www.terracotta.org/download/reflector/maven2),
central (http://repo1.maven.org/maven2),
com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/release)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Feb 25 13:56:50 EST 2009
[INFO] Final Memory: 2M/18M
[INFO] ------------------------------------------------------------------------ 
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

can you download this from your browser?

http://www.terracotta.org/download/reflector/maven2/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom

That link is working fine for me.
joachimm

journeyman

Joined: 02/02/2009 11:40:31
Messages: 35
Offline

hhuynh wrote:
can you download this from your browser?

http://www.terracotta.org/download/reflector/maven2/org/terracotta/forge/forge-parent/1.0.15/forge-parent-1.0.15.pom

That link is working fine for me.
 


Working for me also (ff & wget), but for some reason maven doesn't like it.
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

Then I'm not sure what I could help in that case.

Try it in another box? upgrade to latest maven-2.0.10 maybe?

You can just use the non-maven package of the exam from the download page
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

There's definitely some problem with Examinator on Maven prior to 2.0.9 so make sure you are at least up to that version.
[WWW]
joachimm

journeyman

Joined: 02/02/2009 11:40:31
Messages: 35
Offline

tgautier wrote:
There's definitely some problem with Examinator on Maven prior to 2.0.9 so make sure you are at least up to that version. 


Turns out my local maven repo had some file permission issues that maven 2.0.9 was not complaining loud enough about. mvn 3.0 let me know about it so I cleared out my org/terracotta repo and it is building now.

FYI if Examinator really doesn't build < 2.0.9 there is a maven enforcer plugin that enforces maven and java versions for a build.

Thanks --Joachim
sammi101082

neo

Joined: 06/15/2009 08:21:17
Messages: 3
Offline

hhuynh wrote:
Then I'm not sure what I could help in that case.

Try it in another box? upgrade to latest maven-2.0.10 maybe?

You can just use the non-maven package of the exam from the download page 


Hi hhuynh,

cud u point me to the non-maven package of exam pls?

thanks,
Sam
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

Just go to our download page - there's a link everywhere on http://www.terracotta.org - and then scroll down to Examinator.
[WWW]
sammi101082

neo

Joined: 06/15/2009 08:21:17
Messages: 3
Offline

tgautier wrote:
Just go to our download page - there's a link everywhere on http://www.terracotta.org - and then scroll down to Examinator. 


Hi Taylor,

Thanks for your response. To get it right, I'm looking for the non-maven source package[if any]. Since I'm not to comfortable with Maven, I'm trying to write an independent ANT wrapper script for Examinator. This is easier since there are already ANT scripts written for the JARring part of it.

I do have the binaries for examinator and the maven package from SVN.

Regards,
Sam
tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

The link that says (Self Installing) is a pre-compiled binary package that does not require Maven.

Did you use that?
[WWW]
 
Forum Index -> Terracotta Platform Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7 © JForum Team