Hi, Yes, I agree classifier are meant for the same project. The daytrader app clients are part of daytrader project, but with their own module id. A user can choose to have a standalone app client in a .jar file. Or a user can choose to have an app client artifact bundled in a .ear file. In the later case, a user would only need one deployment plan to deploy the .ear file onto the server, thus it is naturally for the user to think one would just need to run the car-maven-plugin once to generate all the necessary plugin artifacts. It seems silly for us to recommend a user to run the car-maven-plugin three times for such an EAR project as daytrader. This is why we think maybe classifier could be used here...
Thanks, Lin On Tue, Aug 12, 2008 at 8:57 PM, Brett Porter <[EMAIL PROTECTED]> wrote: > Classifiers are meant for the same project, built differently. It > doesn't sound like that's the case here - the appclients are different > modules. Is there a reason you can't actually use 3 artifact IDs? > > Cheers, > Brett > > 2008/8/13 Lin Sun <[EMAIL PROTECTED]>: >> Hi, >> >> I need some advice to see if we could use classifier to solve a prob >> we have in Apache Geronimo. >> >> We want to deploy our J2EE sample (called daytrader) onto geronimo as >> a geronimo plugin. The daytrader application contains multiple >> modules(one web module, one ejb module, 2 app clients module), as most >> of EAR projects do. The daytrader geronimo plugin is built using >> the car-maven-plugin that is developed at Geronimo. Basically, what >> the car-maven-plugin does is to generate the plugin metadata file, >> deploy the daytrader module using geronimo's deployers, package all >> the files into a plugin car file and install the car file into the >> maven repository. The plugin has one artifact id, called >> daytrader. >> >> Soon, we found out there is a prob here. If there is only one >> artifact id, how can we start the app clients of daytrader? Each app >> client needs his own artifact id. We have only one maven project >> (which is daytrader here) but we really need 3 artifact ids. >> >> I am wondering if it is possible to use classifier here. Instead of >> producing 1 artifact here, we produce the following artifacts, for the >> daytrader project: >> >> daytrader-2.2.-snapshot.car >> daytrader-2.2-snapshot-appclient1.car >> daytrader-2.2-snapshot-appclient2.car >> >> Thoughts? >> >> Lin >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
