In your project.xml: <dependency> <groupId>mylib-group</groupId> <artifactId>myjar</artifactId> <version>1.0</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency>
Copy myjar-1.0.jar to <user-home>/.maven/repository/mylib-group/jars/ where myjar-1.0.jar contains your package_name.java_class Of course, you can make the necessary adjustments in the parameters provided. Quoting nick the mytilian <[EMAIL PROTECTED]>: > Hello all! > > I just upgraded from jetspeed 1.4 to jetspeed 1.5 (i know, i had to do > that a long time ago! ), but i am facing some problems: > > I cannot add a jar that contains my own compiled java classes. All i want > to do is to add in the > jetspeed_home/webapp/WEB-INF/web.xml file something like: > <servlet> > <servlet-name> > init > </servlet-name> > <servlet-class> > package_name.java_class > </servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > > Where do I have to put the java-package? > Where do i have to put neccessary jars in order to compile the > java-package? > i try to compile the source code with: > maven -Dmaven.test.skip=true dist:install > > But it fails, because it does not find the neccessary jars in order to > compile my java code. > > Any ideas please? > > Nikos. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]