Multi-module project

View: New views
4 Messages — Rating Filter:   Alert me  

Multi-module project

by Marek Nowicki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

I tried to change my project to multimodule project, but NetBeans display  
"<Badly formed Maven project>" instead of Aurochs.

This is my main pom.xml file:
--- CUT ---
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.aurochshq</groupId>
     <artifactId>aurochs</artifactId>
     <name>Aurochs</name>
     <version>0.2-SNAPSHOT</version>
     <packaging>pom</packaging>
     <!-- -->
     <modules>
         <module>core</module>
         <module>api</module>
     </modules>
</project>
--- CUT ---

When I run validation it don't complain.

Can multi-module projects be developed in NetBeans? How to do that?

regards,
Marek

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Multi-module project

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

are you using the new 3.1.3? since 3.1.2 there should be some
improvements to project loading (eg. the loading is not recursive -
was a bug) that caused the parent project to fail loading when any of
the child projects fail loading as well.
And the 2.1 embedder seemed to fail in recursive load also when the
child module directory was not present.

Any any case it should be working fine. if not there's something wrong
with your projects or the embedder loading is buggy.

are you doing the validation with 2.1-SNAPSHOT maven or 2.0.9? that
would indicate a problem in 2.1 loading..


Milos

On Sat, May 31, 2008 at 6:13 PM, Marek Nowicki <faramir2@...> wrote:

> hello,
>
> I tried to change my project to multimodule project, but NetBeans display
> "<Badly formed Maven project>" instead of Aurochs.
>
> This is my main pom.xml file:
> --- CUT ---
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>org.aurochshq</groupId>
>    <artifactId>aurochs</artifactId>
>    <name>Aurochs</name>
>    <version>0.2-SNAPSHOT</version>
>    <packaging>pom</packaging>
>    <!-- -->
>    <modules>
>        <module>core</module>
>        <module>api</module>
>    </modules>
> </project>
> --- CUT ---
>
> When I run validation it don't complain.
>
> Can multi-module projects be developed in NetBeans? How to do that?
>
> regards,
> Marek
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Multi-module project

by Marek Nowicki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been using 3.1.1. I'll try to use 3.1.3 :). Thanks.
Maybe this is my fault or pom.xml of module was with mistake (because now  
I see it).

// and again red exclamation mark appear but after restart of NB it  
disappear.

regards,
Marek

Dnia 31-05-2008 o 21:44:04 Milos Kleint <mkleint@...> napisał:

> are you using the new 3.1.3? since 3.1.2 there should be some
> improvements to project loading (eg. the loading is not recursive -
> was a bug) that caused the parent project to fail loading when any of
> the child projects fail loading as well.
> And the 2.1 embedder seemed to fail in recursive load also when the
> child module directory was not present.
>
> Any any case it should be working fine. if not there's something wrong
> with your projects or the embedder loading is buggy.
>
> are you doing the validation with 2.1-SNAPSHOT maven or 2.0.9? that
> would indicate a problem in 2.1 loading..
>
>
> Milos
>
> On Sat, May 31, 2008 at 6:13 PM, Marek Nowicki <faramir2@...>  
> wrote:
>> hello,
>>
>> I tried to change my project to multimodule project, but NetBeans  
>> display
>> "<Badly formed Maven project>" instead of Aurochs.
>>
>> This is my main pom.xml file:
>> --- CUT ---
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd">
>>    <modelVersion>4.0.0</modelVersion>
>>    <groupId>org.aurochshq</groupId>
>>    <artifactId>aurochs</artifactId>
>>    <name>Aurochs</name>
>>    <version>0.2-SNAPSHOT</version>
>>    <packaging>pom</packaging>
>>    <!-- -->
>>    <modules>
>>        <module>core</module>
>>        <module>api</module>
>>    </modules>
>> </project>
>> --- CUT ---
>>
>> When I run validation it don't complain.
>>
>> Can multi-module projects be developed in NetBeans? How to do that?
>>
>> regards,
>> Marek
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Multi-module project

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

if it was 3.1.1, then the problem will probably go away with the upgrade..

Milos

On Sun, Jun 1, 2008 at 3:28 PM, Marek Nowicki <faramir2@...> wrote:

> I've been using 3.1.1. I'll try to use 3.1.3 :). Thanks.
> Maybe this is my fault or pom.xml of module was with mistake (because now I
> see it).
>
> // and again red exclamation mark appear but after restart of NB it
> disappear.
>
> regards,
> Marek
>
> Dnia 31-05-2008 o 21:44:04 Milos Kleint <mkleint@...> napisał:
>
>> are you using the new 3.1.3? since 3.1.2 there should be some
>> improvements to project loading (eg. the loading is not recursive -
>> was a bug) that caused the parent project to fail loading when any of
>> the child projects fail loading as well.
>> And the 2.1 embedder seemed to fail in recursive load also when the
>> child module directory was not present.
>>
>> Any any case it should be working fine. if not there's something wrong
>> with your projects or the embedder loading is buggy.
>>
>> are you doing the validation with 2.1-SNAPSHOT maven or 2.0.9? that
>> would indicate a problem in 2.1 loading..
>>
>>
>> Milos
>>
>> On Sat, May 31, 2008 at 6:13 PM, Marek Nowicki <faramir2@...> wrote:
>>>
>>> hello,
>>>
>>> I tried to change my project to multimodule project, but NetBeans display
>>> "<Badly formed Maven project>" instead of Aurochs.
>>>
>>> This is my main pom.xml file:
>>> --- CUT ---
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/maven-v4_0_0.xsd">
>>>   <modelVersion>4.0.0</modelVersion>
>>>   <groupId>org.aurochshq</groupId>
>>>   <artifactId>aurochs</artifactId>
>>>   <name>Aurochs</name>
>>>   <version>0.2-SNAPSHOT</version>
>>>   <packaging>pom</packaging>
>>>   <!-- -->
>>>   <modules>
>>>       <module>core</module>
>>>       <module>api</module>
>>>   </modules>
>>> </project>
>>> --- CUT ---
>>>
>>> When I run validation it don't complain.
>>>
>>> Can multi-module projects be developed in NetBeans? How to do that?
>>>
>>> regards,
>>> Marek
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>  http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>