As quoted from sumedha rubasinghe <[EMAIL PROTECTED]>: > This is working due to the fact those dependencies are mentioned in the parent > pom.
I don;t see them there, and neither does Maven2... ;-) > Can you attach the build error your getting? Attached. -- -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600
/files/axis2-java/modules/kernel% svn status -u Status against revision: 553454 /files/axis2-java/modules/kernel% svn status -u ../parent/ Status against revision: 553454 /files/axis2-java/modules/kernel% mvn clean [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Apache Axis 2.0 - Kernel [INFO] task-segment: [clean] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from ws-zones [INFO] artifact org.apache.maven.plugins:maven-antrun-plugin: checking for updates from ws-zones [INFO] [clean:clean] [INFO] Deleting directory /files/axis2-java/modules/kernel/target [INFO] Deleting directory /files/axis2-java/modules/kernel/target/classes [INFO] Deleting directory /files/axis2-java/modules/kernel/target/test-classes [INFO] Deleting directory /files/axis2-java/modules/kernel/target/site [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Thu Jul 05 13:03:09 CEST 2007 [INFO] Final Memory: 2M/5M [INFO] ------------------------------------------------------------------------ /files/axis2-java/modules/kernel% mvn package [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Apache Axis 2.0 - Kernel [INFO] task-segment: [package] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom Downloading: http://tomcat.apache.org/dev/dist/m2-repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom Downloading: http://people.apache.org/repo/m2-incubating-repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom Downloading: http://repo1.maven.org/eclipse/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom Downloading: http://jibx.sourceforge.net/maven/wsdl4j/poms/wsdl4j-1.6.2.pom Downloading: http://download.java.net/maven/1//wsdl4j/poms/wsdl4j-1.6.2.pom Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom Downloading: http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-api/SNAPSHOT/axiom-api-SNAPSHOT.pom Downloading: http://jibx.sourceforge.net/maven/org.apache.ws.commons.axiom/poms/axiom-api-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/axiom/axiom-api/SNAPSHOT/axiom-api-SNAPSHOT.pom Downloading: http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-impl/SNAPSHOT/axiom-impl-SNAPSHOT.pom Downloading: http://jibx.sourceforge.net/maven/org.apache.ws.commons.axiom/poms/axiom-impl-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/axiom/axiom-impl/SNAPSHOT/axiom-impl-SNAPSHOT.pom [INFO] [compiler:compile] [INFO] Compiling 397 source files to /files/axis2-java/modules/kernel/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/axis2-java/modules/kernel/src/org/apache/axis2/context/MessageContext.java:[60,24] package javax.activation does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/context/MessageContext.java:[1589,48] cannot find symbol symbol : class DataHandler location: class org.apache.axis2.context.MessageContext /files/axis2-java/modules/kernel/src/org/apache/axis2/context/MessageContext.java:[1605,32] cannot find symbol symbol : class DataHandler location: class org.apache.axis2.context.MessageContext /files/axis2-java/modules/kernel/src/org/apache/axis2/context/MessageContext.java:[1619,11] cannot find symbol symbol : class DataHandler location: class org.apache.axis2.context.MessageContext /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[21,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[22,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[29,40] cannot find symbol symbol: class MimeBodyPart public class MimeBase64BodyPart extends MimeBodyPart { /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[31,42] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.MimeBase64BodyPart /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/POP3Worker.java:[27,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/POP3Worker.java:[28,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/Storage.java:[23,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/Storage.java:[33,37] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.Storage /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[37,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[38,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[39,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[71,62] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[150,34] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[162,52] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[28,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[29,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[30,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[31,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[32,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[33,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[51,12] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[25,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[26,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[27,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[28,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[29,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[30,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[31,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[36,12] cannot find symbol symbol : class URLName location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[38,12] cannot find symbol symbol : class Folder location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[40,12] cannot find symbol symbol : class Store location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[46,27] cannot find symbol symbol : class URLName location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[81,11] cannot find symbol symbol : class Message location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[25,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[26,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[27,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[28,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[30,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[31,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[32,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[33,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[34,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[38,32] cannot find symbol symbol: class Authenticator public class MailClient extends Authenticator { /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[43,14] cannot find symbol symbol : class PasswordAuthentication location: class org.apache.axis2.transport.mail.MailClient /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[45,14] cannot find symbol symbol : class Session location: class org.apache.axis2.transport.mail.MailClient /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[71,43] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.MailClient /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[128,19] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.MailClient /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailClient.java:[140,11] cannot find symbol symbol : class PasswordAuthentication location: class org.apache.axis2.transport.mail.MailClient /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailAddress.java:[22,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailAddress.java:[28,33] cannot find symbol symbol: class Address public class MailAddress extends Address { /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[39,24] package javax.activation does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[41,24] package javax.activation does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[42,24] package javax.activation does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[43,0] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[44,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[45,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[46,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[47,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[56,12] cannot find symbol symbol : class PasswordAuthentication location: class org.apache.axis2.transport.mail.EMailSender /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[91,42] cannot find symbol symbol : class PasswordAuthentication location: class org.apache.axis2.transport.mail.EMailSender /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[172,45] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.EMailSender /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EMailSender.java:[174,19] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.EMailSender /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[40,0] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[41,27] package javax.mail.internet does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[317,60] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.SimpleMailListener /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[401,35] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.SimpleMailListener /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[479,33] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.SimpleMailListener /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java:[503,41] cannot find symbol symbol : class Part location: class org.apache.axis2.transport.mail.SimpleMailListener /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailTransportSender.java:[41,18] package javax.mail does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MailTransportSender.java:[118,12] cannot find symbol symbol : class PasswordAuthentication location: class org.apache.axis2.transport.mail.MailTransportSender /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[32,8] cannot find symbol symbol : variable super location: class org.apache.axis2.transport.mail.MimeBase64BodyPart /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/MimeBase64BodyPart.java:[33,8] cannot find symbol symbol : method setHeader(java.lang.String,java.lang.String) location: class org.apache.axis2.transport.mail.MimeBase64BodyPart /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/POP3Worker.java:[119,20] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.POP3Worker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/POP3Worker.java:[119,37] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.POP3Worker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/POP3Worker.java:[130,25] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.POP3Worker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[102,31] cannot find symbol symbol : class InternetAddress location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[108,35] cannot find symbol symbol : class InternetAddress location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/MailSorter.java:[171,17] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.MailSorter /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[109,23] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[109,77] cannot find symbol symbol : class Authenticator location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[109,35] cannot find symbol symbol : variable Session location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[137,25] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[171,41] package Message does not exist /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[173,21] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[203,21] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[252,64] cannot find symbol symbol : class MimeMessage location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/server/SMTPWorker.java:[253,25] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.server.SMTPWorker /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/jms/JMSUtils.java:[394,24] cannot find symbol symbol : class DataHandler location: class org.apache.axis2.transport.jms.JMSUtils /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/jms/JMSUtils.java:[394,54] cannot find symbol symbol : class DataHandler location: class org.apache.axis2.transport.jms.JMSUtils /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[57,12] cannot find symbol symbol : class Session location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[57,30] cannot find symbol symbol : variable Session location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[65,17] cannot find symbol symbol : class NoSuchProviderException location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[67,17] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[76,17] cannot find symbol symbol : class MessagingException location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[83,24] cannot find symbol symbol : variable Folder location: class org.apache.axis2.transport.mail.EmailReceiver /files/axis2-java/modules/kernel/src/org/apache/axis2/transport/mail/EmailReceiver.java:[85,12] cannot find symbol symbol : class Message location: class org.apache.axis2.transport.mail.EmailReceiver [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22 seconds [INFO] Finished at: Thu Jul 05 13:03:43 CEST 2007 [INFO] Final Memory: 5M/49M [INFO] ------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]