You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Gero Vermaas <gv...@xebia.com> on 2006/10/05 15:13:54 UTC

Building muse from source

Hi,

I would like to build muse 2.0.0 from the source in order to get the 
jars and all dependencies in my local Maven repository (so basically do 
a 'mvn install'). When I do this from the root directory I get the 
following:
gero@gerolt3:/tmp/muse-2.0.0-src$ mvn install
[INFO] Scanning for projects...
[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 '/tmp/muse-2.0.0-src/preview/pom.xml'.


[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the 
model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Could not 
find the model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1274)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:414)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
        at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
        at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
        ... 11 more
Caused by: java.io.FileNotFoundException: 
/tmp/muse-2.0.0-src/preview/pom.xml (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileReader.<init>(FileReader.java:55)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1269)
        ... 17 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Oct 05 15:09:15 CEST 2006
[INFO] Final Memory: 2M/5M
[INFO] 
------------------------------------------------------------------------


I'm using JDK5 and Maven 2.0.4 on Linux.

Is there a description on how to build Muse from the source downloaded 
from http://www.apache.org/dist/ws/muse/2.0.0/src/muse-2.0.0-src.zip?

Or is Muse already available in one of the public Maven repositories?

Regards,
Gero

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


Re: Building muse from source

Posted by Gero Vermaas <gv...@xebia.com>.
Great, it worked now!

Thanks for the quick response.

Gero

Daniel Jemiolo wrote:
> sorry, it looks like we forgot to remove the 'preview' module in the POM 
> we put in the release. just remove this lines of XML from the root POM:
>
> <dependency>
>   <groupId>muse.preview</groupId>
>   ...
> </dependency>
>
> ...
>
> <module>preview</module>
>
>
> here are the instructions for building the complete distribution - using 
> this system will download/build the preview modules but ignore them:
>
>         http://ws.apache.org/muse/source-code.html
>
>
>
> Gero Vermaas <gv...@xebia.com> wrote on 10/05/2006 09:13:54 AM:
>
>   
>> Hi,
>>
>> I would like to build muse 2.0.0 from the source in order to get the 
>> jars and all dependencies in my local Maven repository (so basically do 
>> a 'mvn install'). When I do this from the root directory I get the 
>> following:
>> gero@gerolt3:/tmp/muse-2.0.0-src$ mvn install
>> [INFO] Scanning for projects...
>> [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 
>>     
> '/tmp/muse-2.0.0-src/preview/pom.xml'.
>   
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Could not find the 
>> model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
>>         at 
>>     
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>   
>>         at 
>>     
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>   
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at 
>>
>>     
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   
>>         at 
>>
>>     
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.project.ProjectBuildingException: Could not 
>> find the model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
>>         at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.
>> readModel(DefaultMavenProjectBuilder.java:1274)
>>         at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.
>> buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:414)
>>         at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.
>> build(DefaultMavenProjectBuilder.java:192)
>>         at 
>>     
> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
>   
>>         at 
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
>>         at 
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
>>         at 
>>     
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
>   
>>         ... 11 more
>> Caused by: java.io.FileNotFoundException: 
>> /tmp/muse-2.0.0-src/preview/pom.xml (No such file or directory)
>>         at java.io.FileInputStream.open(Native Method)
>>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>         at java.io.FileReader.<init>(FileReader.java:55)
>>         at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.
>> readModel(DefaultMavenProjectBuilder.java:1269)
>>         ... 17 more
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 second
>> [INFO] Finished at: Thu Oct 05 15:09:15 CEST 2006
>> [INFO] Final Memory: 2M/5M
>> [INFO] 
>> ------------------------------------------------------------------------
>>
>>
>> I'm using JDK5 and Maven 2.0.4 on Linux.
>>
>> Is there a description on how to build Muse from the source downloaded 
>> from http://www.apache.org/dist/ws/muse/2.0.0/src/muse-2.0.0-src.zip?
>>
>> Or is Muse already available in one of the public Maven repositories?
>>
>> Regards,
>> Gero
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: muse-user-help@ws.apache.org
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
>   

Re: Building muse from source

Posted by Daniel Jemiolo <da...@us.ibm.com>.
sorry, it looks like we forgot to remove the 'preview' module in the POM 
we put in the release. just remove this lines of XML from the root POM:

<dependency>
  <groupId>muse.preview</groupId>
  ...
</dependency>

...

<module>preview</module>


here are the instructions for building the complete distribution - using 
this system will download/build the preview modules but ignore them:

        http://ws.apache.org/muse/source-code.html



Gero Vermaas <gv...@xebia.com> wrote on 10/05/2006 09:13:54 AM:

> Hi,
> 
> I would like to build muse 2.0.0 from the source in order to get the 
> jars and all dependencies in my local Maven repository (so basically do 
> a 'mvn install'). When I do this from the root directory I get the 
> following:
> gero@gerolt3:/tmp/muse-2.0.0-src$ mvn install
> [INFO] Scanning for projects...
> [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 
'/tmp/muse-2.0.0-src/preview/pom.xml'.
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Could not find the 
> model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
>         at 
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>         at 
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Could not 
> find the model file '/tmp/muse-2.0.0-src/preview/pom.xml'.
>         at 
> org.apache.maven.project.DefaultMavenProjectBuilder.
> readModel(DefaultMavenProjectBuilder.java:1274)
>         at 
> org.apache.maven.project.DefaultMavenProjectBuilder.
> buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:414)
>         at 
> org.apache.maven.project.DefaultMavenProjectBuilder.
> build(DefaultMavenProjectBuilder.java:192)
>         at 
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
>         at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
>         at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
>         at 
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
>         ... 11 more
> Caused by: java.io.FileNotFoundException: 
> /tmp/muse-2.0.0-src/preview/pom.xml (No such file or directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileReader.<init>(FileReader.java:55)
>         at 
> org.apache.maven.project.DefaultMavenProjectBuilder.
> readModel(DefaultMavenProjectBuilder.java:1269)
>         ... 17 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Oct 05 15:09:15 CEST 2006
> [INFO] Final Memory: 2M/5M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> I'm using JDK5 and Maven 2.0.4 on Linux.
> 
> Is there a description on how to build Muse from the source downloaded 
> from http://www.apache.org/dist/ws/muse/2.0.0/src/muse-2.0.0-src.zip?
> 
> Or is Muse already available in one of the public Maven repositories?
> 
> Regards,
> Gero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
> 


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