You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2014/11/14 16:34:01 UTC

Archetypes for 1.8.0-SNAPSHOT

Hi folks,

One thing we've been meaning to do for a while is to make our Maven
archetypes available against SNAPSHOT, so y'all can try out latest versions
without needing to build Isis yourself.

Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be
a good time to put this in place.

So, I'd be grateful for anyone to try this and let us know if it works for
you.

The instructions are on the archetype pages on our website, for either the
simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
section "Generating the App (snapshot release)" and continue from there.

Any feedback, good or bad, most welcome.

Thx
Dan

[1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
[2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Mike Burton <mb...@myco.ws>.
I fixed the simpleapp-archetype integration test which was giving error: Could not find artifact org.slf4j:slf4j-log4j12:jar:1.7.7

I just re-ran mvn install, which ran without errors. Earlier when I got the problem, I was running 2 builds concurrently, one for simpleapp and one for todo, maybe this caused a conflict with updating my .m2/...  ??

Mike Burton
mikeb@mycosystems.co.uk

On 15 Nov 2014, at 13:34, Mike Burton <mb...@myco.ws> wrote:

> Hi Dan,
> 
> Todo app built with no problems, and I deployed it to inline demo.
> 
> simpleapp-archetype integration test gave error:
> Could not resolve dependencies for project com.mycompany:myapp-integtests:jar:1.0-SNAPSHOT: Could not find artifact org.slf4j:slf4j-log4j12:jar:1.7.7
> I'm checking into this now...
> 
> Mike Burton
> mikeb@mycosystems.co.uk
> 
> On 14 Nov 2014, at 15:34, Dan Haywood <da...@haywood-associates.co.uk> wrote:
> 
>> Hi folks,
>> 
>> One thing we've been meaning to do for a while is to make our Maven
>> archetypes available against SNAPSHOT, so y'all can try out latest versions
>> without needing to build Isis yourself.
>> 
>> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be
>> a good time to put this in place.
>> 
>> So, I'd be grateful for anyone to try this and let us know if it works for
>> you.
>> 
>> The instructions are on the archetype pages on our website, for either the
>> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
>> section "Generating the App (snapshot release)" and continue from there.
>> 
>> Any feedback, good or bad, most welcome.
>> 
>> Thx
>> Dan
>> 
>> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
>> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
> 


Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Mike Burton <mb...@myco.ws>.
Hi Dan,

Todo app built with no problems, and I deployed it to inline demo.

simpleapp-archetype integration test gave error:
Could not resolve dependencies for project com.mycompany:myapp-integtests:jar:1.0-SNAPSHOT: Could not find artifact org.slf4j:slf4j-log4j12:jar:1.7.7
I'm checking into this now...

Mike Burton
mikeb@mycosystems.co.uk

On 14 Nov 2014, at 15:34, Dan Haywood <da...@haywood-associates.co.uk> wrote:

> Hi folks,
> 
> One thing we've been meaning to do for a while is to make our Maven
> archetypes available against SNAPSHOT, so y'all can try out latest versions
> without needing to build Isis yourself.
> 
> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be
> a good time to put this in place.
> 
> So, I'd be grateful for anyone to try this and let us know if it works for
> you.
> 
> The instructions are on the archetype pages on our website, for either the
> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
> section "Generating the App (snapshot release)" and continue from there.
> 
> Any feedback, good or bad, most welcome.
> 
> Thx
> Dan
> 
> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html


Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

secondary menus are renderer at the right side, next to the user
information.


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

2014-12-12 16:55 GMT+02:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS <
Joerg.Rade@kuehne-nagel.com>:

> Hi Dan,
>
> I just gave [1] a try and I really love it!
>
> I had to change the annotation in SimpleObjectsFixturesService to read:
> @DomainServiceLayout(named = "Prototyping", menuBar = MenuBar.SECONDARY,
> menuOrder = "20")
>
> Can't see the Secondary menu yet, but it complies now.
>
> Thanks for your work!
> Jörg
> -----Ursprüngliche Nachricht-----
> Von: Dan Haywood [mailto:dan@haywood-associates.co.uk]
> Gesendet: Freitag, 14. November 2014 16:34
> An: users
> Betreff: Archetypes for 1.8.0-SNAPSHOT
>
> Hi folks,
>
> One thing we've been meaning to do for a while is to make our Maven
> archetypes available against SNAPSHOT, so y'all can try out latest versions
> without needing to build Isis yourself.
>
> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
> be a good time to put this in place.
>
> So, I'd be grateful for anyone to try this and let us know if it works for
> you.
>
> The instructions are on the archetype pages on our website, for either the
> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
> section "Generating the App (snapshot release)" and continue from there.
>
> Any feedback, good or bad, most welcome.
>
> Thx
> Dan
>
> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>
> Kühne + Nagel (AG & Co.) KG
> Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE
> 812773878.
> Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Reiner Heiken (Vors.), Dirk
> Blesius, Martin Brinkmann, Holger Ketz, Jan-Hendrik Köstergarten, Christian
> Marnetté, Christian Solf, Jens Wollesen.
> Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform:
> Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745,
> Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt.
> Geschäftsleitung Region Westeuropa: Yngve Ruud (Vors.), Hans-Georg
> Brinkmann (Stellv.), Richard Huhn, Björn Johansson, Bruno Mang, Stefan
> Paul, Tim Scharwath, Dominic Edmonds, Peder Winther.
>
> Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen
> Spediteursbedingungen (ADSp), jeweils neuester Fassung. Wir verweisen
> insbesondere auf die vom Gesetz abweichenden Haftungsbeschränkungen von
> Ziffer 23 und 24 ADSp. Den vollständigen Text der ADSp übersenden wir Ihnen
> gerne auf Anfrage und können Sie auch unter http://www.kuehne-nagel.com
> einsehen. Ergänzend wird vereinbart, dass (1) Ziffer 27 ADSp im Rahmen
> internationaler Übereinkommen weder unsere Haftung noch die Zurechnung des
> Verschuldens von Leuten und sonstigen Dritten zu Gunsten des Auftraggebers
> erweitert, und (2) wir in den im deutschen Seehandelsrecht aufgeführten
> Fällen des nautischen Verschuldens oder Feuer an Bord nur für eigenes
> Verschulden und (3) im Sinne der CMNI genannten Voraussetzungen nicht für
> nautisches Verschulden, Feuer an Bord oder Mängel des Schiffes haften.
>

AW: Archetypes for 1.8.0-SNAPSHOT

Posted by "Rade, Joerg / Kuehne + Nagel / Ham GI-PS" <Jo...@Kuehne-Nagel.com>.
Hi Dan,

I just gave [1] a try and I really love it!

I had to change the annotation in SimpleObjectsFixturesService to read:
@DomainServiceLayout(named = "Prototyping", menuBar = MenuBar.SECONDARY, menuOrder = "20")

Can't see the Secondary menu yet, but it complies now.

Thanks for your work!
Jörg
-----Ursprüngliche Nachricht-----
Von: Dan Haywood [mailto:dan@haywood-associates.co.uk]
Gesendet: Freitag, 14. November 2014 16:34
An: users
Betreff: Archetypes for 1.8.0-SNAPSHOT

Hi folks,

One thing we've been meaning to do for a while is to make our Maven archetypes available against SNAPSHOT, so y'all can try out latest versions without needing to build Isis yourself.

Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be a good time to put this in place.

So, I'd be grateful for anyone to try this and let us know if it works for you.

The instructions are on the archetype pages on our website, for either the simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the section "Generating the App (snapshot release)" and continue from there.

Any feedback, good or bad, most welcome.

Thx
Dan

[1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
[2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html

Kühne + Nagel (AG & Co.) KG
Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE 812773878.
Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Reiner Heiken (Vors.), Dirk Blesius, Martin Brinkmann, Holger Ketz, Jan-Hendrik Köstergarten, Christian Marnetté, Christian Solf, Jens Wollesen.
Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt.
Geschäftsleitung Region Westeuropa: Yngve Ruud (Vors.), Hans-Georg Brinkmann (Stellv.), Richard Huhn, Björn Johansson, Bruno Mang, Stefan Paul, Tim Scharwath, Dominic Edmonds, Peder Winther.

Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen Spediteursbedingungen (ADSp), jeweils neuester Fassung. Wir verweisen insbesondere auf die vom Gesetz abweichenden Haftungsbeschränkungen von Ziffer 23 und 24 ADSp. Den vollständigen Text der ADSp übersenden wir Ihnen gerne auf Anfrage und können Sie auch unter http://www.kuehne-nagel.com einsehen. Ergänzend wird vereinbart, dass (1) Ziffer 27 ADSp im Rahmen internationaler Übereinkommen weder unsere Haftung noch die Zurechnung des Verschuldens von Leuten und sonstigen Dritten zu Gunsten des Auftraggebers erweitert, und (2) wir in den im deutschen Seehandelsrecht aufgeführten Fällen des nautischen Verschuldens oder Feuer an Bord nur für eigenes Verschulden und (3) im Sinne der CMNI genannten Voraussetzungen nicht für nautisches Verschulden, Feuer an Bord oder Mängel des Schiffes haften.

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Mike Burton <mi...@mycosystems.co.uk>.
I think this relates to Java8, see https://www.symphonious.net/2014/03/21/javassist-java-8-invalid-constant-type-15/

I deployed on Centos6/ JDK7 without that problem. 

Best Regards

Mike Burton
(Sent from my iPhone)



> On 15 Nov 2014, at 16:15, Jeroen van der Wal <je...@stromboli.it> wrote:
> 
> Have built and ran the archetype on a pristine Mac (OSX 10.10) without any
> Issues.
> 
> The only downside are the 46000+ lines of reflection errors on startup [1].
> Is there something I can do to fix this?
> 
> Cheers,
> 
> Jeroen
> 
> [1] https://www.dropbox.com/s/gs4u62b97iwasmy/log.txt?dl=0
> 
> 
> 
> 
> On Sat, Nov 15, 2014 at 11:35 AM, Dan Haywood <da...@haywood-associates.co.uk>
> wrote:
> 
>> Thanks, Martin and Oscar.
>> 
>> Martin... your patch ended up with <repositories> element twice; not sure
>> if that was legal, anyway I combined them.
>> 
>> Oscar... I think your issue must be from using the Eclipse compiler with
>> Java 8, and it not correctly honouring the declared version of Java (7) in
>> our poms.  Nevertheless, have changed the archetypes to not use wildcards
>> (eg java.util.*) so this issue should hopefully go away.
>> 
>> ~~~
>> I've just pushed an updated archetype, so if you could give it another go,
>> I'd appreciate it.
>> 
>> And... anyone else, please also try this out.  Mike?  Kevin?  Jeroen?
>> 
>> Cheers
>> Dan
>> 
>> 
>> 
>> 
>> 
>> 
>> On 14 November 2014 23:52, GESCONSULTOR - Óscar Bou <
>> o.bou@gesconsultor.com> wrote:
>> 
>>> Nearly perfect in my case!
>>> 
>>> Only this error after running:
>>> 
>>> mvn clean install
>>> 
>>> After adding the "import org.apache.isis.applib.annotation.Optional" to
>>> ToDoItem it compiled successfully. Eclipse didn't signaled it.
>>> 
>>> 
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Build Order:
>>> [INFO]
>>> [INFO] ToDo App
>>> [INFO] ToDo App DOM
>>> [INFO] ToDo App Fixtures
>>> [INFO] ToDo App Integration Tests
>>> [INFO] ToDo App Webapp
>>> [INFO]
>>> [INFO] Using the builder
>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
>>> with a thread count of 1
>>> [INFO]
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building ToDo App 1.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp ---
>>> [INFO]
>>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ myapp
>>> ---
>>> [INFO] Installing /Users/oscarboubou/dev/isis/todoapp/myapp/pom.xml to
>>> /Users/oscarboubou/.m2/repository/com/mycompany/myapp/1.0-SNAPSHOT/myapp-1.0-SNAPSHOT.pom
>>> [INFO]
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building ToDo App DOM 1.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp-dom ---
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>>> myapp-dom ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 0 resource
>>> [INFO] Copying 9 resources
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>>> myapp-dom ---
>>> [INFO] Changes detected - recompiling the module!
>>> [INFO] Compiling 12 source files to
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/target/classes
>>> DataNucleus : JDO Query - dom.todo.ToDoItem -> dom.todo.QToDoItem
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
>>> reference to Optional is ambiguous
>>>  both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
>>> reference to Optional is ambiguous
>>>  both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
>>> reference to Optional is ambiguous
>>>  both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
>>> reference to Optional is ambiguous
>>>  both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
>>> reference to Optional is ambiguous
>>>  both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [INFO] 5 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] ToDo App .......................................... SUCCESS [
>>> 0.287 s]
>>> [INFO] ToDo App DOM ...................................... FAILURE [
>>> 1.658 s]
>>> [INFO] ToDo App Fixtures ................................. SKIPPED
>>> [INFO] ToDo App Integration Tests ........................ SKIPPED
>>> [INFO] ToDo App Webapp ................................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2.252 s
>>> [INFO] Finished at: 2014-11-15T00:44:22+01:00
>>> [INFO] Final Memory: 17M/206M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
>>> (default-compile) on project myapp-dom: Compilation failure: Compilation
>>> failure:
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
>>> reference to Optional is ambiguous
>>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
>>> reference to Optional is ambiguous
>>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
>>> reference to Optional is ambiguous
>>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
>>> reference to Optional is ambiguous
>>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR]
>>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
>>> reference to Optional is ambiguous
>>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>>> match
>>> [ERROR] -> [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
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :myapp-dom
>>> 
>>> 
>>> 
>>> Regards,
>>> 
>>> Oscar
>>> 
>>> 
>>> 
>>> 
>>> El 14/11/2014, a las 21:26, Martin Grigorov <mg...@apache.org>
>>> escribió:
>>> 
>>> 
>>> Hi,
>>> 
>>> The archetype snippet at http://isis.apache.org/intro/getting-started/
>>> *todoapp*-archetype.html for 1.8.0-SNAPSHOT uses simple app:
>>> -D archetypeArtifactId=*simpleapp*-archetype \
>>> 
>>> The next problem is that if I "rm -rf ~/.m2/repository/or/apache/isis"
>>> then
>>> 'mvn clean install" doesn't work.
>>> We have to add <repositories><repository> for snapshots pointing at
>>> http://repository-estatio.forge.cloudbees.com/snapshot/
>>> 
>>> https://github.com/apache/isis/pull/7 + recreating the archetypes should
>>> fix it.
>>> 
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>> 
>>> On Fri, Nov 14, 2014 at 8:32 PM, Dan Haywood <
>>> dan@haywood-associates.co.uk>
>>> wrote:
>>> 
>>> Hi Oscar,
>>> 
>>> thanks for trying this out.  I've changed things around (and simplified)
>>> ... could you try again and let me know?
>>> 
>>> Cheers
>>> Dan
>>> 
>>> 
>>> 
>>> 2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <
>>> o.bou@gesconsultor.com>:
>>> 
>>> Hi, Dan.
>>> 
>>> I got this:
>>> 
>>> [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.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 Batch mode
>>> [INFO] Archetype repository missing. Using the one from
>>> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog
>>> remote
>>> [INFO] Downloading:
>>> 
>>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
>>> [INFO] Downloading:
>>> 
>>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 12.035 s
>>> [INFO] Finished at: 2014-11-14T16:50:11+01:00
>>> [INFO] Final Memory: 11M/183M
>>> [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.isis.archetype:todoapp-archetype:1.8.0-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
>>> 
>>> 
>>> 
>>> HTH,
>>> 
>>> Oscar
>>> 
>>> 
>>> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
>>> escribió:
>>> 
>>> 
>>> Hi folks,
>>> 
>>> One thing we've been meaning to do for a while is to make our Maven
>>> archetypes available against SNAPSHOT, so y'all can try out latest
>>> versions
>>> without needing to build Isis yourself.
>>> 
>>> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
>>> be
>>> a good time to put this in place.
>>> 
>>> So, I'd be grateful for anyone to try this and let us know if it works for
>>> you.
>>> 
>>> The instructions are on the archetype pages on our website, for either the
>>> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
>>> section "Generating the App (snapshot release)" and continue from there.
>>> 
>>> Any feedback, good or bad, most welcome.
>>> 
>>> Thx
>>> Dan
>>> 
>>> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
>>> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>>> 
>>> 
>>> 
>>> Óscar Bou Bou
>>> Responsable de Producto
>>> Auditor Jefe de Certificación ISO 27001 en BSI
>>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>> 
>>>  902 900 231 / 620 267 520
>>>  http://www.twitter.com/oscarbou
>>> 
>>>  http://es.linkedin.com/in/oscarbou
>>> 
>>>  http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>> 
>>> 
>>> 
>>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>>> contienen información reservada que no puede ser difundida. Si usted ha
>>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>>> Su dirección de correo electrónico junto a sus datos personales constan
>>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>>> de mantener el contacto con Ud. Si quiere saber de qué información
>>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>>> tuvieran eliminarlos.
>>> 
>>> 
>>> 
>>> Óscar Bou Bou
>>> Responsable de Producto
>>> Auditor Jefe de Certificación ISO 27001 en BSI
>>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>> 
>>>   902 900 231 / 620 267 520
>>>   http://www.twitter.com/oscarbou
>>> 
>>>   http://es.linkedin.com/in/oscarbou
>>> 
>>>   http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>> 
>>> 
>>> 
>>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>>> contienen información reservada que no puede ser difundida. Si usted ha
>>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>>> Su dirección de correo electrónico junto a sus datos personales constan
>>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>>> de mantener el contacto con Ud. Si quiere saber de qué información
>>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>>> tuvieran eliminarlos.
>> 

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Jeroen van der Wal <je...@stromboli.it>.
Have built and ran the archetype on a pristine Mac (OSX 10.10) without any
Issues.

The only downside are the 46000+ lines of reflection errors on startup [1].
Is there something I can do to fix this?

Cheers,

Jeroen

[1] https://www.dropbox.com/s/gs4u62b97iwasmy/log.txt?dl=0




On Sat, Nov 15, 2014 at 11:35 AM, Dan Haywood <da...@haywood-associates.co.uk>
wrote:

> Thanks, Martin and Oscar.
>
> Martin... your patch ended up with <repositories> element twice; not sure
> if that was legal, anyway I combined them.
>
> Oscar... I think your issue must be from using the Eclipse compiler with
> Java 8, and it not correctly honouring the declared version of Java (7) in
> our poms.  Nevertheless, have changed the archetypes to not use wildcards
> (eg java.util.*) so this issue should hopefully go away.
>
> ~~~
> I've just pushed an updated archetype, so if you could give it another go,
> I'd appreciate it.
>
> And... anyone else, please also try this out.  Mike?  Kevin?  Jeroen?
>
> Cheers
> Dan
>
>
>
>
>
>
> On 14 November 2014 23:52, GESCONSULTOR - Óscar Bou <
> o.bou@gesconsultor.com> wrote:
>
>> Nearly perfect in my case!
>>
>> Only this error after running:
>>
>> mvn clean install
>>
>> After adding the "import org.apache.isis.applib.annotation.Optional" to
>> ToDoItem it compiled successfully. Eclipse didn't signaled it.
>>
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] ToDo App
>> [INFO] ToDo App DOM
>> [INFO] ToDo App Fixtures
>> [INFO] ToDo App Integration Tests
>> [INFO] ToDo App Webapp
>> [INFO]
>> [INFO] Using the builder
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
>> with a thread count of 1
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building ToDo App 1.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp ---
>> [INFO]
>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ myapp
>> ---
>> [INFO] Installing /Users/oscarboubou/dev/isis/todoapp/myapp/pom.xml to
>> /Users/oscarboubou/.m2/repository/com/mycompany/myapp/1.0-SNAPSHOT/myapp-1.0-SNAPSHOT.pom
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building ToDo App DOM 1.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp-dom ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> myapp-dom ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO] Copying 9 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> myapp-dom ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 12 source files to
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/target/classes
>> DataNucleus : JDO Query - dom.todo.ToDoItem -> dom.todo.QToDoItem
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
>> reference to Optional is ambiguous
>>   both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
>> reference to Optional is ambiguous
>>   both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
>> reference to Optional is ambiguous
>>   both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
>> reference to Optional is ambiguous
>>   both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
>> reference to Optional is ambiguous
>>   both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [INFO] 5 errors
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] ToDo App .......................................... SUCCESS [
>>  0.287 s]
>> [INFO] ToDo App DOM ...................................... FAILURE [
>>  1.658 s]
>> [INFO] ToDo App Fixtures ................................. SKIPPED
>> [INFO] ToDo App Integration Tests ........................ SKIPPED
>> [INFO] ToDo App Webapp ................................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2.252 s
>> [INFO] Finished at: 2014-11-15T00:44:22+01:00
>> [INFO] Final Memory: 17M/206M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
>> (default-compile) on project myapp-dom: Compilation failure: Compilation
>> failure:
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
>> reference to Optional is ambiguous
>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
>> reference to Optional is ambiguous
>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
>> reference to Optional is ambiguous
>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
>> reference to Optional is ambiguous
>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR]
>> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
>> reference to Optional is ambiguous
>> [ERROR] both class org.apache.isis.applib.annotation.Optional in
>> org.apache.isis.applib.annotation and class java.util.Optional in java.util
>> match
>> [ERROR] -> [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
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :myapp-dom
>>
>>
>>
>> Regards,
>>
>> Oscar
>>
>>
>>
>>
>> El 14/11/2014, a las 21:26, Martin Grigorov <mg...@apache.org>
>> escribió:
>>
>>
>> Hi,
>>
>> The archetype snippet at http://isis.apache.org/intro/getting-started/
>> *todoapp*-archetype.html for 1.8.0-SNAPSHOT uses simple app:
>> -D archetypeArtifactId=*simpleapp*-archetype \
>>
>> The next problem is that if I "rm -rf ~/.m2/repository/or/apache/isis"
>> then
>> 'mvn clean install" doesn't work.
>> We have to add <repositories><repository> for snapshots pointing at
>> http://repository-estatio.forge.cloudbees.com/snapshot/
>>
>> https://github.com/apache/isis/pull/7 + recreating the archetypes should
>> fix it.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Nov 14, 2014 at 8:32 PM, Dan Haywood <
>> dan@haywood-associates.co.uk>
>> wrote:
>>
>> Hi Oscar,
>>
>> thanks for trying this out.  I've changed things around (and simplified)
>> ... could you try again and let me know?
>>
>> Cheers
>> Dan
>>
>>
>>
>> 2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <
>> o.bou@gesconsultor.com>:
>>
>> Hi, Dan.
>>
>> I got this:
>>
>> [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.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 Batch mode
>> [INFO] Archetype repository missing. Using the one from
>> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog
>> remote
>> [INFO] Downloading:
>>
>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
>> [INFO] Downloading:
>>
>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 12.035 s
>> [INFO] Finished at: 2014-11-14T16:50:11+01:00
>> [INFO] Final Memory: 11M/183M
>> [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.isis.archetype:todoapp-archetype:1.8.0-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
>>
>>
>>
>> HTH,
>>
>> Oscar
>>
>>
>> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
>> escribió:
>>
>>
>> Hi folks,
>>
>> One thing we've been meaning to do for a while is to make our Maven
>> archetypes available against SNAPSHOT, so y'all can try out latest
>> versions
>> without needing to build Isis yourself.
>>
>> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
>> be
>> a good time to put this in place.
>>
>> So, I'd be grateful for anyone to try this and let us know if it works for
>> you.
>>
>> The instructions are on the archetype pages on our website, for either the
>> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
>> section "Generating the App (snapshot release)" and continue from there.
>>
>> Any feedback, good or bad, most welcome.
>>
>> Thx
>> Dan
>>
>> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
>> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>>
>>
>>
>> Óscar Bou Bou
>> Responsable de Producto
>> Auditor Jefe de Certificación ISO 27001 en BSI
>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>
>>   902 900 231 / 620 267 520
>>   http://www.twitter.com/oscarbou
>>
>>   http://es.linkedin.com/in/oscarbou
>>
>>   http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>
>>
>>
>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>> contienen información reservada que no puede ser difundida. Si usted ha
>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>> Su dirección de correo electrónico junto a sus datos personales constan
>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>> de mantener el contacto con Ud. Si quiere saber de qué información
>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>> tuvieran eliminarlos.
>>
>>
>>
>> Óscar Bou Bou
>> Responsable de Producto
>> Auditor Jefe de Certificación ISO 27001 en BSI
>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>
>>    902 900 231 / 620 267 520
>>    http://www.twitter.com/oscarbou
>>
>>    http://es.linkedin.com/in/oscarbou
>>
>>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>
>>
>>
>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>> contienen información reservada que no puede ser difundida. Si usted ha
>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>> Su dirección de correo electrónico junto a sus datos personales constan
>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>> de mantener el contacto con Ud. Si quiere saber de qué información
>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>> tuvieran eliminarlos.
>>
>>
>>
>>
>>
>>
>

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Thanks, Martin and Oscar.

Martin... your patch ended up with <repositories> element twice; not sure
if that was legal, anyway I combined them.

Oscar... I think your issue must be from using the Eclipse compiler with
Java 8, and it not correctly honouring the declared version of Java (7) in
our poms.  Nevertheless, have changed the archetypes to not use wildcards
(eg java.util.*) so this issue should hopefully go away.

~~~
I've just pushed an updated archetype, so if you could give it another go,
I'd appreciate it.

And... anyone else, please also try this out.  Mike?  Kevin?  Jeroen?

Cheers
Dan






On 14 November 2014 23:52, GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>
wrote:

> Nearly perfect in my case!
>
> Only this error after running:
>
> mvn clean install
>
> After adding the "import org.apache.isis.applib.annotation.Optional" to
> ToDoItem it compiled successfully. Eclipse didn't signaled it.
>
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] ToDo App
> [INFO] ToDo App DOM
> [INFO] ToDo App Fixtures
> [INFO] ToDo App Integration Tests
> [INFO] ToDo App Webapp
> [INFO]
> [INFO] Using the builder
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
> with a thread count of 1
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ToDo App 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp ---
> [INFO]
> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ myapp ---
> [INFO] Installing /Users/oscarboubou/dev/isis/todoapp/myapp/pom.xml to
> /Users/oscarboubou/.m2/repository/com/mycompany/myapp/1.0-SNAPSHOT/myapp-1.0-SNAPSHOT.pom
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ToDo App DOM 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp-dom ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> myapp-dom ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 9 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ myapp-dom
> ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 12 source files to
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/target/classes
> DataNucleus : JDO Query - dom.todo.ToDoItem -> dom.todo.QToDoItem
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
> reference to Optional is ambiguous
>   both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
> reference to Optional is ambiguous
>   both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
> reference to Optional is ambiguous
>   both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
> reference to Optional is ambiguous
>   both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
> reference to Optional is ambiguous
>   both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [INFO] 5 errors
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ToDo App .......................................... SUCCESS [
>  0.287 s]
> [INFO] ToDo App DOM ...................................... FAILURE [
>  1.658 s]
> [INFO] ToDo App Fixtures ................................. SKIPPED
> [INFO] ToDo App Integration Tests ........................ SKIPPED
> [INFO] ToDo App Webapp ................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.252 s
> [INFO] Finished at: 2014-11-15T00:44:22+01:00
> [INFO] Final Memory: 17M/206M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project myapp-dom: Compilation failure: Compilation
> failure:
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14]
> reference to Optional is ambiguous
> [ERROR] both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6]
> reference to Optional is ambiguous
> [ERROR] both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6]
> reference to Optional is ambiguous
> [ERROR] both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20]
> reference to Optional is ambiguous
> [ERROR] both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR]
> /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20]
> reference to Optional is ambiguous
> [ERROR] both class org.apache.isis.applib.annotation.Optional in
> org.apache.isis.applib.annotation and class java.util.Optional in java.util
> match
> [ERROR] -> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :myapp-dom
>
>
>
> Regards,
>
> Oscar
>
>
>
>
> El 14/11/2014, a las 21:26, Martin Grigorov <mg...@apache.org>
> escribió:
>
>
> Hi,
>
> The archetype snippet at http://isis.apache.org/intro/getting-started/
> *todoapp*-archetype.html for 1.8.0-SNAPSHOT uses simple app:
> -D archetypeArtifactId=*simpleapp*-archetype \
>
> The next problem is that if I "rm -rf ~/.m2/repository/or/apache/isis" then
> 'mvn clean install" doesn't work.
> We have to add <repositories><repository> for snapshots pointing at
> http://repository-estatio.forge.cloudbees.com/snapshot/
>
> https://github.com/apache/isis/pull/7 + recreating the archetypes should
> fix it.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Nov 14, 2014 at 8:32 PM, Dan Haywood <dan@haywood-associates.co.uk
> >
> wrote:
>
> Hi Oscar,
>
> thanks for trying this out.  I've changed things around (and simplified)
> ... could you try again and let me know?
>
> Cheers
> Dan
>
>
>
> 2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <
> o.bou@gesconsultor.com>:
>
> Hi, Dan.
>
> I got this:
>
> [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.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 Batch mode
> [INFO] Archetype repository missing. Using the one from
> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog remote
> [INFO] Downloading:
>
> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
> [INFO] Downloading:
>
> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12.035 s
> [INFO] Finished at: 2014-11-14T16:50:11+01:00
> [INFO] Final Memory: 11M/183M
> [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.isis.archetype:todoapp-archetype:1.8.0-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
>
>
>
> HTH,
>
> Oscar
>
>
> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
> escribió:
>
>
> Hi folks,
>
> One thing we've been meaning to do for a while is to make our Maven
> archetypes available against SNAPSHOT, so y'all can try out latest
> versions
> without needing to build Isis yourself.
>
> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
> be
> a good time to put this in place.
>
> So, I'd be grateful for anyone to try this and let us know if it works for
> you.
>
> The instructions are on the archetype pages on our website, for either the
> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
> section "Generating the App (snapshot release)" and continue from there.
>
> Any feedback, good or bad, most welcome.
>
> Thx
> Dan
>
> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>
>
>
> Óscar Bou Bou
> Responsable de Producto
> Auditor Jefe de Certificación ISO 27001 en BSI
> CISA, CRISC, APMG ISO 20000, ITIL-F
>
>   902 900 231 / 620 267 520
>   http://www.twitter.com/oscarbou
>
>   http://es.linkedin.com/in/oscarbou
>
>   http://www.GesConsultor.com <http://www.gesconsultor.com/>
>
>
>
> Este mensaje y los ficheros anexos son confidenciales. Los mismos
> contienen información reservada que no puede ser difundida. Si usted ha
> recibido este correo por error, tenga la amabilidad de eliminarlo de su
> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> Su dirección de correo electrónico junto a sus datos personales constan
> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
> de mantener el contacto con Ud. Si quiere saber de qué información
> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
> sus archivos adjuntos no contengan virus informáticos, y en caso que los
> tuvieran eliminarlos.
>
>
>
> Óscar Bou Bou
> Responsable de Producto
> Auditor Jefe de Certificación ISO 27001 en BSI
> CISA, CRISC, APMG ISO 20000, ITIL-F
>
>    902 900 231 / 620 267 520
>    http://www.twitter.com/oscarbou
>
>    http://es.linkedin.com/in/oscarbou
>
>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>
>
>
> Este mensaje y los ficheros anexos son confidenciales. Los mismos
> contienen información reservada que no puede ser difundida. Si usted ha
> recibido este correo por error, tenga la amabilidad de eliminarlo de su
> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> Su dirección de correo electrónico junto a sus datos personales constan en
> un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de
> mantener el contacto con Ud. Si quiere saber de qué información disponemos
> de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un
> escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente
> dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo -
> 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia).
> Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos
> adjuntos no contengan virus informáticos, y en caso que los tuvieran
> eliminarlos.
>
>
>
>
>
>

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.
Nearly perfect in my case!

Only this error after running:

mvn clean install

After adding the "import org.apache.isis.applib.annotation.Optional" to ToDoItem it compiled successfully. Eclipse didn't signaled it.


[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ToDo App
[INFO] ToDo App DOM
[INFO] ToDo App Fixtures
[INFO] ToDo App Integration Tests
[INFO] ToDo App Webapp
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ToDo App 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ myapp ---
[INFO] Installing /Users/oscarboubou/dev/isis/todoapp/myapp/pom.xml to /Users/oscarboubou/.m2/repository/com/mycompany/myapp/1.0-SNAPSHOT/myapp-1.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ToDo App DOM 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myapp-dom ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ myapp-dom ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ myapp-dom ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /Users/oscarboubou/dev/isis/todoapp/myapp/dom/target/classes
DataNucleus : JDO Query - dom.todo.ToDoItem -> dom.todo.QToDoItem
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14] reference to Optional is ambiguous
  both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6] reference to Optional is ambiguous
  both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6] reference to Optional is ambiguous
  both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20] reference to Optional is ambiguous
  both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20] reference to Optional is ambiguous
  both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[INFO] 5 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ToDo App .......................................... SUCCESS [  0.287 s]
