Issue Details (XML | Word | Printable)

Key: GLASSFISH-20735
Type: New Feature New Feature
Status: In Progress In Progress
Priority: Minor Minor
Assignee: TangYong
Reporter: TangYong
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi Web

Created: 01/Aug/13 02:43 AM   Updated: 03/Sep/13 01:26 PM
Component/s: OSGi-JavaEE
Affects Version/s: None
Fix Version/s: 4.0.1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive archetype-osgi-web.zip (7 kB) 03/Sep/13 01:26 PM - TangYong
2. Zip Archive sample-osgi-web.zip (4 kB) 03/Sep/13 01:26 PM - TangYong


Tags:
Participants: asst2003 and TangYong


 Description  « Hide

Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi Web.

The maven plugin should make an user can use GlassFish OSGi Web more easy.

FighterFish's sample.parent-pom can be used as a template for the archeType.



TangYong made changes - 01/Aug/13 02:43 AM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
TangYong added a comment - 06/Aug/13 12:58 PM

Sahoo,

After creating a maven project using the new maven archeType, in the create maven project, its pom looks like the following:

<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>sample.parent-pom</artifactId>
<groupId>org.glassfish.fighterfish</groupId>
<version>1.0.1</version>
</parent>
<groupId>XXX</groupId>
<artifactId>YYY</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>ZZZ</name>
...

Here, I have a question needing to be discussed,

Currently, sample.parent-pom's version should be 1.0.3, however, in sample.uas.api's pom from fighterfish's trunk, sample.parent-pom's version is 1.0.1.

So, needing to confirm the sample.parent-pom's version in the created maven project. (I am assuming that sample.uas.api and other should be updated).


TangYong added a comment - 03/Sep/13 03:23 AM - edited

Updating the feature's summary. The reason is that while discussing with Sahoo,

[Sanjeeb]
I think we need different archetypes for different types of applications: one for war, one for ejb-osgi bundle.

So, I will create another feature for ejb-osgi bundle.


TangYong made changes - 03/Sep/13 03:23 AM
Summary Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi-JavaEE Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi Web
Fix Version/s 4.0.1 [ 16061 ]
Description Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi-JavaEE.

The maven plugin should make an user can use GlassFish OSGi-JavaEE more easy.

FighterFish's sample.parent-pom can be used as a template for the archeType.
Creating a new maven archeType to generate a maven project template for supporting GlassFish OSGi Web.

The maven plugin should make an user can use GlassFish OSGi Web more easy.

FighterFish's sample.parent-pom can be used as a template for the archeType.
asst2003 added a comment - 03/Sep/13 01:22 PM

After reviewing with Tang and Tang's confirmation, archetype-osgi-web has been finished. Because of file uploading's permission´╝î I have requested Tang to upload the patch and final result.

Thanks
Cheng Xiao Ming


TangYong added a comment - 03/Sep/13 01:26 PM

Sahoo,

archetype-osgi-web.zip contains source files and sample-osgi-web.zip contains the final result.

PL. Reviewing them, thanks.

Thanks Cheng Xiao Ming offering patch too!

Tang


TangYong made changes - 03/Sep/13 01:26 PM
Attachment archetype-osgi-web.zip [ 52478 ]
Attachment sample-osgi-web.zip [ 52479 ]