You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Milinda Pathirage <mi...@gmail.com> on 2010/06/05 07:38:28 UTC

Re: Trunk Build Error

Hi Tammo,

I think this happens due to axis2-transport-jms dependency is not there in
utils module and even after adding the dependency there are checksum failed
errors for transport jars downloaded from
http://repo1.maven.org/maven2(Iadded this repo to main pom). How ever
after adding the axis2-transoprt-jms
dependency to the utils module solve the issue even with checksumming issue
in jars.

So I think following steps fix the issue.

1. Adding http://repo1.maven.org/maven2 to main pom's repositories section.
2. adding axis2-transport-jms dependency to utils module.


Thanks
Milinda

On Fri, May 28, 2010 at 12:05 AM, Tammo van Lessen <tv...@gmail.com>wrote:

> Hi,
>
> please check the files in your local maven repository.
>
> ~/.m2/repository/org/apache/axis2/axis2-transport-http
> ~/.m2/repository/org/apache/axis2/axis2-transport-local
>
> Most likely they are empty or contain some HTML code. In this case,
> please remove them and re-run maven.
>
> Please make sure to run it with the -C option, so that it validates the
> downloaded artifacts.
>
> Tammo
>
> On 27.05.2010 19:24, Meeraj Kunnumpurath wrote:
> > Hi,
> >
> > I am trying to build the trunk on OSX using Java 6 and Maven 2.2.1, I get
> > the following build error.
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building ODE :: Utilities
> > [INFO]    task-segment: [clean, install, eclipse:eclipse]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [clean:clean {execution: default-clean}]
> > [INFO] Deleting directory /Users/meerajk/Projects/ode-trunk/utils/target
> > [INFO] [resources:resources {execution: default-resources}]
> > [WARNING] Using platform encoding (MacRoman actually) to copy filtered
> > resources, i.e. build is platform dependent!
> > [INFO] Copying 1 resource
> > [INFO] [compiler:compile {execution: default-compile}]
> > [INFO] Compiling 87 source files to
> > /Users/meerajk/Projects/ode-trunk/utils/target/classes
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
> /Users/meerajk/Projects/ode-trunk/utils/src/main/java/org/apache/ode/utils/Properties.java:[28,37]
> > package org.apache.axis2.transport.jms does not exist
> >
> >
> /Users/meerajk/Projects/ode-trunk/utils/src/main/java/org/apache/ode/utils/Properties.java:[194,36]
> > cannot find symbol
> > symbol  : variable JMSConstants
> > location: class org.apache.ode.utils.Properties.Axis2
> >
> >
> /Users/meerajk/Projects/ode-trunk/utils/src/main/java/org/apache/ode/utils/Properties.java:[198,36]
> > cannot find symbol
> > symbol  : variable JMSConstants
> > location: class org.apache.ode.utils.Properties.Axis2
> >
> >
> /Users/meerajk/Projects/ode-trunk/utils/src/main/java/org/apache/ode/utils/Properties.java:[210,40]
> > cannot find symbol
> > symbol  : variable JMSConstants
> > location: class org.apache.ode.utils.Properties.Axis2
> >
> > Ta
> > Meeraj
> >
>
> --
> Tammo van Lessen - http://www.taval.de
>



-- 
Milinda Pathirage
Technical Lead & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com