Page 1 of 1

Maven Eclipse SDK Install Fails

Posted: Sun Jan 15, 2017 3:58 pm
by jlpoole
I'm following the instructions at https://www.oxygenxml.com/oxygen_sdk_ma ... figuration.
I'm using:
Eclipse IDE for Java Developers

Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600
I was unsuccessful in configuring the Maven plugin to work within my employer's firewall (using Eclipse "Mars"); I was able to download other Maven items so some part of Eclipse was able to negotiate my employer's firewall. I am now trying from home where I do not have a proxy server. I was able to successfully add the archetype following Step 4:
In the new Add Archetype dialog box, fill the data from the Startup Project Archetype Details. Leave the Repository URL field empty. Press OK to close the dialog box.
When I try to create a new project based on the archetype I get the error messages below. Here are the steps I go through:
Image

Image

Image

Then I click "Finish" and receive this error message:

Image

more fully detailed with:
Image

The install of Eclipse Neon is a new fresh install which I created for assessing the Oxygen framework. There was not .m2/settings.xml file, so I found a generic one and added it. Here's my settings.xml:

Code: Select all

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
I do have "Suspend all validations" checked.

What am I missing?

Re: Maven Eclipse SDK Install Fails

Posted: Mon Jan 16, 2017 5:50 pm
by alex_jitianu
Hello,

I think our SDK instruction page has some incomplete content.
In the new Add Archetype dialog box, fill the data from the Startup Project Archetype Details. Leave the Repository URL field empty. Press OK to close the dialog box.
Do not "Leave the Repository URL field empty" but instead, set it to: http://oxygenxml.com/maven/

Please let me know if it solved the issue. I will work on updating the page.

Best regards,
Alex

Re: Maven Eclipse SDK Install Fails

Posted: Mon Jan 16, 2017 6:33 pm
by jlpoole
Hi Alex,
I think the repository URL was automatically inserted for me, so I left it as is.

Here's a screenshot showing the value automatically inserted:
Image

Also, just for the record, the text of the error message is:
Could not resolve archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:18.1.0.1 from any of the configured repositories.
Could not resolve artifact com.oxygenxml.samples:oxygen-sdk-samples-archetype:pom:18.1.0.1
Missing com.oxygenxml.samples:oxygen-sdk-samples-archetype:pom:18.1.0.1

Re: Maven Eclipse SDK Install Fails

Posted: Tue Jan 17, 2017 12:53 pm
by alex_jitianu
Hi,

I'm not sure how it managed to automatically detect the URL, but if it's there...
What if you try to create the project from the command line? Does it succeed in connection to the Maven repository.

Code: Select all

mvn archetype:generate -DarchetypeGroupId=com.oxygenxml.samples -DarchetypeArtifactId=oxygen-sdk-samples-archetype -DarchetypeVersion=18.1.0.1 -DgroupId=myGroup -DartifactId=mySample  -Dversion=1.0-SNAPSHOT -DarchetypeRepository=http://oxygenxml.com/maven/
You might want to install the latest Maven version. You could also configure Eclipse (inside its Preferences, page maven/Installations) to use this external installation.

Best regards,
Alex

Re: Maven Eclipse SDK Install Fails

Posted: Tue Jan 17, 2017 6:04 pm
by jlpoole
I do not know how to launch a console from within Eclipse that will inherit the Maven settings. So here's what I did. In my fresh Eclipse Neon session, I created a console with:

Run->External Tools->New Configuration. I then drilled down to C:\System32\cmd.exe. That gave me this:
C:\Temp>mvn
mvn
'mvn' is not recognized as an internal or external command,
operable program or batch file.

C:\Temp>
Likewise, if I launch a new DOS console from within Windows (7 Professional), mvn is not recognized. Alex had suggested that I install Maven, so it looks like I will have to do so and try running the Maven command from a Maven-based console.

Has anyone else been able to install the Java Development (that includes Maven) high watermark of Eclipse, e.g. Neon as of 1/17/2017, and successfully created a project based on Oxygen?

Re: Maven Eclipse SDK Install Fails

Posted: Tue Jan 17, 2017 6:19 pm
by jlpoole
Here's what I had to do:

Downloaded apache-maven-3.3.9-bin.zip from: http://maven.apache.org/download.cgi?Pr ... osl.org%2F

In a DOS console:

Code: Select all

set PATH=%PATH%;F:\Downloads\Apache\Maven\apache-maven-3.3.9\bin
set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_111
Test Maven:

Code: Select all

C:\Users\jlpoole>mvn
Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.072 s
[INFO] Finished at: 2017-01-17T07:10:06-08:00
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>
]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-
sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, ins
tall, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/NoGoalSpecifiedException

C:\Users\jlpoole>
Use command suggested by Alex in a prior comment within this thread. Clicked "return" when prompted once below to accept the default setting. The following resulted in a successful BUILD.

Code: Select all

