The runtime in a maven build (ex: mvn clean install) is defined and assembled dynamically based on the dependencies and scope of the dependencies. While possible to include local jar files (based on fqn paths) in a pom.xml this tightly couples the project to a local filesystem and is generally not advisable.
- hanasaki -------- Original Message -------- Subject: Re: Websphere 8 From: goyal.sharad To: [email protected] Date: 11/06/2012 03:22 PM > There is no way to define our own runtime? > > On Tue, Nov 6, 2012 at 4:06 PM, Anders Hammar [via Maven] < > [email protected]> wrote: > >> I see two options: >> >> 1. Upload the Websphere artifacts to your internal repo. This is IMO the >> preferred way to go as it will make it possible to use the same artifacts >> during compiling and testing as in runtime. >> >> 2. As long as you code against Java EE APIs, you could use any available >> artifacts implementing them as you declare provided scope. They will then >> be used during compiling and testing, but in runtime you will be using the >> ones in the Websphere platform. >> >> /Anders >> >> >> On Tue, Nov 6, 2012 at 9:57 PM, goyal.sharad <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=5729712&i=0>> >> wrote: >> >>> Is there any sample project like Hello World exist which has Websphere 8 >>> dependencies? I do not want to upload our runtime dependencies in the >> maven >>> repository because they contains so many jars. >>> >>> In bbrief >>> >>> Is there any way to define our own runtime environment? >>> >>> >>> >>> -- >>> View this message in context: >>> http://maven.40175.n5.nabble.com/Websphere-8-tp5729710.html >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [hidden >>> email]<http://user/SendEmail.jtp?type=node&node=5729712&i=1> >>> For additional commands, e-mail: [hidden >>> email]<http://user/SendEmail.jtp?type=node&node=5729712&i=2> >>> >>> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> http://maven.40175.n5.nabble.com/Websphere-8-tp5729710p5729712.html >> To unsubscribe from Websphere 8, click >> here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729710&code=Z295YWwuc2hhcmFkQGdtYWlsLmNvbXw1NzI5NzEwfC0xNTM0MDQwMDgw> >> . >> NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Websphere-8-tp5729710p5729714.html > Sent from the Maven - Users mailing list archive at Nabble.com. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
