is_maximum wrote:
>
> Hi
> the process of installing libraries in a repository is really time
> consuming. consider you are in a company in which internet is accessible
> through a remote desktop connection and you can't connect to maven
> repository directly,
> you can doanload the OpenEjb with toiling and then you want to add it to
> your repository !!!
>
> OpenEjb has many folders. each library has its own parent folder and there
> are lots of jar files
>
> what is the rapid and best way to do it? I think if maven provides a
> command facility to explore the jar file and find its pom.xml and then
> install it using that information
>
> is there any such command? if not, how to ask them to provide such
> command?
>
I'm not sure I know the answer to the maven side of the question, but on the
OpenEJB side every jar in our distributions is available online in the maven
repo, so there shouldn't be anything that you have to install manually.
Adding this dependency will get you a full ejb container that you can use
for embedded testing or use with a local client. All of our maven2 based
embedded testing examples use this dependency.
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>3.0</version>
</dependency>
Adding this dependency will give you the client/server protocol for remote
client communication.
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-ejbd</artifactId>
<version>3.0</version>
</dependency>
Adding this dependency will give you JAX-WS support via CXF.
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-cxf</artifactId>
<version>3.0</version>
</dependency>
If you're curious we use the maven-assembly-plugin to create our zips, tars,
and wars. So if you wanted something like a basic openejb zip but slightly
different you can copy from these:
openejb-3.0.zip :
http://svn.apache.org/repos/asf/openejb/tags/openejb-3.0/assembly/openejb-standalone/pom.xml
openejb.war :
http://svn.apache.org/repos/asf/openejb/tags/openejb-3.0/assembly/openejb-tomcat/openejb-tomcat-webapp/pom.xml
Hope this helps!
-David
--
View this message in context:
http://www.nabble.com/deploying-JAR-file-using-the-pom.xml-inside-the-JAR-tp20087846p20089288.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]