[
https://issues.apache.org/jira/browse/OODT-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045025#comment-14045025
]
Cameron Goodale commented on OODT-718:
--------------------------------------
Tyler,
I ran the same commands and the issue is that you cannot run RADiX against the
trunk, it has to be run against a tagged release.
To solve the issue do the following:
{code}
svn export
http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/resources/bin
vi bin/radix
# Change the 0.7-SNAPSHOT values into 0.6, and even feel free to change the
GroudID and ArtifactID to something you like.
# Save the changes then run the radix script
cd bin
./radix
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
>>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
<<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
---
[INFO] Generating project in Interactive mode
...
...
[INFO] project created from Archetype in dir: /Users/cgoodale/bin/dms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.832s
[INFO] Finished at: Thu Jun 26 12:02:55 PDT 2014
[INFO] Final Memory: 9M/81M
[INFO] ------------------------------------------------------------------------
{code}
If that all works out for you, then I think we can just update the truck
version of the radix shell script, then the wiki documentation would work.
> RADiX Build Failure
> -------------------
>
> Key: OODT-718
> URL: https://issues.apache.org/jira/browse/OODT-718
> Project: OODT
> Issue Type: Bug
> Components: radix
> Environment: java version "1.6.0_65"
> Reporter: Tyler Palsulich
> Priority: Critical
>
> After clearing my m2 cache and running {{curl -s
> http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/resources/bin/radix
> | bash}}, as described
> [here|https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT],
> I get the following build failure. The main issue seems to be {{Archetype
> repository missing. Using the one from [org.apache.oodt:radix-archetype:0.6]
> found in catalog remote}}. Thank you for any help!
> {code}
> [INFO] Scanning for projects...
> {a bunch of maven downloads}
> [INFO]
> [INFO] Using the builder
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
> with a thread count of 1
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
> >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
> <<<
> [INFO]
> [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
> ---
> {many more Maven downloads}
> [INFO] Generating project in Interactive mode
> [INFO] Archetype repository missing. Using the one from
> [org.apache.oodt:radix-archetype:0.6] found in catalog remote
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 39.389 s
> [INFO] Finished at: 2014-06-24T09:44:16-08:00
> [INFO] Final Memory: 10M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on
> project standalone-pom: The desired archetype does not exist
> (org.apache.oodt:radix-archetype:0.7-SNAPSHOT) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)