You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Cuiting Chen <ka...@googlemail.com> on 2011/04/04 15:16:02 UTC

Cannot compile AXIS2 source code: BUILD FAILURE

Hi there,

I failed in compiling the axis2 source code, the error information is as
following. And a weird thing is: I run the "mvn install" to the code, it was
successful, but compile always come out some errors. Could anyone help me
with this? Thanks in advance!


[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.421s]
[INFO] Apache Axis2 - Web Application module ............. FAILURE [0.958s]
[INFO] Apache Axis2 - Root ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25.693s
[INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
[INFO] Final Memory: 43M/106M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
APSHOT:create-repository (default) on project axis2-webapp: Error copying
mtompo
licy-1.7.0-SNAPSHOT.mar:
E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
y-mar\target\classes (Access is denied) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :axis2-webapp

-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Cuiting Chen <ka...@googlemail.com>.
I see. I can get a generated soapmonitor.mar there.

So, after built the soap monitor, I replace the original soapmonitor.mar
file with the new one, then I can test the added functionalities.

Thanks a lot!!

Cuiting

On Tue, Apr 5, 2011 at 4:09 PM, Andreas Veithen
<an...@gmail.com>wrote:

> That particular class is actually part of the MAR file that you can
> find under modules\soapmonitor\module\target.
>
> Andreas
>
> On Tue, Apr 5, 2011 at 14:29, Cuiting Chen <ka...@googlemail.com>
> wrote:
> > Now I modified the SOAPMonitorHandler class for SOAP Monitor, but it is
> not
> > in the soapmonitor-servlet-1.5.4.jar, I also cannot find it in all jars
> in
> > the whole axis2 lib... That is so weird...
> >
> > On Tue, Apr 5, 2011 at 11:53 AM, Andreas Veithen <
> andreas.veithen@gmail.com>
> > wrote:
> >>
> >> Which JAR are you looking for?
> >>
> >> Andreas
> >>
> >> On Tue, Apr 5, 2011 at 10:56, Cuiting Chen <kathy.chen23@googlemail.com
> >
> >> wrote:
> >> > Yes, I can find the integrated jar file for axis2, but I cannot find a
> >> > set
> >> > of separated jars files like the ones in the axis2 lib.
> >> > Is it possible to compile the source code to generate separated jar
> >> > files?
> >> > Or how can I use the integrated jar? just input it into the axis2 lib
> >> > folder?
> >> > Thanks,
> >> > Cuiting
> >> >
> >> > On Tue, Apr 5, 2011 at 10:52 AM, Andreas Veithen
> >> > <an...@gmail.com>
> >> > wrote:
> >> >>
> >> >> E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in
> >> >> modules/kernel/target.
> >> >>
> >> >> Andreas
> >> >>
> >> >> On Tue, Apr 5, 2011 at 10:49, Cuiting Chen
> >> >> <ka...@googlemail.com>
> >> >> wrote:
> >> >> > Hi Andreas,
> >> >> > Could you introduce more details about how to get the separated jar
> >> >> > files?
> >> >> > I run the "mvn install", and it build successfully, but I cannot
> find
> >> >> > the
> >> >> > target folder from module, neither in all other folders within the
> >> >> > root
> >> >> > folder of axis2 source code.
> >> >> > The source code of axis2 is downloaded
> >> >> > from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk,
> is
> >> >> > it
> >> >> > correct?
> >> >> > Thanks a lot!
> >> >> > Best regards,
> >> >> > Cuiting
> >> >> >
> >> >> > On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen
> >> >> > <an...@gmail.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> In every module, you will find a "target" folder. This is where
> >> >> >> Maven
> >> >> >> places the packaged JAR files. Alternatively, you can build the
> >> >> >> binary
> >> >> >> distribution which packages all JAR files together. This is not
> part
> >> >> >> of the normal build, so you need to do another "mvn install" in
> >> >> >> modules/distribution.
> >> >> >>
> >> >> >> Andreas
> >> >> >>
> >> >> >> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen
> >> >> >> <ka...@googlemail.com>
> >> >> >> wrote:
> >> >> >> > Hi Andreas,
> >> >> >> > Thanks a lot! "mvn install" works successfully in my case.
> >> >> >> > And I have one more question: I modified the SOAP handler, then
> >> >> >> > after
> >> >> >> > I
> >> >> >> > build the whole source code, where can I get the new-generated
> jar
> >> >> >> > files
> >> >> >> > to
> >> >> >> > replace the original ones? then I can test my modification works
> >> >> >> > or
> >> >> >> > not.
> >> >> >> > Thanks!
> >> >> >> > Cuiting
> >> >> >> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
> >> >> >> > <an...@gmail.com>
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> You should always build with "mvn install". The reason is that
> >> >> >> >> there
> >> >> >> >> are inter-module dependencies that involve the packaged
> artifacts
> >> >> >> >> of
> >> >> >> >> the dependencies (as opposed to just the compiled classes). In
> >> >> >> >> this
> >> >> >> >> particular example, the webapp module depends on the MAR file
> >> >> >> >> produced
> >> >> >> >> by the mtompolicy module. This is only generated during the
> >> >> >> >> package
> >> >> >> >> phase and is therefore not available when running "mvn
> compile".
> >> >> >> >>
> >> >> >> >> Andreas
> >> >> >> >>
> >> >> >> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
> >> >> >> >> <ka...@googlemail.com>
> >> >> >> >> wrote:
> >> >> >> >> > Hi there,
> >> >> >> >> > I failed in compiling the axis2 source code, the error
> >> >> >> >> > information
> >> >> >> >> > is
> >> >> >> >> > as
> >> >> >> >> > following. And a weird thing is: I run the "mvn install" to
> the
> >> >> >> >> > code,
> >> >> >> >> > it
> >> >> >> >> > was
> >> >> >> >> > successful, but compile always come out some errors. Could
> >> >> >> >> > anyone
> >> >> >> >> > help
> >> >> >> >> > me
> >> >> >> >> > with this? Thanks in advance!
> >> >> >> >> >
> >> >> >> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................
> >> >> >> >> > SUCCESS
> >> >> >> >> > [0.421s]
> >> >> >> >> > [INFO] Apache Axis2 - Web Application module .............
> >> >> >> >> > FAILURE
> >> >> >> >> > [0.958s]
> >> >> >> >> > [INFO] Apache Axis2 - Root ...............................
> >> >> >> >> > SKIPPED
> >> >> >> >> > [INFO]
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> >> > [INFO] BUILD FAILURE
> >> >> >> >> > [INFO]
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> >> > [INFO] Total time: 25.693s
> >> >> >> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> >> >> >> >> > [INFO] Final Memory: 43M/106M
> >> >> >> >> > [INFO]
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> >> > [ERROR] Failed to execute goal
> >> >> >> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> >> >> >> >> > APSHOT:create-repository (default) on project axis2-webapp:
> >> >> >> >> > Error
> >> >> >> >> > copying
> >> >> >> >> > mtompo
> >> >> >> >> > licy-1.7.0-SNAPSHOT.mar:
> >> >> >> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> >> >> >> >> > y-mar\target\classes (Access is denied) -> [Help 1]
> >> >> >> >> > [ERROR]
> >> >> >> >> > [ERROR] To see the full stack trace of the errors, re-run
> Maven
> >> >> >> >> > with
> >> >> >> >> > the
> >> >> >> >> > -e
> >> >> >> >> > swit
> >> >> >> >> > ch.
> >> >> >> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
> >> >> >> >> > logging.
> >> >> >> >> > [ERROR]
> >> >> >> >> > [ERROR] For more information about the errors and possible
> >> >> >> >> > solutions,
> >> >> >> >> > please
> >> >> >> >> > rea
> >> >> >> >> > d the following articles:
> >> >> >> >> > [ERROR] [Help 1]
> >> >> >> >> >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> >> >> >> >> > xception
> >> >> >> >> > [ERROR]
> >> >> >> >> > [ERROR] After correcting the problems, you can resume the
> build
> >> >> >> >> > with
> >> >> >> >> > the
> >> >> >> >> > command
> >> >> >> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
> >> >> >> >> > --
> >> >> >> >> > Best regards,
> >> >> >> >> > Cuiting Chen
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> ---------------------------------------------------------------------
> >> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Best regards,
> >> >> >> > Cuiting Chen
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Best regards,
> >> >> > Cuiting Chen
> >> >> >
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Best regards,
> >> > Cuiting Chen
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Best regards,
> > Cuiting Chen
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Andreas Veithen <an...@gmail.com>.
That particular class is actually part of the MAR file that you can
find under modules\soapmonitor\module\target.

Andreas

On Tue, Apr 5, 2011 at 14:29, Cuiting Chen <ka...@googlemail.com> wrote:
> Now I modified the SOAPMonitorHandler class for SOAP Monitor, but it is not
> in the soapmonitor-servlet-1.5.4.jar, I also cannot find it in all jars in
> the whole axis2 lib... That is so weird...
>
> On Tue, Apr 5, 2011 at 11:53 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> Which JAR are you looking for?
>>
>> Andreas
>>
>> On Tue, Apr 5, 2011 at 10:56, Cuiting Chen <ka...@googlemail.com>
>> wrote:
>> > Yes, I can find the integrated jar file for axis2, but I cannot find a
>> > set
>> > of separated jars files like the ones in the axis2 lib.
>> > Is it possible to compile the source code to generate separated jar
>> > files?
>> > Or how can I use the integrated jar? just input it into the axis2 lib
>> > folder?
>> > Thanks,
>> > Cuiting
>> >
>> > On Tue, Apr 5, 2011 at 10:52 AM, Andreas Veithen
>> > <an...@gmail.com>
>> > wrote:
>> >>
>> >> E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in
>> >> modules/kernel/target.
>> >>
>> >> Andreas
>> >>
>> >> On Tue, Apr 5, 2011 at 10:49, Cuiting Chen
>> >> <ka...@googlemail.com>
>> >> wrote:
>> >> > Hi Andreas,
>> >> > Could you introduce more details about how to get the separated jar
>> >> > files?
>> >> > I run the "mvn install", and it build successfully, but I cannot find
>> >> > the
>> >> > target folder from module, neither in all other folders within the
>> >> > root
>> >> > folder of axis2 source code.
>> >> > The source code of axis2 is downloaded
>> >> > from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is
>> >> > it
>> >> > correct?
>> >> > Thanks a lot!
>> >> > Best regards,
>> >> > Cuiting
>> >> >
>> >> > On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen
>> >> > <an...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> In every module, you will find a "target" folder. This is where
>> >> >> Maven
>> >> >> places the packaged JAR files. Alternatively, you can build the
>> >> >> binary
>> >> >> distribution which packages all JAR files together. This is not part
>> >> >> of the normal build, so you need to do another "mvn install" in
>> >> >> modules/distribution.
>> >> >>
>> >> >> Andreas
>> >> >>
>> >> >> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen
>> >> >> <ka...@googlemail.com>
>> >> >> wrote:
>> >> >> > Hi Andreas,
>> >> >> > Thanks a lot! "mvn install" works successfully in my case.
>> >> >> > And I have one more question: I modified the SOAP handler, then
>> >> >> > after
>> >> >> > I
>> >> >> > build the whole source code, where can I get the new-generated jar
>> >> >> > files
>> >> >> > to
>> >> >> > replace the original ones? then I can test my modification works
>> >> >> > or
>> >> >> > not.
>> >> >> > Thanks!
>> >> >> > Cuiting
>> >> >> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
>> >> >> > <an...@gmail.com>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> You should always build with "mvn install". The reason is that
>> >> >> >> there
>> >> >> >> are inter-module dependencies that involve the packaged artifacts
>> >> >> >> of
>> >> >> >> the dependencies (as opposed to just the compiled classes). In
>> >> >> >> this
>> >> >> >> particular example, the webapp module depends on the MAR file
>> >> >> >> produced
>> >> >> >> by the mtompolicy module. This is only generated during the
>> >> >> >> package
>> >> >> >> phase and is therefore not available when running "mvn compile".
>> >> >> >>
>> >> >> >> Andreas
>> >> >> >>
>> >> >> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
>> >> >> >> <ka...@googlemail.com>
>> >> >> >> wrote:
>> >> >> >> > Hi there,
>> >> >> >> > I failed in compiling the axis2 source code, the error
>> >> >> >> > information
>> >> >> >> > is
>> >> >> >> > as
>> >> >> >> > following. And a weird thing is: I run the "mvn install" to the
>> >> >> >> > code,
>> >> >> >> > it
>> >> >> >> > was
>> >> >> >> > successful, but compile always come out some errors. Could
>> >> >> >> > anyone
>> >> >> >> > help
>> >> >> >> > me
>> >> >> >> > with this? Thanks in advance!
>> >> >> >> >
>> >> >> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................
>> >> >> >> > SUCCESS
>> >> >> >> > [0.421s]
>> >> >> >> > [INFO] Apache Axis2 - Web Application module .............
>> >> >> >> > FAILURE
>> >> >> >> > [0.958s]
>> >> >> >> > [INFO] Apache Axis2 - Root ...............................
>> >> >> >> > SKIPPED
>> >> >> >> > [INFO]
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ------------------------------------------------------------------------
>> >> >> >> > [INFO] BUILD FAILURE
>> >> >> >> > [INFO]
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ------------------------------------------------------------------------
>> >> >> >> > [INFO] Total time: 25.693s
>> >> >> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
>> >> >> >> > [INFO] Final Memory: 43M/106M
>> >> >> >> > [INFO]
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ------------------------------------------------------------------------
>> >> >> >> > [ERROR] Failed to execute goal
>> >> >> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
>> >> >> >> > APSHOT:create-repository (default) on project axis2-webapp:
>> >> >> >> > Error
>> >> >> >> > copying
>> >> >> >> > mtompo
>> >> >> >> > licy-1.7.0-SNAPSHOT.mar:
>> >> >> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
>> >> >> >> > y-mar\target\classes (Access is denied) -> [Help 1]
>> >> >> >> > [ERROR]
>> >> >> >> > [ERROR] To see the full stack trace of the errors, re-run Maven
>> >> >> >> > with
>> >> >> >> > the
>> >> >> >> > -e
>> >> >> >> > swit
>> >> >> >> > ch.
>> >> >> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
>> >> >> >> > logging.
>> >> >> >> > [ERROR]
>> >> >> >> > [ERROR] For more information about the errors and possible
>> >> >> >> > solutions,
>> >> >> >> > please
>> >> >> >> > rea
>> >> >> >> > d the following articles:
>> >> >> >> > [ERROR] [Help 1]
>> >> >> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>> >> >> >> > xception
>> >> >> >> > [ERROR]
>> >> >> >> > [ERROR] After correcting the problems, you can resume the build
>> >> >> >> > with
>> >> >> >> > the
>> >> >> >> > command
>> >> >> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
>> >> >> >> > --
>> >> >> >> > Best regards,
>> >> >> >> > Cuiting Chen
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Best regards,
>> >> >> > Cuiting Chen
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Best regards,
>> >> > Cuiting Chen
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Best regards,
>> > Cuiting Chen
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>
>
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Cuiting Chen <ka...@googlemail.com>.
Now I modified the SOAPMonitorHandler class for SOAP Monitor, but it is not
in the soapmonitor-servlet-1.5.4.jar, I also cannot find it in all jars in
the whole axis2 lib... That is so weird...

On Tue, Apr 5, 2011 at 11:53 AM, Andreas Veithen
<an...@gmail.com>wrote:

> Which JAR are you looking for?
>
> Andreas
>
> On Tue, Apr 5, 2011 at 10:56, Cuiting Chen <ka...@googlemail.com>
> wrote:
> > Yes, I can find the integrated jar file for axis2, but I cannot find a
> set
> > of separated jars files like the ones in the axis2 lib.
> > Is it possible to compile the source code to generate separated jar
> files?
> > Or how can I use the integrated jar? just input it into the axis2 lib
> > folder?
> > Thanks,
> > Cuiting
> >
> > On Tue, Apr 5, 2011 at 10:52 AM, Andreas Veithen <
> andreas.veithen@gmail.com>
> > wrote:
> >>
> >> E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in
> >> modules/kernel/target.
> >>
> >> Andreas
> >>
> >> On Tue, Apr 5, 2011 at 10:49, Cuiting Chen <kathy.chen23@googlemail.com
> >
> >> wrote:
> >> > Hi Andreas,
> >> > Could you introduce more details about how to get the separated jar
> >> > files?
> >> > I run the "mvn install", and it build successfully, but I cannot find
> >> > the
> >> > target folder from module, neither in all other folders within the
> root
> >> > folder of axis2 source code.
> >> > The source code of axis2 is downloaded
> >> > from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is
> it
> >> > correct?
> >> > Thanks a lot!
> >> > Best regards,
> >> > Cuiting
> >> >
> >> > On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen
> >> > <an...@gmail.com>
> >> > wrote:
> >> >>
> >> >> In every module, you will find a "target" folder. This is where Maven
> >> >> places the packaged JAR files. Alternatively, you can build the
> binary
> >> >> distribution which packages all JAR files together. This is not part
> >> >> of the normal build, so you need to do another "mvn install" in
> >> >> modules/distribution.
> >> >>
> >> >> Andreas
> >> >>
> >> >> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen
> >> >> <ka...@googlemail.com>
> >> >> wrote:
> >> >> > Hi Andreas,
> >> >> > Thanks a lot! "mvn install" works successfully in my case.
> >> >> > And I have one more question: I modified the SOAP handler, then
> after
> >> >> > I
> >> >> > build the whole source code, where can I get the new-generated jar
> >> >> > files
> >> >> > to
> >> >> > replace the original ones? then I can test my modification works or
> >> >> > not.
> >> >> > Thanks!
> >> >> > Cuiting
> >> >> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
> >> >> > <an...@gmail.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> You should always build with "mvn install". The reason is that
> there
> >> >> >> are inter-module dependencies that involve the packaged artifacts
> of
> >> >> >> the dependencies (as opposed to just the compiled classes). In
> this
> >> >> >> particular example, the webapp module depends on the MAR file
> >> >> >> produced
> >> >> >> by the mtompolicy module. This is only generated during the
> package
> >> >> >> phase and is therefore not available when running "mvn compile".
> >> >> >>
> >> >> >> Andreas
> >> >> >>
> >> >> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
> >> >> >> <ka...@googlemail.com>
> >> >> >> wrote:
> >> >> >> > Hi there,
> >> >> >> > I failed in compiling the axis2 source code, the error
> information
> >> >> >> > is
> >> >> >> > as
> >> >> >> > following. And a weird thing is: I run the "mvn install" to the
> >> >> >> > code,
> >> >> >> > it
> >> >> >> > was
> >> >> >> > successful, but compile always come out some errors. Could
> anyone
> >> >> >> > help
> >> >> >> > me
> >> >> >> > with this? Thanks in advance!
> >> >> >> >
> >> >> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................
> SUCCESS
> >> >> >> > [0.421s]
> >> >> >> > [INFO] Apache Axis2 - Web Application module .............
> FAILURE
> >> >> >> > [0.958s]
> >> >> >> > [INFO] Apache Axis2 - Root ...............................
> SKIPPED
> >> >> >> > [INFO]
> >> >> >> >
> >> >> >> >
> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> > [INFO] BUILD FAILURE
> >> >> >> > [INFO]
> >> >> >> >
> >> >> >> >
> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> > [INFO] Total time: 25.693s
> >> >> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> >> >> >> > [INFO] Final Memory: 43M/106M
> >> >> >> > [INFO]
> >> >> >> >
> >> >> >> >
> >> >> >> >
> ------------------------------------------------------------------------
> >> >> >> > [ERROR] Failed to execute goal
> >> >> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> >> >> >> > APSHOT:create-repository (default) on project axis2-webapp:
> Error
> >> >> >> > copying
> >> >> >> > mtompo
> >> >> >> > licy-1.7.0-SNAPSHOT.mar:
> >> >> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> >> >> >> > y-mar\target\classes (Access is denied) -> [Help 1]
> >> >> >> > [ERROR]
> >> >> >> > [ERROR] To see the full stack trace of the errors, re-run Maven
> >> >> >> > with
> >> >> >> > the
> >> >> >> > -e
> >> >> >> > swit
> >> >> >> > ch.
> >> >> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
> >> >> >> > logging.
> >> >> >> > [ERROR]
> >> >> >> > [ERROR] For more information about the errors and possible
> >> >> >> > solutions,
> >> >> >> > please
> >> >> >> > rea
> >> >> >> > d the following articles:
> >> >> >> > [ERROR] [Help 1]
> >> >> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> >> >> >> > xception
> >> >> >> > [ERROR]
> >> >> >> > [ERROR] After correcting the problems, you can resume the build
> >> >> >> > with
> >> >> >> > the
> >> >> >> > command
> >> >> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
> >> >> >> > --
> >> >> >> > Best regards,
> >> >> >> > Cuiting Chen
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Best regards,
> >> >> > Cuiting Chen
> >> >> >
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Best regards,
> >> > Cuiting Chen
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Best regards,
> > Cuiting Chen
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Andreas Veithen <an...@gmail.com>.
Which JAR are you looking for?

Andreas

On Tue, Apr 5, 2011 at 10:56, Cuiting Chen <ka...@googlemail.com> wrote:
> Yes, I can find the integrated jar file for axis2, but I cannot find a set
> of separated jars files like the ones in the axis2 lib.
> Is it possible to compile the source code to generate separated jar files?
> Or how can I use the integrated jar? just input it into the axis2 lib
> folder?
> Thanks,
> Cuiting
>
> On Tue, Apr 5, 2011 at 10:52 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in
>> modules/kernel/target.
>>
>> Andreas
>>
>> On Tue, Apr 5, 2011 at 10:49, Cuiting Chen <ka...@googlemail.com>
>> wrote:
>> > Hi Andreas,
>> > Could you introduce more details about how to get the separated jar
>> > files?
>> > I run the "mvn install", and it build successfully, but I cannot find
>> > the
>> > target folder from module, neither in all other folders within the root
>> > folder of axis2 source code.
>> > The source code of axis2 is downloaded
>> > from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is it
>> > correct?
>> > Thanks a lot!
>> > Best regards,
>> > Cuiting
>> >
>> > On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen
>> > <an...@gmail.com>
>> > wrote:
>> >>
>> >> In every module, you will find a "target" folder. This is where Maven
>> >> places the packaged JAR files. Alternatively, you can build the binary
>> >> distribution which packages all JAR files together. This is not part
>> >> of the normal build, so you need to do another "mvn install" in
>> >> modules/distribution.
>> >>
>> >> Andreas
>> >>
>> >> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen
>> >> <ka...@googlemail.com>
>> >> wrote:
>> >> > Hi Andreas,
>> >> > Thanks a lot! "mvn install" works successfully in my case.
>> >> > And I have one more question: I modified the SOAP handler, then after
>> >> > I
>> >> > build the whole source code, where can I get the new-generated jar
>> >> > files
>> >> > to
>> >> > replace the original ones? then I can test my modification works or
>> >> > not.
>> >> > Thanks!
>> >> > Cuiting
>> >> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
>> >> > <an...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> You should always build with "mvn install". The reason is that there
>> >> >> are inter-module dependencies that involve the packaged artifacts of
>> >> >> the dependencies (as opposed to just the compiled classes). In this
>> >> >> particular example, the webapp module depends on the MAR file
>> >> >> produced
>> >> >> by the mtompolicy module. This is only generated during the package
>> >> >> phase and is therefore not available when running "mvn compile".
>> >> >>
>> >> >> Andreas
>> >> >>
>> >> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
>> >> >> <ka...@googlemail.com>
>> >> >> wrote:
>> >> >> > Hi there,
>> >> >> > I failed in compiling the axis2 source code, the error information
>> >> >> > is
>> >> >> > as
>> >> >> > following. And a weird thing is: I run the "mvn install" to the
>> >> >> > code,
>> >> >> > it
>> >> >> > was
>> >> >> > successful, but compile always come out some errors. Could anyone
>> >> >> > help
>> >> >> > me
>> >> >> > with this? Thanks in advance!
>> >> >> >
>> >> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
>> >> >> > [0.421s]
>> >> >> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
>> >> >> > [0.958s]
>> >> >> > [INFO] Apache Axis2 - Root ............................... SKIPPED
>> >> >> > [INFO]
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------------
>> >> >> > [INFO] BUILD FAILURE
>> >> >> > [INFO]
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------------
>> >> >> > [INFO] Total time: 25.693s
>> >> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
>> >> >> > [INFO] Final Memory: 43M/106M
>> >> >> > [INFO]
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------------
>> >> >> > [ERROR] Failed to execute goal
>> >> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
>> >> >> > APSHOT:create-repository (default) on project axis2-webapp: Error
>> >> >> > copying
>> >> >> > mtompo
>> >> >> > licy-1.7.0-SNAPSHOT.mar:
>> >> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
>> >> >> > y-mar\target\classes (Access is denied) -> [Help 1]
>> >> >> > [ERROR]
>> >> >> > [ERROR] To see the full stack trace of the errors, re-run Maven
>> >> >> > with
>> >> >> > the
>> >> >> > -e
>> >> >> > swit
>> >> >> > ch.
>> >> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
>> >> >> > logging.
>> >> >> > [ERROR]
>> >> >> > [ERROR] For more information about the errors and possible
>> >> >> > solutions,
>> >> >> > please
>> >> >> > rea
>> >> >> > d the following articles:
>> >> >> > [ERROR] [Help 1]
>> >> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>> >> >> > xception
>> >> >> > [ERROR]
>> >> >> > [ERROR] After correcting the problems, you can resume the build
>> >> >> > with
>> >> >> > the
>> >> >> > command
>> >> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
>> >> >> > --
>> >> >> > Best regards,
>> >> >> > Cuiting Chen
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Best regards,
>> >> > Cuiting Chen
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Best regards,
>> > Cuiting Chen
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>
>
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Cuiting Chen <ka...@googlemail.com>.
Yes, I can find the integrated jar file for axis2, but I cannot find a set
of separated jars files like the ones in the axis2 lib.

Is it possible to compile the source code to generate separated jar files?

Or how can I use the integrated jar? just input it into the axis2 lib
folder?

Thanks,
Cuiting

On Tue, Apr 5, 2011 at 10:52 AM, Andreas Veithen
<an...@gmail.com>wrote:

> E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in
> modules/kernel/target.
>
> Andreas
>
> On Tue, Apr 5, 2011 at 10:49, Cuiting Chen <ka...@googlemail.com>
> wrote:
> > Hi Andreas,
> > Could you introduce more details about how to get the separated jar
> files?
> > I run the "mvn install", and it build successfully, but I cannot find the
> > target folder from module, neither in all other folders within the root
> > folder of axis2 source code.
> > The source code of axis2 is downloaded
> > from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is it
> > correct?
> > Thanks a lot!
> > Best regards,
> > Cuiting
> >
> > On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen <
> andreas.veithen@gmail.com>
> > wrote:
> >>
> >> In every module, you will find a "target" folder. This is where Maven
> >> places the packaged JAR files. Alternatively, you can build the binary
> >> distribution which packages all JAR files together. This is not part
> >> of the normal build, so you need to do another "mvn install" in
> >> modules/distribution.
> >>
> >> Andreas
> >>
> >> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen <kathy.chen23@googlemail.com
> >
> >> wrote:
> >> > Hi Andreas,
> >> > Thanks a lot! "mvn install" works successfully in my case.
> >> > And I have one more question: I modified the SOAP handler, then after
> I
> >> > build the whole source code, where can I get the new-generated jar
> files
> >> > to
> >> > replace the original ones? then I can test my modification works or
> not.
> >> > Thanks!
> >> > Cuiting
> >> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
> >> > <an...@gmail.com>
> >> > wrote:
> >> >>
> >> >> You should always build with "mvn install". The reason is that there
> >> >> are inter-module dependencies that involve the packaged artifacts of
> >> >> the dependencies (as opposed to just the compiled classes). In this
> >> >> particular example, the webapp module depends on the MAR file
> produced
> >> >> by the mtompolicy module. This is only generated during the package
> >> >> phase and is therefore not available when running "mvn compile".
> >> >>
> >> >> Andreas
> >> >>
> >> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
> >> >> <ka...@googlemail.com>
> >> >> wrote:
> >> >> > Hi there,
> >> >> > I failed in compiling the axis2 source code, the error information
> is
> >> >> > as
> >> >> > following. And a weird thing is: I run the "mvn install" to the
> code,
> >> >> > it
> >> >> > was
> >> >> > successful, but compile always come out some errors. Could anyone
> >> >> > help
> >> >> > me
> >> >> > with this? Thanks in advance!
> >> >> >
> >> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
> >> >> > [0.421s]
> >> >> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
> >> >> > [0.958s]
> >> >> > [INFO] Apache Axis2 - Root ............................... SKIPPED
> >> >> > [INFO]
> >> >> >
> >> >> >
> ------------------------------------------------------------------------
> >> >> > [INFO] BUILD FAILURE
> >> >> > [INFO]
> >> >> >
> >> >> >
> ------------------------------------------------------------------------
> >> >> > [INFO] Total time: 25.693s
> >> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> >> >> > [INFO] Final Memory: 43M/106M
> >> >> > [INFO]
> >> >> >
> >> >> >
> ------------------------------------------------------------------------
> >> >> > [ERROR] Failed to execute goal
> >> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> >> >> > APSHOT:create-repository (default) on project axis2-webapp: Error
> >> >> > copying
> >> >> > mtompo
> >> >> > licy-1.7.0-SNAPSHOT.mar:
> >> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> >> >> > y-mar\target\classes (Access is denied) -> [Help 1]
> >> >> > [ERROR]
> >> >> > [ERROR] To see the full stack trace of the errors, re-run Maven
> with
> >> >> > the
> >> >> > -e
> >> >> > swit
> >> >> > ch.
> >> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
> >> >> > logging.
> >> >> > [ERROR]
> >> >> > [ERROR] For more information about the errors and possible
> solutions,
> >> >> > please
> >> >> > rea
> >> >> > d the following articles:
> >> >> > [ERROR] [Help 1]
> >> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> >> >> > xception
> >> >> > [ERROR]
> >> >> > [ERROR] After correcting the problems, you can resume the build
> with
> >> >> > the
> >> >> > command
> >> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
> >> >> > --
> >> >> > Best regards,
> >> >> > Cuiting Chen
> >> >> >
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Best regards,
> >> > Cuiting Chen
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Best regards,
> > Cuiting Chen
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Andreas Veithen <an...@gmail.com>.
E.g., axis2-kernel-1.7.0-SNAPSHOT.jar can be found in modules/kernel/target.

Andreas

On Tue, Apr 5, 2011 at 10:49, Cuiting Chen <ka...@googlemail.com> wrote:
> Hi Andreas,
> Could you introduce more details about how to get the separated jar files?
> I run the "mvn install", and it build successfully, but I cannot find the
> target folder from module, neither in all other folders within the root
> folder of axis2 source code.
> The source code of axis2 is downloaded
> from http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is it
> correct?
> Thanks a lot!
> Best regards,
> Cuiting
>
> On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> In every module, you will find a "target" folder. This is where Maven
>> places the packaged JAR files. Alternatively, you can build the binary
>> distribution which packages all JAR files together. This is not part
>> of the normal build, so you need to do another "mvn install" in
>> modules/distribution.
>>
>> Andreas
>>
>> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen <ka...@googlemail.com>
>> wrote:
>> > Hi Andreas,
>> > Thanks a lot! "mvn install" works successfully in my case.
>> > And I have one more question: I modified the SOAP handler, then after I
>> > build the whole source code, where can I get the new-generated jar files
>> > to
>> > replace the original ones? then I can test my modification works or not.
>> > Thanks!
>> > Cuiting
>> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
>> > <an...@gmail.com>
>> > wrote:
>> >>
>> >> You should always build with "mvn install". The reason is that there
>> >> are inter-module dependencies that involve the packaged artifacts of
>> >> the dependencies (as opposed to just the compiled classes). In this
>> >> particular example, the webapp module depends on the MAR file produced
>> >> by the mtompolicy module. This is only generated during the package
>> >> phase and is therefore not available when running "mvn compile".
>> >>
>> >> Andreas
>> >>
>> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen
>> >> <ka...@googlemail.com>
>> >> wrote:
>> >> > Hi there,
>> >> > I failed in compiling the axis2 source code, the error information is
>> >> > as
>> >> > following. And a weird thing is: I run the "mvn install" to the code,
>> >> > it
>> >> > was
>> >> > successful, but compile always come out some errors. Could anyone
>> >> > help
>> >> > me
>> >> > with this? Thanks in advance!
>> >> >
>> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
>> >> > [0.421s]
>> >> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
>> >> > [0.958s]
>> >> > [INFO] Apache Axis2 - Root ............................... SKIPPED
>> >> > [INFO]
>> >> >
>> >> > ------------------------------------------------------------------------
>> >> > [INFO] BUILD FAILURE
>> >> > [INFO]
>> >> >
>> >> > ------------------------------------------------------------------------
>> >> > [INFO] Total time: 25.693s
>> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
>> >> > [INFO] Final Memory: 43M/106M
>> >> > [INFO]
>> >> >
>> >> > ------------------------------------------------------------------------
>> >> > [ERROR] Failed to execute goal
>> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
>> >> > APSHOT:create-repository (default) on project axis2-webapp: Error
>> >> > copying
>> >> > mtompo
>> >> > licy-1.7.0-SNAPSHOT.mar:
>> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
>> >> > y-mar\target\classes (Access is denied) -> [Help 1]
>> >> > [ERROR]
>> >> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>> >> > the
>> >> > -e
>> >> > swit
>> >> > ch.
>> >> > [ERROR] Re-run Maven using the -X switch to enable full debug
>> >> > logging.
>> >> > [ERROR]
>> >> > [ERROR] For more information about the errors and possible solutions,
>> >> > please
>> >> > rea
>> >> > d the following articles:
>> >> > [ERROR] [Help 1]
>> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>> >> > xception
>> >> > [ERROR]
>> >> > [ERROR] After correcting the problems, you can resume the build with
>> >> > the
>> >> > command
>> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
>> >> > --
>> >> > Best regards,
>> >> > Cuiting Chen
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Best regards,
>> > Cuiting Chen
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>
>
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Cuiting Chen <ka...@googlemail.com>.
Hi Andreas,

Could you introduce more details about how to get the separated jar files?

I run the "mvn install", and it build successfully, but I cannot find the
target folder from module, neither in all other folders within the root
folder of axis2 source code.
The source code of axis2 is downloaded from
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk, is it correct?
Thanks a lot!

Best regards,
Cuiting


On Mon, Apr 4, 2011 at 5:06 PM, Andreas Veithen
<an...@gmail.com>wrote:

> In every module, you will find a "target" folder. This is where Maven
> places the packaged JAR files. Alternatively, you can build the binary
> distribution which packages all JAR files together. This is not part
> of the normal build, so you need to do another "mvn install" in
> modules/distribution.
>
> Andreas
>
> On Mon, Apr 4, 2011 at 16:33, Cuiting Chen <ka...@googlemail.com>
> wrote:
> > Hi Andreas,
> > Thanks a lot! "mvn install" works successfully in my case.
> > And I have one more question: I modified the SOAP handler, then after I
> > build the whole source code, where can I get the new-generated jar files
> to
> > replace the original ones? then I can test my modification works or not.
> > Thanks!
> > Cuiting
> > On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen <
> andreas.veithen@gmail.com>
> > wrote:
> >>
> >> You should always build with "mvn install". The reason is that there
> >> are inter-module dependencies that involve the packaged artifacts of
> >> the dependencies (as opposed to just the compiled classes). In this
> >> particular example, the webapp module depends on the MAR file produced
> >> by the mtompolicy module. This is only generated during the package
> >> phase and is therefore not available when running "mvn compile".
> >>
> >> Andreas
> >>
> >> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen <kathy.chen23@googlemail.com
> >
> >> wrote:
> >> > Hi there,
> >> > I failed in compiling the axis2 source code, the error information is
> as
> >> > following. And a weird thing is: I run the "mvn install" to the code,
> it
> >> > was
> >> > successful, but compile always come out some errors. Could anyone help
> >> > me
> >> > with this? Thanks in advance!
> >> >
> >> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
> >> > [0.421s]
> >> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
> >> > [0.958s]
> >> > [INFO] Apache Axis2 - Root ............................... SKIPPED
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] BUILD FAILURE
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 25.693s
> >> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> >> > [INFO] Final Memory: 43M/106M
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [ERROR] Failed to execute goal
> >> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> >> > APSHOT:create-repository (default) on project axis2-webapp: Error
> >> > copying
> >> > mtompo
> >> > licy-1.7.0-SNAPSHOT.mar:
> >> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> >> > y-mar\target\classes (Access is denied) -> [Help 1]
> >> > [ERROR]
> >> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> the
> >> > -e
> >> > swit
> >> > ch.
> >> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >> > [ERROR]
> >> > [ERROR] For more information about the errors and possible solutions,
> >> > please
> >> > rea
> >> > d the following articles:
> >> > [ERROR] [Help 1]
> >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> >> > xception
> >> > [ERROR]
> >> > [ERROR] After correcting the problems, you can resume the build with
> the
> >> > command
> >> > [ERROR]   mvn <goals> -rf :axis2-webapp
> >> > --
> >> > Best regards,
> >> > Cuiting Chen
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Best regards,
> > Cuiting Chen
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Andreas Veithen <an...@gmail.com>.
In every module, you will find a "target" folder. This is where Maven
places the packaged JAR files. Alternatively, you can build the binary
distribution which packages all JAR files together. This is not part
of the normal build, so you need to do another "mvn install" in
modules/distribution.