C:\Users\jlpoole>mvn archetype:generate -DarchetypeGroupId=com.oxygenxml.samples -DarchetypeArtifactId=oxygen-sdk-samples-archetype -DarchetypeVersion=18.1.0.1 -DgroupId=myGroup -DartifactId=mySample
-Dversion=1.0-SNAPSHOT -DarchetypeRepository=http://oxygenxml.com/maven/
Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (4 KB at 4.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom (13 KB at 153.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom (7 KB at 141.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom (6 KB at 133.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom (21 KB at 376.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom (5 KB at 132.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom (12 KB at 301.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/9/maven-parent-9.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/9/maven-parent-9.pom (33 KB at 593.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar (24 KB at 500.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom (15 KB at 370.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom (13 KB at 332.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar (204 KB at 1192.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom (12 KB at 279.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar (150 KB at 1076.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-release-plugin-2.3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-release-plugin-2.3.2.pom (10 KB at 245.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.3.2/maven-release-2.3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.3.2/maven-release-2.3.2.pom (9 KB at 233.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-release-plugin-2.3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-release-plugin-2.3.2.jar (44 KB at 656.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 377.2 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 191.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml (759 B at 23.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.4/maven-archetype-plugin-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.4/maven-archetype-plugin-2.4.pom (9 KB at 242.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/maven-archetype/2.4/maven-archetype-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/maven-archetype/2.4/maven-archetype-2.4.pom (13 KB at 330.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.4/maven-archetype-plugin-2.4.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.4/maven-archetype-plugin-2.4.jar (92 KB at 970.8 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom ---
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/2.4/archetype-catalog-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/2.4/archetype-catalog-2.4.pom (2 KB at 53.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/2.4/archetype-models-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/2.4/archetype-models-2.4.pom (3 KB at 77.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/2.4/archetype-descriptor-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/2.4/archetype-descriptor-2.4.pom (2 KB at 58.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-registry/2.4/archetype-registry-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-registry/2.4/archetype-registry-2.4.pom (2 KB at 56.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/2.4/archetype-common-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/2.4/archetype-common-2.4.pom (16 KB at 376.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.pom (2 KB at 40.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
Downloaded: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom (7 KB at 200.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
Downloaded: https://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom (3 KB at 68.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.pom (2 KB at 38.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.1.1/maven-invoker-2.1.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.1.1/maven-invoker-2.1.1.pom (6 KB at 155.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.pom (2 KB at 52.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.pom (8 KB at 194.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom
Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom (10 KB at 269.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.pom (726 B at 19.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity/1.0-alpha-6/plexus-interactivity-1.0-alpha-6.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity/1.0-alpha-6/plexus-interactivity-1.0-alpha-6.pom (2 KB at 31.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom (3 KB at 69.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom (3 KB at 55.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom (2 KB at 54.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom (8 KB at 214.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom (3 KB at 72.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.pom (32 KB at 597.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom
Downloaded: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom (632 B at 20.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom (264 B at 9.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom (5 KB at 132.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.pom (415 B at 13.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom (404 B at 14.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.pom (409 B at 13.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom (417 B at 13.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.pom (4 KB at 113.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom (9 KB at 238.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom (5 KB at 130.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/2.4/archetype-catalog-2.4.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/2.4/archetype-descriptor-2.4.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/2.4/archetype-common-2.4.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-registry/2.4/archetype-registry-2.4.jar
Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/2.4/archetype-catalog-2.4.jar (19 KB at 403.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/2.4/archetype-descriptor-2.4.jar (23 KB at 282.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-registry/2.4/archetype-registry-2.4.jar (17 KB at 57.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar (107 KB at 277.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar (26 KB at 43.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/2.4/archetype-common-2.4.jar (170 KB at 282.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar (307 KB at 506.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar (86 KB at 134.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar (8 KB at 11.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar (30 KB at 33.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar (150 KB at 168.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar (153 KB at 153.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.jar (13 KB at 11.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar (48 KB at 40.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar (203 KB at 161.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar (22 KB at 17.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.2.1/maven-repository-metadata-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar (35 KB at 25.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar (13 KB at 8.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar (174 KB at 117.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.2.1/maven-repository-metadata-2.2.1.jar (26 KB at 16.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.jar (383 KB at 256.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar (79 KB at 52.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar (12 KB at 7.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar (39 KB at 23.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.1.1/maven-invoker-2.1.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar (42 KB at 25.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar (66 KB at 39.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar (11 KB at 6.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar (33 KB at 19.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.1.1/maven-invoker-2.1.1.jar (30 KB at 16.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar (43 KB at 23.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.jar (33 KB at 17.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar (18 KB at 9.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.jar (36 KB at 18.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar (22 KB at 10.5 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.jar (21 KB at 9.9 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar (435 KB at 176.6 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar (1479 KB at 349.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar (5394 KB at 791.2 KB/sec)
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
[INFO] Using property: groupId = myGroup
[INFO] Using property: artifactId = mySample
[INFO] Using property: version = 1.0-SNAPSHOT
[INFO] Using property: package = myGroup
Confirm properties configuration:
groupId: myGroup
artifactId: mySample
version: 1.0-SNAPSHOT
package: myGroup
Y: :
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: oxygen-sdk-samples-archetype:18.1.0.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: myGroup
[INFO] Parameter: artifactId, Value: mySample
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: myGroup
[INFO] Parameter: packageInPathFormat, Value: myGroup
[INFO] Parameter: package, Value: myGroup
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: myGroup
[INFO] Parameter: artifactId, Value: mySample
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\bundle-frameworks\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\bundle-options\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\bundle-samplefiles\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\bundle-plugins\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-eclipse-plugin\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-framework\pom.xml
[WARNING] Don't override file C:\Users\jlpoole\mySample\oxygen-sample-framework\frameworkFiles\templates\article.xml
[WARNING] Don't override file C:\Users\jlpoole\mySample\oxygen-sample-framework\frameworkFiles\templates\book.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-capitalize-lines\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-conversion\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-custom-open-redirect\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-custom-protocol\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-format-preserve-text\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-formsentences\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-formwords\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-impose-options\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-lowercase\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-uppercase\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-workspace-access\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-zeroindent\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-addons-packager\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-duplicate-lines\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-mathml\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-svg\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-7\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-webapp\pom.xml
[INFO] Parent element not overwritten in C:\Users\jlpoole\mySample\oxygen-sample-applet\pom.xml
[INFO] project created from Archetype in dir: C:\Users\jlpoole\mySample
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.350 s
[INFO] Finished at: 2017-01-17T07:11:05-08:00
[INFO] Final Memory: 12M/28M
[INFO] ------------------------------------------------------------------------

C:\Users\jlpoole>
Next step: try to import this project into Eclipse using my externally installed Maven.

Re: Maven Eclipse SDK Install Fails

Posted: Wed Jan 18, 2017 10:07 am
by alex_jitianu
Hi,

I'm glad to hear it worked!
Next step: try to import this project into Eclipse using my externally installed Maven.
It shouldn't pose any difficulties. If you just create a new Java project (File->New) and you specify the path of the already created project, Eclipse will automatically detect its Maven nature too.

Best regards,
Alex

Re: Maven Eclipse SDK Install Fails

Posted: Wed Jan 18, 2017 9:20 pm
by jlpoole
I ended up having to use "File->Import".

Re: Maven Eclipse SDK Install Fails

Posted: Thu Mar 08, 2018 1:38 pm
by harris914
I installed fresh Eclipse Oxygen, followed the steps at
https://www.oxygenxml.com/eclipse_insta ... v13_2.html
to install Oxygen XML plugin, but i got the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: oXygen XML Editor and XSLT Debugger 12.1.0.v2011031114 (com.oxygenxml.editor.feature.group 12.1.0.v2011031114)
Missing requirement: oXygen XML Editor and XSLT Debugger 12.1.0.v2011031114 (com.oxygenxml.editor.feature.group 12.1.0.v2011031114) requires 'org.eclipse.core.runtime.compatibility 0.0.0' but it could not be found
Please help me out of it. Thanks

Re: Maven Eclipse SDK Install Fails

Posted: Thu Mar 08, 2018 4:44 pm
by adrian
Hi,

What version of Oxygen do you want (or have a license) to install?
I installed fresh Eclipse Oxygen
Please note that only v19.1 (and later) of Oxygen support Eclipse 4.7 (Eclipse Oxygen). Older versions may not work at all. Go to the current Eclipse update site to install the latest version.
You're looking in the Oxygen archive for v13.2, but you seem to be trying to install v12.1. Only v13.2 is available there. Note that v13.2 is not supported and will not work properly on Eclipse Oxygen (4.7).

Regards,
Adrian

Re: Maven Eclipse SDK Install Fails

Posted: Fri Mar 09, 2018 1:41 pm
by harris914
I tried to install Oxygen XML plugin using this tutorial:
https://examples.javacodegeeks.com/core ... -tutorial/
I also tried to install it before following some other tutorial:
https://www.oxygenxml.com/eclipse_insta ... v13_2.html

But it shows me an error:
Cannot complete the install because one or more required items could not be found.
Software being installed: oXygen XML Editor and XSLT Debugger 10.3.0 (com.oxygenxml.editor.feature.group 10.3.0)
Missing requirement: oXygen XML Editor and XSLT Debugger 10.3.0 (com.oxygenxml.editor.feature.group 10.3.0) requires 'org.eclipse.core.runtime.compatibility 0.0.0' but it could not be found
Eclipse version : 4.7

Any idea what is this error?

Re: Maven Eclipse SDK Install Fails

Posted: Fri Mar 09, 2018 1:51 pm
by adrian
Hi,

Tutorial seems to be for a very old version of Oxygen, 10.3. That doesn't work at all on Eclipse 4.x.
Like I said in my previous message, "only v19.1 (and later) of Oxygen support Eclipse 4.7 (Eclipse Oxygen). Older versions may not work at all." You are trying to install versions of Oxygen that are too old to work on the latest version of Eclipse, 4.7.

Please use this update site, to install v19.1 which is supported on Eclipse 4.7:
http://www.oxygenxml.com/InstData/Edito ... e/site.xml

Regards,
Adrian