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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]>
>> 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
>> > <[email protected]>
>> > 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
>> >> <[email protected]>
>> >> 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: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >
>> >
>> >
>> > --
>> > Best regards,
>> > Cuiting Chen
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
>
> --
> Best regards,
> Cuiting Chen
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to