Andreas

On Mon, Apr 4, 2011 at 16:33, Cuiting Chen <ka...@googlemail.com> wrote:
> Hi Andreas,
> Thanks a lot! "mvn install" works successfully in my case.
> And I have one more question: I modified the SOAP handler, then after I
> build the whole source code, where can I get the new-generated jar files to
> replace the original ones? then I can test my modification works or not.
> Thanks!
> Cuiting
> On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> You should always build with "mvn install". The reason is that there
>> are inter-module dependencies that involve the packaged artifacts of
>> the dependencies (as opposed to just the compiled classes). In this
>> particular example, the webapp module depends on the MAR file produced
>> by the mtompolicy module. This is only generated during the package
>> phase and is therefore not available when running "mvn compile".
>>
>> Andreas
>>
>> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen <ka...@googlemail.com>
>> wrote:
>> > Hi there,
>> > I failed in compiling the axis2 source code, the error information is as
>> > following. And a weird thing is: I run the "mvn install" to the code, it
>> > was
>> > successful, but compile always come out some errors. Could anyone help
>> > me
>> > with this? Thanks in advance!
>> >
>> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
>> > [0.421s]
>> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
>> > [0.958s]
>> > [INFO] Apache Axis2 - Root ............................... SKIPPED
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 25.693s
>> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
>> > [INFO] Final Memory: 43M/106M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
>> > APSHOT:create-repository (default) on project axis2-webapp: Error
>> > copying
>> > mtompo
>> > licy-1.7.0-SNAPSHOT.mar:
>> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
>> > y-mar\target\classes (Access is denied) -> [Help 1]
>> > [ERROR]
>> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> > -e
>> > swit
>> > ch.
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> > please
>> > rea
>> > d the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>> > xception
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR]   mvn <goals> -rf :axis2-webapp
>> > --
>> > Best regards,
>> > Cuiting Chen
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>
>
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Cuiting Chen <ka...@googlemail.com>.
Hi Andreas,