[INFO] ToDo App DOM ...................................... FAILURE [  1.658 s]
[INFO] ToDo App Fixtures ................................. SKIPPED
[INFO] ToDo App Integration Tests ........................ SKIPPED
[INFO] ToDo App Webapp ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.252 s
[INFO] Finished at: 2014-11-15T00:44:22+01:00
[INFO] Final Memory: 17M/206M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project myapp-dom: Compilation failure: Compilation failure:
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[363,14] reference to Optional is ambiguous
[ERROR] both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[409,6] reference to Optional is ambiguous
[ERROR] both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[426,6] reference to Optional is ambiguous
[ERROR] both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[562,20] reference to Optional is ambiguous
[ERROR] both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] /Users/oscarboubou/dev/isis/todoapp/myapp/dom/src/main/java/dom/todo/ToDoItem.java:[563,20] reference to Optional is ambiguous
[ERROR] both class org.apache.isis.applib.annotation.Optional in org.apache.isis.applib.annotation and class java.util.Optional in java.util match
[ERROR] -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :myapp-dom



Regards,

Oscar




> El 14/11/2014, a las 21:26, Martin Grigorov <mg...@apache.org> escribió:
> 
> Hi,
> 
> The archetype snippet at http://isis.apache.org/intro/getting-started/
> *todoapp*-archetype.html for 1.8.0-SNAPSHOT uses simple app:
> -D archetypeArtifactId=*simpleapp*-archetype \
> 
> The next problem is that if I "rm -rf ~/.m2/repository/or/apache/isis" then
> 'mvn clean install" doesn't work.
> We have to add <repositories><repository> for snapshots pointing at
> http://repository-estatio.forge.cloudbees.com/snapshot/
> 
> https://github.com/apache/isis/pull/7 + recreating the archetypes should
> fix it.
> 
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
> 
> On Fri, Nov 14, 2014 at 8:32 PM, Dan Haywood <da...@haywood-associates.co.uk>
> wrote:
> 
>> Hi Oscar,
>> 
>> thanks for trying this out.  I've changed things around (and simplified)
>> ... could you try again and let me know?
>> 
>> Cheers
>> Dan
>> 
>> 
>> 
>> 2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <
>> o.bou@gesconsultor.com>:
>> 
>>> Hi, Dan.
>>> 
>>> I got this:
>>> 
>>> [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.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 Batch mode
>>> [INFO] Archetype repository missing. Using the one from
>>> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog remote
>>> [INFO] Downloading:
>>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
>>> [INFO] Downloading:
>>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 12.035 s
>>> [INFO] Finished at: 2014-11-14T16:50:11+01:00
>>> [INFO] Final Memory: 11M/183M
>>> [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.isis.archetype:todoapp-archetype:1.8.0-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
>>> 
>>> 
>>> 
>>> HTH,
>>> 
>>> Oscar
>>> 
>>> 
>>> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
>>> escribió:
>>> 
>>> 
>>> Hi folks,
>>> 
>>> One thing we've been meaning to do for a while is to make our Maven
>>> archetypes available against SNAPSHOT, so y'all can try out latest
>>> versions
>>> without needing to build Isis yourself.
>>> 
>>> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
>>> be
>>> a good time to put this in place.
>>> 
>>> So, I'd be grateful for anyone to try this and let us know if it works for
>>> you.
>>> 
>>> The instructions are on the archetype pages on our website, for either the
>>> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
>>> section "Generating the App (snapshot release)" and continue from there.
>>> 
>>> Any feedback, good or bad, most welcome.
>>> 
>>> Thx
>>> Dan
>>> 
>>> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
>>> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>>> 
>>> 
>>> 
>>> Óscar Bou Bou
>>> Responsable de Producto
>>> Auditor Jefe de Certificación ISO 27001 en BSI
>>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>> 
>>>   902 900 231 / 620 267 520
>>>   http://www.twitter.com/oscarbou
>>> 
>>>   http://es.linkedin.com/in/oscarbou
>>> 
>>>   http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>> 
>>> 
>>> 
>>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>>> contienen información reservada que no puede ser difundida. Si usted ha
>>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>>> Su dirección de correo electrónico junto a sus datos personales constan
>>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>>> de mantener el contacto con Ud. Si quiere saber de qué información
>>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>>> tuvieran eliminarlos.


Óscar Bou Bou
Responsable de Producto
Auditor Jefe de Certificación ISO 27001 en BSI
CISA, CRISC, APMG ISO 20000, ITIL-F

   902 900 231 / 620 267 520
   http://www.twitter.com/oscarbou <http://www.twitter.com/oscarbou>

   http://es.linkedin.com/in/oscarbou <http://es.linkedin.com/in/oscarbou>

   http://www.GesConsultor.com <http://www.gesconsultor.com/> 




Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónico junto a sus datos personales constan en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener el contacto con Ud. Si quiere saber de qué información disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informáticos, y en caso que los tuvieran eliminarlos.






Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

The archetype snippet at http://isis.apache.org/intro/getting-started/
*todoapp*-archetype.html for 1.8.0-SNAPSHOT uses simple app:
 -D archetypeArtifactId=*simpleapp*-archetype \

The next problem is that if I "rm -rf ~/.m2/repository/or/apache/isis" then
'mvn clean install" doesn't work.
We have to add <repositories><repository> for snapshots pointing at
http://repository-estatio.forge.cloudbees.com/snapshot/

https://github.com/apache/isis/pull/7 + recreating the archetypes should
fix it.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Nov 14, 2014 at 8:32 PM, Dan Haywood <da...@haywood-associates.co.uk>
wrote:

> Hi Oscar,
>
> thanks for trying this out.  I've changed things around (and simplified)
> ... could you try again and let me know?
>
> Cheers
> Dan
>
>
>
> 2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <
> o.bou@gesconsultor.com>:
>
>> Hi, Dan.
>>
>> I got this:
>>
>> [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.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 Batch mode
>> [INFO] Archetype repository missing. Using the one from
>> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog remote
>> [INFO] Downloading:
>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
>> [INFO] Downloading:
>> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 12.035 s
>> [INFO] Finished at: 2014-11-14T16:50:11+01:00
>> [INFO] Final Memory: 11M/183M
>> [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.isis.archetype:todoapp-archetype:1.8.0-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
>>
>>
>>
>> HTH,
>>
>> Oscar
>>
>>
>> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
>> escribió:
>>
>>
>> Hi folks,
>>
>> One thing we've been meaning to do for a while is to make our Maven
>> archetypes available against SNAPSHOT, so y'all can try out latest
>> versions
>> without needing to build Isis yourself.
>>
>> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would
>> be
>> a good time to put this in place.
>>
>> So, I'd be grateful for anyone to try this and let us know if it works for
>> you.
>>
>> The instructions are on the archetype pages on our website, for either the
>> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
>> section "Generating the App (snapshot release)" and continue from there.
>>
>> Any feedback, good or bad, most welcome.
>>
>> Thx
>> Dan
>>
>> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
>> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>>
>>
>>
>> Óscar Bou Bou
>> Responsable de Producto
>> Auditor Jefe de Certificación ISO 27001 en BSI
>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>
>>    902 900 231 / 620 267 520
>>    http://www.twitter.com/oscarbou
>>
>>    http://es.linkedin.com/in/oscarbou
>>
>>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>
>>
>>
>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>> contienen información reservada que no puede ser difundida. Si usted ha
>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>> Su dirección de correo electrónico junto a sus datos personales constan
>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>> de mantener el contacto con Ud. Si quiere saber de qué información
>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>> tuvieran eliminarlos.
>>
>>
>>
>>
>>
>>
>

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Oscar,

thanks for trying this out.  I've changed things around (and simplified)
... could you try again and let me know?

Cheers
Dan



2014-11-14 16:12 GMT+00:00 GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>
:

> Hi, Dan.
>
> I got this:
>
> [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.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 Batch mode
> [INFO] Archetype repository missing. Using the one from
> [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog remote
> [INFO] Downloading:
> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
> [INFO] Downloading:
> http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12.035 s
> [INFO] Finished at: 2014-11-14T16:50:11+01:00
> [INFO] Final Memory: 11M/183M
> [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.isis.archetype:todoapp-archetype:1.8.0-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
>
>
>
> HTH,
>
> Oscar
>
>
> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk>
> escribió:
>
>
> Hi folks,
>
> One thing we've been meaning to do for a while is to make our Maven
> archetypes available against SNAPSHOT, so y'all can try out latest versions
> without needing to build Isis yourself.
>
> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be
> a good time to put this in place.
>
> So, I'd be grateful for anyone to try this and let us know if it works for
> you.
>
> The instructions are on the archetype pages on our website, for either the
> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
> section "Generating the App (snapshot release)" and continue from there.
>
> Any feedback, good or bad, most welcome.
>
> Thx
> Dan
>
> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html
>
>
>
> Óscar Bou Bou
> Responsable de Producto
> Auditor Jefe de Certificación ISO 27001 en BSI
> CISA, CRISC, APMG ISO 20000, ITIL-F
>
>    902 900 231 / 620 267 520
>    http://www.twitter.com/oscarbou
>
>    http://es.linkedin.com/in/oscarbou
>
>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>
>
>
> Este mensaje y los ficheros anexos son confidenciales. Los mismos
> contienen información reservada que no puede ser difundida. Si usted ha
> recibido este correo por error, tenga la amabilidad de eliminarlo de su
> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> Su dirección de correo electrónico junto a sus datos personales constan en
> un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de
> mantener el contacto con Ud. Si quiere saber de qué información disponemos
> de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un
> escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente
> dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo -
> 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia).
> Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos
> adjuntos no contengan virus informáticos, y en caso que los tuvieran
> eliminarlos.
>
>
>
>
>
>

Re: Archetypes for 1.8.0-SNAPSHOT

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.
Hi, Dan.

I got this:

[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.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 Batch mode
[INFO] Archetype repository missing. Using the one from [org.apache.isis.archetype:todoapp-archetype:1.7.0] found in catalog remote
[INFO] Downloading: http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://repository-estatio.forge.cloudbees.com/snapshot/org/apache/isis/archetype/todoapp-archetype/1.8.0-SNAPSHOT/todoapp-archetype-1.8.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.035 s
[INFO] Finished at: 2014-11-14T16:50:11+01:00
[INFO] Final Memory: 11M/183M
[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.isis.archetype:todoapp-archetype:1.8.0-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



HTH,

Oscar


> El 14/11/2014, a las 16:34, Dan Haywood <da...@haywood-associates.co.uk> escribió:
> 
> Hi folks,
> 
> One thing we've been meaning to do for a while is to make our Maven
> archetypes available against SNAPSHOT, so y'all can try out latest versions
> without needing to build Isis yourself.
> 
> Given that 1.8.0-SNAPSHOT is a significant release, we thought now would be
> a good time to put this in place.
> 
> So, I'd be grateful for anyone to try this and let us know if it works for
> you.
> 
> The instructions are on the archetype pages on our website, for either the
> simpleapp archetype [1] or the todoapp archetype [2].  Spin down to the
> section "Generating the App (snapshot release)" and continue from there.
> 
> Any feedback, good or bad, most welcome.
> 
> Thx
> Dan
> 
> [1] http://isis.apache.org/intro/getting-started/simpleapp-archetype.html
> [2] http://isis.apache.org/intro/getting-started/todoapp-archetype.html


Óscar Bou Bou
Responsable de Producto
Auditor Jefe de Certificación ISO 27001 en BSI
CISA, CRISC, APMG ISO 20000, ITIL-F

   902 900 231 / 620 267 520
   http://www.twitter.com/oscarbou <http://www.twitter.com/oscarbou>

   http://es.linkedin.com/in/oscarbou <http://es.linkedin.com/in/oscarbou>

   http://www.GesConsultor.com <http://www.gesconsultor.com/> 




Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónico junto a sus datos personales constan en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener el contacto con Ud. Si quiere saber de qué información disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informáticos, y en caso que los tuvieran eliminarlos.