You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Barath <ba...@gmail.com> on 2007/10/26 08:12:12 UTC
Maven---package doesnot exist error
Hi all,
In my component's Bootstrap i have
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.bio.SocketConnector;
import org.mortbay.jetty.servlet.ServletHandler;
so in my mavens pom.xml i included
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
</plugin>
</plugins>
and when i give maven install in cmd i am getting
package doesnot exist error....
Help me out?
Barath.
--
View this message in context: http://www.nabble.com/Maven---package-doesnot-exist-error-tf4695359s12049.html#a13421342
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Maven---package doesnot exist error
Posted by Barath <ba...@gmail.com>.
hi Freeman,
thankQ i got output but we must also add version to it.......
barath
to your <dependencies> </dependencies> in the pom.xml
Best Regards
Freeman
Best
Barath wrote:
> Hi all,
>
> In my component's Bootstrap i have
>
> import org.mortbay.jetty.Connector;
> import org.mortbay.jetty.Server;
> import org.mortbay.jetty.bio.SocketConnector;
> import org.mortbay.jetty.servlet.ServletHandler;
>
> so in my mavens pom.xml i included
> <plugins>
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>maven-jetty-plugin</artifactId>
> </plugin>
> </plugins>
>
> and when i give maven install in cmd i am getting
> package doesnot exist error....
> Help me out?
>
> Barath.
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Maven---package-doesnot-exist-error-tf4695359s12049.html#a13424492
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Maven---package doesnot exist error
Posted by Freeman Fang <fr...@iona.com>.
Hi Barath,
Just add
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
</dependency>
to your <dependencies> </dependencies> in the pom.xml
Best Regards
Freeman
Best
Barath wrote:
> Hi all,
>
> In my component's Bootstrap i have
>
> import org.mortbay.jetty.Connector;
> import org.mortbay.jetty.Server;
> import org.mortbay.jetty.bio.SocketConnector;
> import org.mortbay.jetty.servlet.ServletHandler;
>
> so in my mavens pom.xml i included
> <plugins>
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>maven-jetty-plugin</artifactId>
> </plugin>
> </plugins>
>
> and when i give maven install in cmd i am getting
> package doesnot exist error....
> Help me out?
>
> Barath.
>
>
>
>
>