|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759473 is a reply to message #1759451] |
Wed, 12 April 2017 05:11 |
|
Hi there,
I did try the same. But I didn't manage to import the projects correctly I guess, since the structure in my Package Explorer view doesn't not look like, if these projects are registered as Java/Maven/Scout projects:
First I tried to import it with:
Then it says, that there are no projects found.
In my next try it did this:
There I chose the root directory "ScoutBoot-Tasks" and imported everything, which then led me to my project layout above.
Furthermore I always get the error message
Project build error: Non-resolvable parent POM for org.eclipse.scout.boot.tasks:tasks:0.1.0-SNAPSHOT: Could not find artifact org.eclipse.scout.boot:scout-boot:pom:7.0.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM
What did I do wrong?
Thanks,
Peter
-
Attachment: scout01.png
(Size: 153.28KB, Downloaded 637 times) -
Attachment: scout02.png
(Size: 38.00KB, Downloaded 596 times) -
Attachment: scout03.png
(Size: 37.12KB, Downloaded 624 times)
|
|
|
|
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760224 is a reply to message #1760207] |
Mon, 24 April 2017 18:28 |
|
Hi.
Ok. Now it works. Now I have got a lot of questions )
They will come later when I understand, whats going on in my workspace... Or perhaps I don't understand it...
But there is one question though: Will there be something like a new Scout/Boot Project Wizard with the final Oxygen release, which helps setting up such a project?
Thx
Peter
|
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760735 is a reply to message #1760604] |
Tue, 02 May 2017 13:18 |
|
Hi,
Jeremie Bresson wrote on Fri, 28 April 2017 18:55
I like the idea. I hope it can be added to the backlog.
I like the idea very much too...
Creating business applications would be so simple and sophisticated then... Using Scout for the frontend gives a powerful, neat, flexible and responsive UI and on the backend you can use SpringBoot to concentrate on just the business logic without producing too much boilerplate code.
That sounds like a dream to me.
Peter
[Updated on: Tue, 02 May 2017 13:19] Report message to a moderator
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1764117 is a reply to message #1760735] |
Thu, 25 May 2017 07:26 |
|
Hi there,
I just try to follow the instruactions on https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot to generate a Scout-Spring Boot Project:
mvn archetype:generate \
-DarchetypeGroupId=org.eclipse.scout.boot \
-DarchetypeArtifactId=scout-boot-archetype-minimal \
-DarchetypeVersion=7.0.0-SNAPSHOT \
-DgroupId=scout.boot.example \
-DartifactId=minimal
But it always stops with this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.eclipse.scout.boot:scout-boot-archetype-minimal:7.0.0-SNAPSHOT) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.eclipse.scout.boot:scout-boot-archetype-minimal:7.0.0-SNAPSHOT)
Does anyone have an idea how to circumvent this problem?
Thanks,
Peter
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1764118 is a reply to message #1764117] |
Thu, 25 May 2017 07:27 |
|
Hi there,
I just try to follow the instructions on https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot to generate a Scout-Spring Boot Project:
mvn archetype:generate \
-DarchetypeGroupId=org.eclipse.scout.boot \
-DarchetypeArtifactId=scout-boot-archetype-minimal \
-DarchetypeVersion=7.0.0-SNAPSHOT \
-DgroupId=scout.boot.example \
-DartifactId=minimal
But it always stops with this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.eclipse.scout.boot:scout-boot-archetype-minimal:7.0.0-SNAPSHOT) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.eclipse.scout.boot:scout-boot-archetype-minimal:7.0.0-SNAPSHOT)
Does anyone have an idea how to circumvent this problem?
Thanks,
Peter
[Updated on: Thu, 25 May 2017 07:29] Report message to a moderator
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1764460 is a reply to message #1764118] |
Tue, 30 May 2017 07:51 |
Jeremie Bresson Messages: 1252 Registered: October 2011 |
Senior Member |
|
|
My guess is, that you do not have any maven repository (local or remote) that contains the requested artifact "org.eclipse.scout.boot:scout-boot-archetype-minimal:7.0.0-SNAPSHOT".
You can:
* Build this artifact locally (version 7.0.0-SNAPSHOT)
* Use the version "7.0.0.alpha1" that I have built last month and that is published on this maven repository:
https://dl.bintray.com/jmini/democamp-2017/
See below how to do it.
---
How-To: Use the "scout-boot-archetype-minimal" Archetype from a remote repository.
In your work folder (C:/tmp/work) in my case, create a settings file (C:/tmp/work/my-settings.xml):
<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">
<profiles>
<profile>
<id>achetype-profile</id>
<repositories>
<repository>
<id>archetype</id>
<url>https://dl.bintray.com/jmini/democamp-2017/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>achetype-profile</activeProfile>
</activeProfiles>
</settings>
Append "-s my-settings.xml" to the "mvn archetype:generate" command you have mentioned in your post. Something like:
mvn archetype:generate -s my-settings.xml -DarchetypeGroupId=org.eclipse.scout.boot -DarchetypeArtifactId=scout-boot-archetype-minimal -DarchetypeVersion=7.0.0.alpha1 -DgroupId=scout.boot.example -DartifactId=minimal
---
Later this week: I will try to push a new version of the archetype using the latest 7.0.x version published on maven central.
On the long term, we need to automate the build and the publish process.
[Updated on: Tue, 30 May 2017 08:14] Report message to a moderator
|
|
|
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1764796 is a reply to message #1764460] |
Fri, 02 June 2017 09:56 |
|
Hi Jeremie,
thanks for your efforts. With your help I was able to generate the project. After importing it into Eclipse I had the same problem, since it didn't find the artifact in the maven repo.
So I'll wait for
Jeremie Bresson wrote on Tue, 30 May 2017 07:51
Later this week: I will try to push a new version of the archetype using the latest 7.0.x version published on maven central.
On the long term, we need to automate the build and the publish process.
:)
Thanks a lot though
Peter
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.28444 seconds