websphere - Maven 3 archetypes for WAS 8 or Liberty -


are there maven archetypes websphere 8 , webshpere liberty.

i want started on jax-rs war?

there archetypes 855 , liberty 855, none jax-rs yet.

to use them, need add the following repository, example, in settings.xml file.

to use archetypes rad 9 or wdt 855, can open new maven project wizard , archetypes should listed in second page of wizard, if select correct catalog.

most of archetypes include 1 dependency in pom.xml

<dependency>     <groupid>com.ibm.tools.target</groupid>     <artifactid>was</artifactid>     <version>8.5.5</version>     <type>pom</type>     <scope>provided</scope> </dependency> 

this dependency groups runtime libraries. if want manage runtime dependencies yourself, can remove dependency above.

if have not followed steps described in link, find lot of dependencies cannot found during build because of dependency mentioned above:

note: if using liberty archetypes, instead of using files listed in step 5 of previous link, use files in folder com/ibm/tools/target/was.liberty.installer in repository mentioned previously. download files was.liberty.installer-8.5.0.pom or was.liberty.installer-8.5.5.pom, rename them pom.xml, , use them in step 5. because files in repository more current files shipped in rad 9 , wdt 8.5.5.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -