Setting up Eclipse with Maven for Oxygen SDK
Posted: Fri Nov 21, 2014 9:58 pm
Hello All,
I am new to using eclipse with Maven and I am trying to setup an environment to program plugins for the standalone Oxygen Author 16.1. I have followed the instructions found here: http://www.oxygenxml.com/oxygen_sdk_maven.html but can't seem to add the archtype when I am creating a new Maven project. I have added my proxy to the settings file and I am connected to the internet as I can get packages from other sources.
When I fill out the "Add Archetype" form and press add I get the following error:
Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:16.1.0
org.eclipse.core.runtime.CoreException: Could not resolve artifact com.oxygenxml.samples:oxygen-sdk-samples-archetype:pom:16.1.0
Similarly, when I try to call Maven from command line with the specified arguments found in the guide I get the following error:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.070s
[INFO] Finished at: Fri Nov 21 13:50:15 EST 2014
[INFO] Final Memory: 4M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\apache-maven-3.1.
1\bin). Please verify you invoked Maven from the correct directory. -> [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/disp ... tException
It is worth mentioning that I am developing on a windows 7 machine. Any help would be greatly appreciated.
Thanks,
Dirk
I am new to using eclipse with Maven and I am trying to setup an environment to program plugins for the standalone Oxygen Author 16.1. I have followed the instructions found here: http://www.oxygenxml.com/oxygen_sdk_maven.html but can't seem to add the archtype when I am creating a new Maven project. I have added my proxy to the settings file and I am connected to the internet as I can get packages from other sources.
When I fill out the "Add Archetype" form and press add I get the following error:
Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:16.1.0
org.eclipse.core.runtime.CoreException: Could not resolve artifact com.oxygenxml.samples:oxygen-sdk-samples-archetype:pom:16.1.0
Similarly, when I try to call Maven from command line with the specified arguments found in the guide I get the following error:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.070s
[INFO] Finished at: Fri Nov 21 13:50:15 EST 2014
[INFO] Final Memory: 4M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\apache-maven-3.1.
1\bin). Please verify you invoked Maven from the correct directory. -> [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/disp ... tException
It is worth mentioning that I am developing on a windows 7 machine. Any help would be greatly appreciated.
Thanks,
Dirk