Thanks a lot! "mvn install" works successfully in my case.

And I have one more question: I modified the SOAP handler, then after I
build the whole source code, where can I get the new-generated jar files to
replace the original ones? then I can test my modification works or not.

Thanks!

Cuiting

On Mon, Apr 4, 2011 at 3:35 PM, Andreas Veithen
<an...@gmail.com>wrote:

> You should always build with "mvn install". The reason is that there
> are inter-module dependencies that involve the packaged artifacts of
> the dependencies (as opposed to just the compiled classes). In this
> particular example, the webapp module depends on the MAR file produced
> by the mtompolicy module. This is only generated during the package
> phase and is therefore not available when running "mvn compile".
>
> Andreas
>
> On Mon, Apr 4, 2011 at 15:16, Cuiting Chen <ka...@googlemail.com>
> wrote:
> > Hi there,
> > I failed in compiling the axis2 source code, the error information is as
> > following. And a weird thing is: I run the "mvn install" to the code, it
> was
> > successful, but compile always come out some errors. Could anyone help me
> > with this? Thanks in advance!
> >
> > [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS
> [0.421s]
> > [INFO] Apache Axis2 - Web Application module ............. FAILURE
> [0.958s]
> > [INFO] Apache Axis2 - Root ............................... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 25.693s
> > [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> > [INFO] Final Memory: 43M/106M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> > APSHOT:create-repository (default) on project axis2-webapp: Error copying
> > mtompo
> > licy-1.7.0-SNAPSHOT.mar:
> > E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> > y-mar\target\classes (Access is denied) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > swit
> > ch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> please
> > rea
> > d the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> > xception
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :axis2-webapp
> > --
> > Best regards,
> > Cuiting Chen
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Best regards,
Cuiting Chen

Re: Cannot compile AXIS2 source code: BUILD FAILURE

Posted by Andreas Veithen <an...@gmail.com>.
You should always build with "mvn install". The reason is that there
are inter-module dependencies that involve the packaged artifacts of
the dependencies (as opposed to just the compiled classes). In this
particular example, the webapp module depends on the MAR file produced
by the mtompolicy module. This is only generated during the package
phase and is therefore not available when running "mvn compile".

Andreas

On Mon, Apr 4, 2011 at 15:16, Cuiting Chen <ka...@googlemail.com> wrote:
> Hi there,
> I failed in compiling the axis2 source code, the error information is as
> following. And a weird thing is: I run the "mvn install" to the code, it was
> successful, but compile always come out some errors. Could anyone help me
> with this? Thanks in advance!
>
> [INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.421s]
> [INFO] Apache Axis2 - Web Application module ............. FAILURE [0.958s]
> [INFO] Apache Axis2 - Root ............................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25.693s
> [INFO] Finished at: Fri Apr 01 16:18:42 CEST 2011
> [INFO] Final Memory: 43M/106M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.axis2:axis2-repo-maven-plugin:1.7.0-SN
> APSHOT:create-repository (default) on project axis2-webapp: Error copying
> mtompo
> licy-1.7.0-SNAPSHOT.mar:
> E:\eclipse_helios\workspace\Axis2Code\modules\mtompolic
> y-mar\target\classes (Access is denied) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> xception
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :axis2-webapp
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org