You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Saminda Abeyruwan <sa...@opensource.lk> on 2006/08/23 16:51:53 UTC

[AXIOM] Building with Maven2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Devs,

Since Axiom project uses Maven2 as the project tool, i tried to build
the project with following,

mvn compile and mvn install. But, i got the following error report,

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Axiom
[INFO]   Axiom API
[INFO]   Axiom Impl
[INFO]   Axiom DOM
[INFO]   Axiom Test Suite
[INFO]
-
----------------------------------------------------------------------------
[INFO] Building Axiom
[INFO]    task-segment: [compile]
[INFO]
-
----------------------------------------------------------------------------
[INFO]
-
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
-
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-assembly-plugin' does
not exist or no valid version could be found
[INFO]
-
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
-
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Aug 23 20:11:50 GMT+05:30 2006
[INFO] Final Memory: 1M/3M
[INFO] ----------------------------------

It's pretty obvious that I'm missing
"org.apache.maven.plugins:maven-assembly-plugin".

I have a tiny understanding of Maven2, sorry. Could any one kindly
enlighten us , how to use "mvn" to build the Axiom project properly.

Thank you

Saminda



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE7GuJYmklbLuW6wYRAsX7AKC6AmkJvp7Q+DFkvu9uxjyzGtcdhQCgvg3O
P1Vz/2d8mjbdEFQL98z9n7A=
=a9rg
-----END PGP SIGNATURE-----

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


Re: [AXIOM] Building with Maven2

Posted by Davanum Srinivas <da...@gmail.com>.
Please run the same command several times, till it downloads that
plugin, if it does not, it means the plugin registry is corrupted so
blow up your .m2 directory and try again.

-- dims

On 8/23/06, Saminda Abeyruwan <sa...@opensource.lk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Devs,
>
> Since Axiom project uses Maven2 as the project tool, i tried to build
> the project with following,
>
> mvn compile and mvn install. But, i got the following error report,
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Axiom
> [INFO]   Axiom API
> [INFO]   Axiom Impl
> [INFO]   Axiom DOM
> [INFO]   Axiom Test Suite
> [INFO]
> -
> ----------------------------------------------------------------------------
> [INFO] Building Axiom
> [INFO]    task-segment: [compile]
> [INFO]
> -
> ----------------------------------------------------------------------------
> [INFO]
> -
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> -
> ----------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-assembly-plugin' does
> not exist or no valid version could be found
> [INFO]
> -
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> -
> ----------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Aug 23 20:11:50 GMT+05:30 2006
> [INFO] Final Memory: 1M/3M
> [INFO] ----------------------------------
>
> It's pretty obvious that I'm missing
> "org.apache.maven.plugins:maven-assembly-plugin".
>
> I have a tiny understanding of Maven2, sorry. Could any one kindly
> enlighten us , how to use "mvn" to build the Axiom project properly.
>
> Thank you
>
> Saminda
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFE7GuJYmklbLuW6wYRAsX7AKC6AmkJvp7Q+DFkvu9uxjyzGtcdhQCgvg3O
> P1Vz/2d8mjbdEFQL98z9n7A=
> =a9rg
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: commons-dev-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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