Maven Archeype is Empty

531 views
Skip to first unread message

Tai Hu

unread,
Aug 3, 2015, 5:02:05 PM8/3/15
to JRebirth Users
Hi, I am new to JRebirth framework and just watched your 3 minutes tutorial. However, when I tried to set up my Eclipse to download JRebirth archetype, Eclipse complaints that http://www.jrebirth.org/archetype/jrebirth-catalog.xml is empty. Do you still have this archetype available? Or it is moved into a different remote location?

Thanks,

Tai

Sebastien Bordes

unread,
Aug 3, 2015, 6:31:21 PM8/3/15
to jrebirth-users
The right url is http://jrebirth.org/archetype/jrebirth-catalog.xml and can be opened with any web browser.

So perhaps you have got trouble with your network configuration (proxy...)

Seb

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "JRebirth Users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-user...@googlegroups.com.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.



--

Sebastien Bordes

unread,
Aug 7, 2015, 11:17:47 AM8/7/15
to jrebirth-users
I've just test the feature into eclipse and I also had the following warning "Catalog is empty".

So the remote catalog seems to be broken within Eclipse but it work with Maven only.

So you can run this command with CLI (you oly need Maven into your path) :

>mvn archetype:generate -DarchetypeCatalog=http://www.jrebirth.org/archetype/jrebirth-catalog.xml
[INFO] Scanning for projects...
[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.3:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://www.jrebirth.org/archetype/jrebirth-catalog.xml -> org.jrebirth.af:archetype (JRebirth archetype for creating a new JavaFX application using JRebirth Fra
2: http://www.jrebirth.org/archetype/jrebirth-catalog.xml -> org.jrebirth:archetype (JRebirth archetype for creating a new JavaFX 2 application using JRebirth Fram
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose org.jrebirth.af:archetype version:
1: 7.7.0
2: 7.7.1
3: 7.7.2
4: 7.7.3
5: 7.7.5
6: 8.0.0
7: 8.0.1
8: 8.0.2-SNAPSHOT
9: 8.0.2
Choose a number: 9: 9
Downloading: http://oss.jfrog.org/simple/oss-release-local/org/jrebirth/af/archetype/8.0.2/archetype-8.0.2.jar
Downloaded: http://oss.jfrog.org/simple/oss-release-local/org/jrebirth/af/archetype/8.0.2/archetype-8.0.2.jar (15 KB at 20.2 KB/sec)
Downloading: http://oss.jfrog.org/simple/oss-release-local/org/jrebirth/af/archetype/8.0.2/archetype-8.0.2.pom
Downloaded: http://oss.jfrog.org/simple/oss-release-local/org/jrebirth/af/archetype/8.0.2/archetype-8.0.2.pom (2 KB at 2.7 KB/sec)
Define value for property 'groupId': : my.package
Define value for property 'artifactId': : test
Define value for property 'version':  1.0-SNAPSHOT: :
Define value for property 'package':  my.package: : my.package.test
Confirm properties configuration:
groupId: my.package
artifactId: test
version: 1.0-SNAPSHOT
package: my.package.test
 Y: : y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: archetype:8.0.2
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: my.package
[INFO] Parameter: artifactId, Value: test
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: my.package.test
[INFO] Parameter: packageInPathFormat, Value: my/package/test
[INFO] Parameter: package, Value: my.package.test
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: my.package
[INFO] Parameter: artifactId, Value: test
[INFO] project created from Archetype in dir: C:\test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2015-08-07T17:07:33+01:00
[INFO] Final Memory: 10M/24M
[INFO] ------------------------------------------------------------------------

I will investigate about Eclipse failure....

Sebastien Bordes

unread,
Aug 7, 2015, 11:21:21 AM8/7/15
to jrebirth-users
Its perhaps related to this reopened bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=355774

Did you use a proxy into Eclipse ?

Sebastien Bordes

unread,
Aug 7, 2015, 3:58:39 PM8/7/15
to JRebirth Users
It works well with Eclipse Luna + m2e 1.5.0 without proxy

But it's broken with Eclipse Mars + m2e 1.6.1 with proxy.


Let us know your config so tht we can help you, in any case CLI will always work !

Seb
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-users+unsubscribe@googlegroups.com.

Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.

Tai Hu

unread,
Aug 7, 2015, 5:11:04 PM8/7/15
to JRebirth Users
Seb,
     Thanks so much for your help. I successfully did it with CLI. For my Eclipse configuration, I have Eclipse Mars + m2e 1.6.1 without proxy.

Tai
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-user...@googlegroups.com.

Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages