Ticket #3 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

maven archetype for kauri-module

Reported by: mpo Owned by: freya
Priority: minor Milestone: 0.4
Component: < Misc Version: trunk
Keywords: Cc:

Description

To help creating new modules it makes sense to be able to start such development using maven archetypes.

Change History

comment:1 Changed 5 years ago by mpo

  • Milestone changed from 0.2 to 0.4

comment:2 Changed 4 years ago by mpo

  • Component changed from -- unknown -- to < Misc

This feature is introduced in 0.3 already. I'm listing here a number of possible future enhancements to the current approach.

  • fixed 'module1' creation: would be better if the name of the module(s) to be created can be configured or specified during archetype-execution
  • the current embedded modules aren't yet following the new name-conventions introduced in the samples (see #117). e.g.
    • still uses 'resources' not 'static'
    • still -Module suffixes in kauri.xml
    • still old bean-names in <kauri:modules>
    • spring/services.xml
    • still exports 'router', not 'main' service
  • fixed links in the index.xml of basic should be prefixed with by ${publicUri('service:/main')} to allow non default mount points
  • in general the added stuff in the archetypes could use more comments to explain the constructs. (maybe by refering to online docs)

comment:3 Changed 4 years ago by mpo

The wrappig kauri-project-template.sh script could be inrtoducing the -q option to maven.

This silences the current list of [warnings] coming from the use of various ${version.*} properties in the artefact.

comment:4 Changed 4 years ago by mpo

to tackle together with #173

comment:5 Changed 3 years ago by freya

  • Owner changed from mpo to freya
  • Status changed from new to assigned

comment:6 Changed 3 years ago by mpo

r1615 and r1616 got rid of the module1 reference

comment:7 Changed 3 years ago by karel

  • Status changed from assigned to closed
  • Resolution set to fixed

All the above suggestions have been applied.
Adding 'test the archetype' instructions to the build instructions.

Note: See TracTickets for help on using tickets.