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 Shantanu Sen <ss...@pacbell.net> on 2007/05/01 22:49:55 UTC

Axis2: building 1.2 with maven 2.0.6

Has anyone tried to build the released 1.2 source files with maven 2.0.6? I am getting the following error and I do not see any clustering module in the released source. Is the pom.xml incorrect for maven 2.0.6? Why is the clustering module not included in the src?

Thanks for any help.
Shantanu Sen

D:\axis2>mvn war
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
3K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file 'D:\axis2\modules\clustering\pom.xml'.


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the model file
'D:\axis2\modules\clustering\pom.xml'.
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)


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


Re: Axis2: building 1.2 with maven 2.0.6

Posted by Afkham Azeez <af...@gmail.com>.
In the main pom.xml, search for the entry,
<module>modules/clustering</module>

and comment it out.

-- Azeez

On 5/2/07, Afkham Azeez <af...@gmail.com> wrote:
>
> Looks like a problem in the pom.xml. Full clustering functionality is not
> available in the 1.2 release. The clustering implementation has been
> carried out only on the Axis2 trunk, not the 1.2 branch. Please remove the
> entry for the axis2-clustering module.
>
> Azeez
>
> On 5/2/07, Shantanu Sen <ss...@pacbell.net> wrote:
> >
> > Has anyone tried to build the released 1.2 source files with maven 2.0.6?
> > I am getting the following error and I do not see any clustering module in
> > the released source. Is the pom.xml incorrect for maven 2.0.6? Why is
> > the clustering module not included in the src?
> >
> > Thanks for any help.
> > Shantanu Sen
> >
> > D:\axis2>mvn war
> > [INFO] Scanning for projects...
> > Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> >
> > 3K downloaded
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: unknown
> >
> > Reason: Could not find the model file
> > 'D:\axis2\modules\clustering\pom.xml'.
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > model file
> > 'D:\axis2\modules\clustering\pom.xml'.
> >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > :378)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :290)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.codehaus.classworlds.Launcher.launchEnhanced(
> > Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at org.codehaus.classworlds.Launcher.mainWithExitCode (
> > Launcher.java:430)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
>
> --
> Thanks
> Afkham Azeez
>
> http://www.wso2.org
> GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760




-- 
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Re: Axis2: building 1.2 with maven 2.0.6

Posted by Afkham Azeez <af...@gmail.com>.
Looks like a problem in the pom.xml. Full clustering functionality is not
available in the 1.2 release. The clustering implementation has been carried
out only on the Axis2 trunk, not the 1.2 branch. Please remove the entry for
the axis2-clustering module.

Azeez

On 5/2/07, Shantanu Sen <ss...@pacbell.net> wrote:
>
> Has anyone tried to build the released 1.2 source files with maven 2.0.6?
> I am getting the following error and I do not see any clustering module in
> the released source. Is the pom.xml incorrect for maven 2.0.6? Why is the
> clustering module not included in the src?
>
> Thanks for any help.
> Shantanu Sen
>
> D:\axis2>mvn war
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> 3K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: unknown
>
> Reason: Could not find the model file
> 'D:\axis2\modules\clustering\pom.xml'.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Could not find the model
> file
> 'D:\axis2\modules\clustering\pom.xml'.
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :378)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java:430)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760