Thursday, November 13, 2014

Re: some questions regarding maven and modular-webapp

-----
Next topic:

When using the artifact "modular-webapp", then some templates are fetched from the net and my project is build on top of them. I assume that it's mandatory that they are available on the net.
What happens to my project, if Thomas decides to make major changes to them or even removes it from the net? How can I deal with this dependency from the outside world?

modular-webapp is an archetype. Archetypes are only used once to create a starting project based on a defined template. In your case a GWT modular webapp template defined by Thomas. If that template gets improved after you have created your project you have to adapt these changes manually. Your pom.xml evolves over time (more dependencies added, more plugins added) and the archetype plugin of Maven can not merge a new/updated template into your existing pom.xml.

You could create a new empty project with the updated archetype and then compare the generated stuff with your existing project. Or you take a look at the commit log of the archetyp to see what has changed.


-----
And finally:
How should you name your maven projects/artifacts?

Example: Small letters with dots, e. g. : mycompany.myprojects.app123

What about mixed letters and spaces, e. g. "My Next Project"?

Are there any standard conventions?

http://central.sonatype.org/pages/requirements.html#sufficient-metadata

These are the requirements of publishing to Maven Central. I think everybody sticks to it even if you never plan to publish something.


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment