You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/11/17 08:21:30 UTC

[m2] Using

Hi,

I have a problem using <modules/> and I don't know if it is a bug or maybe
I'm doing something wrong:

This is my structure (note that I use a master pom that defines my slightly
different structure):

+ modules
+ utils
+ utils-lang
+ pom.xml
+ src
+ main
+ test
+ utils-logging
+ pom.xml
+ src
+ main
+ test

The utils-lang module depends on the utils-logging module, so I've put in
the pom.xml of utils-lang:

<modules>
<module>../utils-logging</module>
</modules>

When I then run 'mvn compile' from the utils-lang dir, I get the following
output:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Utils Logging Module
[INFO] Utils Lang Module
[INFO]
----------------------------------------------------------------------------
[INFO] Building Utils Logging Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
----------------------------------------------------------------------------
[INFO] Building Utils Lang Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO]
[INFO]
[INFO]
----------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
----------------------------------------------------------------------------
[INFO] Utils Logging Module ................................... SUCCESS [
1.266s]
[INFO] Utils Lang Module ...................................... SUCCESS [
0.000s]
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Nov 17 08:14:31 CET 2005
[INFO] Final Memory: 2M/5M
[INFO]
----------------------------------------------------------------------------


So the module i'm trying to compile does not get build. The module that I
depend on, do gets build. What does the error 'No goals needed for project -
skipping' mean? Any clue on what goes wrong?

regards,

Wim

Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
And it's back up: http://jira.codehaus.org/browse/MNG-1619

regards,

Wim

2005/11/18, Wim Deblauwe <wi...@gmail.com>:
>
> Hmmm... JIRA is down currently (http://jira.codehaus.org)
>
>
> 2005/11/18, Brett Porter <br...@gmail.com>:
> >
> > Sure, please attach it to a JIRA issue.
> >
> > Thanks,
> > Brett
> >
> > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > Hi Brett,
> > >
> > > Is it ok if I send you a 60 KB zip file with my setup so you can take
> > a look
> > > at it? It will probably make things clearer that way.
> > >
> > > regards,
> > >
> > > Wim
> > >
> > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > >
> > > > The group ID's are different - is that intentional?
> > > >
> > > > Are you sure that the message you were getting is only in the parent
> > > > pom (as expected)?
> > > >
> > > > Other than that, I'm having trouble understanding what you are
> > doing.
> > > > Parent doesn't have to be the inverse of modules, it just generally
> > is
> > > > that way to be less confusing.
> > > >
> > > > pom.xml
> > > > id = root
> > > > <modules: a, b
> > > >
> > > > a/pom.xml
> > > > <parent: root
> > > >
> > > > b/pom.xml
> > > > <parent: root
> > > > <dependency: a
> > > >
> > > > for example.
> > > >
> > > > - Brett
> > > >
> > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > Hmm... They both have the same parent. This parent is a pom
> > package
> > > > defining
> > > > > all the basics for my java modules. This is the parent:
> > > > >
> > > > > <groupId>com.mycomp.build</groupId>
> > > > > <artifactId>build-java</artifactId>
> > > > > <version>1.0-SNAPSHOT</version>
> > > > > <packaging>pom</packaging>
> > > > >
> > > > > And in both modules:
> > > > >
> > > > > <parent>
> > > > > <groupId>com.barcoview.mis.build</groupId>
> > > > > <artifactId>build-java</artifactId>
> > > > > <version>1.0-SNAPSHOT</version>
> > > > > </parent>
> > > > >
> > > > > How should I handle this case? I'm using the <modules/> tag,
> > because I'm
> > > > > developing both modules at the same time, and I would like to call
> > 'mvn
> > > > > package' on the "top"-module and the module this "top"-module
> > depends on
> > > > > also gets build. I hope you understand what I'm trying to archive.
> > > > >
> > > > > regards,
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > 2005/11/18, Brett Porter < brett.porter@gmail.com>:
> > > > > >
> > > > > > Do they have a parent?
> > > > > >
> > > > > > I was a little confused by something you said earlier that just
> > > > > > clicked: you depend lang depends on logging, but you have a lang
> > > > > > module in logging? Module is (sort of) the inverse of a parent
> > > > > > relationship, which is different to a dependency.
> > > > > >
> > > > > > Maybe the dependency tree is getting confused by something in
> > this
> > > > regard.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On 11/18/05, Wim Deblauwe < wim.deblauwe@gmail.com> wrote:
> > > > > > > I saw that other thread, but my projects have a different
> > > > artifactId:
> > > > > > >
> > > > > > > <groupId> com.mycomp.utils</groupId>
> > > > > > > <artifactId>utils-lang</artifactId>
> > > > > > >
> > > > > > > <groupId>com.mycomp.utils</groupId>
> > > > > > > <artifactId>utils-logging</artifactId>
> > > > > > >
> > > > > > > so, maybe still something else?
> > > > > > >
> > > > > > > regards,
> > > > > > >
> > > > > > > Wim
> > > > > > >
> > > > > > >
> > > > > > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > > > > > >
> > > > > > > > Yes, it was discovered on another thread that its because
> > the
> > > > > > > > artifactId is the same in two modules.
> > > > > > > >
> > > > > > > > - Brett
> > > > > > > >
> > > > > > > > On 11/18/05, Wim Deblauwe < wim.deblauwe@gmail.com> wrote:
> > > > > > > > > Both modules are defined as 'jar', so that can't be the
> > problem.
> > > > I
> > > > > > can
> > > > > > > > > assume then that this is a bug?
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > >
> > > > > > > > > Wim
> > > > > > > > >
> > > > > > > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > > > > > > >
> > > > > > > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com>
> > wrote:
> > > > > > > > > > > What does the error 'No goals needed for project -
> > > > > > > > > > > skipping' mean? Any clue on what goes wrong?
> > > > > > > > > >
> > > > > > > > > > Nothing was bound to the lifecycle for your packaging.
> > Check
> > > > > > > > > > <packaging> is jar or something else that defines a
> > compile or
> > > > > > prior
> > > > > > > > > > step.
> > > > > > > > > >
> > > > > > > > > > - Brett
> > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > > > > > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > users-help@maven.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
Hmmm... JIRA is down currently (http://jira.codehaus.org)


2005/11/18, Brett Porter <br...@gmail.com>:
>
> Sure, please attach it to a JIRA issue.
>
> Thanks,
> Brett
>
> On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > Hi Brett,
> >
> > Is it ok if I send you a 60 KB zip file with my setup so you can take a
> look
> > at it? It will probably make things clearer that way.
> >
> > regards,
> >
> > Wim
> >
> > 2005/11/18, Brett Porter <br...@gmail.com>:
> > >
> > > The group ID's are different - is that intentional?
> > >
> > > Are you sure that the message you were getting is only in the parent
> > > pom (as expected)?
> > >
> > > Other than that, I'm having trouble understanding what you are doing.
> > > Parent doesn't have to be the inverse of modules, it just generally is
> > > that way to be less confusing.
> > >
> > > pom.xml
> > > id = root
> > > <modules: a, b
> > >
> > > a/pom.xml
> > > <parent: root
> > >
> > > b/pom.xml
> > > <parent: root
> > > <dependency: a
> > >
> > > for example.
> > >
> > > - Brett
> > >
> > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > Hmm... They both have the same parent. This parent is a pom package
> > > defining
> > > > all the basics for my java modules. This is the parent:
> > > >
> > > > <groupId>com.mycomp.build</groupId>
> > > > <artifactId>build-java</artifactId>
> > > > <version>1.0-SNAPSHOT</version>
> > > > <packaging>pom</packaging>
> > > >
> > > > And in both modules:
> > > >
> > > > <parent>
> > > > <groupId>com.barcoview.mis.build</groupId>
> > > > <artifactId>build-java</artifactId>
> > > > <version>1.0-SNAPSHOT</version>
> > > > </parent>
> > > >
> > > > How should I handle this case? I'm using the <modules/> tag, because
> I'm
> > > > developing both modules at the same time, and I would like to call
> 'mvn
> > > > package' on the "top"-module and the module this "top"-module
> depends on
> > > > also gets build. I hope you understand what I'm trying to archive.
> > > >
> > > > regards,
> > > >
> > > > Wim
> > > >
> > > >
> > > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > > >
> > > > > Do they have a parent?
> > > > >
> > > > > I was a little confused by something you said earlier that just
> > > > > clicked: you depend lang depends on logging, but you have a lang
> > > > > module in logging? Module is (sort of) the inverse of a parent
> > > > > relationship, which is different to a dependency.
> > > > >
> > > > > Maybe the dependency tree is getting confused by something in this
> > > regard.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > I saw that other thread, but my projects have a different
> > > artifactId:
> > > > > >
> > > > > > <groupId>com.mycomp.utils</groupId>
> > > > > > <artifactId>utils-lang</artifactId>
> > > > > >
> > > > > > <groupId>com.mycomp.utils</groupId>
> > > > > > <artifactId>utils-logging</artifactId>
> > > > > >
> > > > > > so, maybe still something else?
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > >
> > > > > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > > > > >
> > > > > > > Yes, it was discovered on another thread that its because the
> > > > > > > artifactId is the same in two modules.
> > > > > > >
> > > > > > > - Brett
> > > > > > >
> > > > > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > > Both modules are defined as 'jar', so that can't be the
> problem.
> > > I
> > > > > can
> > > > > > > > assume then that this is a bug?
> > > > > > > >
> > > > > > > > regards,
> > > > > > > >
> > > > > > > > Wim
> > > > > > > >
> > > > > > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > > > > > >
> > > > > > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > > > > What does the error 'No goals needed for project -
> > > > > > > > > > skipping' mean? Any clue on what goes wrong?
> > > > > > > > >
> > > > > > > > > Nothing was bound to the lifecycle for your packaging.
> Check
> > > > > > > > > <packaging> is jar or something else that defines a
> compile or
> > > > > prior
> > > > > > > > > step.
> > > > > > > > >
> > > > > > > > > - Brett
> > > > > > > > >
> > > > > > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > For additional commands, e-mail:
> users-help@maven.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Brett Porter <br...@gmail.com>.
Sure, please attach it to a JIRA issue.

Thanks,
Brett

On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> Hi Brett,
>
> Is it ok if I send you a 60 KB zip file with my setup so you can take a look
> at it? It will probably make things clearer that way.
>
> regards,
>
> Wim
>
> 2005/11/18, Brett Porter <br...@gmail.com>:
> >
> > The group ID's are different - is that intentional?
> >
> > Are you sure that the message you were getting is only in the parent
> > pom (as expected)?
> >
> > Other than that, I'm having trouble understanding what you are doing.
> > Parent doesn't have to be the inverse of modules, it just generally is
> > that way to be less confusing.
> >
> > pom.xml
> > id = root
> > <modules: a, b
> >
> > a/pom.xml
> > <parent: root
> >
> > b/pom.xml
> > <parent: root
> > <dependency: a
> >
> > for example.
> >
> > - Brett
> >
> > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > Hmm... They both have the same parent. This parent is a pom package
> > defining
> > > all the basics for my java modules. This is the parent:
> > >
> > > <groupId>com.mycomp.build</groupId>
> > > <artifactId>build-java</artifactId>
> > > <version>1.0-SNAPSHOT</version>
> > > <packaging>pom</packaging>
> > >
> > > And in both modules:
> > >
> > > <parent>
> > > <groupId>com.barcoview.mis.build</groupId>
> > > <artifactId>build-java</artifactId>
> > > <version>1.0-SNAPSHOT</version>
> > > </parent>
> > >
> > > How should I handle this case? I'm using the <modules/> tag, because I'm
> > > developing both modules at the same time, and I would like to call 'mvn
> > > package' on the "top"-module and the module this "top"-module depends on
> > > also gets build. I hope you understand what I'm trying to archive.
> > >
> > > regards,
> > >
> > > Wim
> > >
> > >
> > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > >
> > > > Do they have a parent?
> > > >
> > > > I was a little confused by something you said earlier that just
> > > > clicked: you depend lang depends on logging, but you have a lang
> > > > module in logging? Module is (sort of) the inverse of a parent
> > > > relationship, which is different to a dependency.
> > > >
> > > > Maybe the dependency tree is getting confused by something in this
> > regard.
> > > >
> > > > - Brett
> > > >
> > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > I saw that other thread, but my projects have a different
> > artifactId:
> > > > >
> > > > > <groupId>com.mycomp.utils</groupId>
> > > > > <artifactId>utils-lang</artifactId>
> > > > >
> > > > > <groupId>com.mycomp.utils</groupId>
> > > > > <artifactId>utils-logging</artifactId>
> > > > >
> > > > > so, maybe still something else?
> > > > >
> > > > > regards,
> > > > >
> > > > > Wim
> > > > >
> > > > >
> > > > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > > > >
> > > > > > Yes, it was discovered on another thread that its because the
> > > > > > artifactId is the same in two modules.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > Both modules are defined as 'jar', so that can't be the problem.
> > I
> > > > can
> > > > > > > assume then that this is a bug?
> > > > > > >
> > > > > > > regards,
> > > > > > >
> > > > > > > Wim
> > > > > > >
> > > > > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > > > > >
> > > > > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > > > What does the error 'No goals needed for project -
> > > > > > > > > skipping' mean? Any clue on what goes wrong?
> > > > > > > >
> > > > > > > > Nothing was bound to the lifecycle for your packaging. Check
> > > > > > > > <packaging> is jar or something else that defines a compile or
> > > > prior
> > > > > > > > step.
> > > > > > > >
> > > > > > > > - Brett
> > > > > > > >
> > > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
Hi Brett,

Is it ok if I send you a 60 KB zip file with my setup so you can take a look
at it? It will probably make things clearer that way.

regards,

Wim

2005/11/18, Brett Porter <br...@gmail.com>:
>
> The group ID's are different - is that intentional?
>
> Are you sure that the message you were getting is only in the parent
> pom (as expected)?
>
> Other than that, I'm having trouble understanding what you are doing.
> Parent doesn't have to be the inverse of modules, it just generally is
> that way to be less confusing.
>
> pom.xml
> id = root
> <modules: a, b
>
> a/pom.xml
> <parent: root
>
> b/pom.xml
> <parent: root
> <dependency: a
>
> for example.
>
> - Brett
>
> On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > Hmm... They both have the same parent. This parent is a pom package
> defining
> > all the basics for my java modules. This is the parent:
> >
> > <groupId>com.mycomp.build</groupId>
> > <artifactId>build-java</artifactId>
> > <version>1.0-SNAPSHOT</version>
> > <packaging>pom</packaging>
> >
> > And in both modules:
> >
> > <parent>
> > <groupId>com.barcoview.mis.build</groupId>
> > <artifactId>build-java</artifactId>
> > <version>1.0-SNAPSHOT</version>
> > </parent>
> >
> > How should I handle this case? I'm using the <modules/> tag, because I'm
> > developing both modules at the same time, and I would like to call 'mvn
> > package' on the "top"-module and the module this "top"-module depends on
> > also gets build. I hope you understand what I'm trying to archive.
> >
> > regards,
> >
> > Wim
> >
> >
> > 2005/11/18, Brett Porter <br...@gmail.com>:
> > >
> > > Do they have a parent?
> > >
> > > I was a little confused by something you said earlier that just
> > > clicked: you depend lang depends on logging, but you have a lang
> > > module in logging? Module is (sort of) the inverse of a parent
> > > relationship, which is different to a dependency.
> > >
> > > Maybe the dependency tree is getting confused by something in this
> regard.
> > >
> > > - Brett
> > >
> > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > I saw that other thread, but my projects have a different
> artifactId:
> > > >
> > > > <groupId>com.mycomp.utils</groupId>
> > > > <artifactId>utils-lang</artifactId>
> > > >
> > > > <groupId>com.mycomp.utils</groupId>
> > > > <artifactId>utils-logging</artifactId>
> > > >
> > > > so, maybe still something else?
> > > >
> > > > regards,
> > > >
> > > > Wim
> > > >
> > > >
> > > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > > >
> > > > > Yes, it was discovered on another thread that its because the
> > > > > artifactId is the same in two modules.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > Both modules are defined as 'jar', so that can't be the problem.
> I
> > > can
> > > > > > assume then that this is a bug?
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > > > >
> > > > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > > What does the error 'No goals needed for project -
> > > > > > > > skipping' mean? Any clue on what goes wrong?
> > > > > > >
> > > > > > > Nothing was bound to the lifecycle for your packaging. Check
> > > > > > > <packaging> is jar or something else that defines a compile or
> > > prior
> > > > > > > step.
> > > > > > >
> > > > > > > - Brett
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Brett Porter <br...@gmail.com>.
The group ID's are different - is that intentional?

Are you sure that the message you were getting is only in the parent
pom (as expected)?

Other than that, I'm having trouble understanding what you are doing.
Parent doesn't have to be the inverse of modules, it just generally is
that way to be less confusing.

pom.xml
  id = root
  <modules: a, b

a/pom.xml
  <parent: root

b/pom.xml
  <parent: root
  <dependency: a

for example.

- Brett

On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> Hmm... They both have the same parent. This parent is a pom package defining
> all the basics for my java modules. This is the parent:
>
> <groupId>com.mycomp.build</groupId>
> <artifactId>build-java</artifactId>
> <version>1.0-SNAPSHOT</version>
> <packaging>pom</packaging>
>
> And in both modules:
>
> <parent>
> <groupId>com.barcoview.mis.build</groupId>
> <artifactId>build-java</artifactId>
> <version>1.0-SNAPSHOT</version>
> </parent>
>
> How should I handle this case? I'm using the <modules/> tag, because I'm
> developing both modules at the same time, and I would like to call 'mvn
> package' on the "top"-module and the module this "top"-module depends on
> also gets build. I hope you understand what I'm trying to archive.
>
> regards,
>
> Wim
>
>
> 2005/11/18, Brett Porter <br...@gmail.com>:
> >
> > Do they have a parent?
> >
> > I was a little confused by something you said earlier that just
> > clicked: you depend lang depends on logging, but you have a lang
> > module in logging? Module is (sort of) the inverse of a parent
> > relationship, which is different to a dependency.
> >
> > Maybe the dependency tree is getting confused by something in this regard.
> >
> > - Brett
> >
> > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > I saw that other thread, but my projects have a different artifactId:
> > >
> > > <groupId>com.mycomp.utils</groupId>
> > > <artifactId>utils-lang</artifactId>
> > >
> > > <groupId>com.mycomp.utils</groupId>
> > > <artifactId>utils-logging</artifactId>
> > >
> > > so, maybe still something else?
> > >
> > > regards,
> > >
> > > Wim
> > >
> > >
> > > 2005/11/18, Brett Porter <br...@gmail.com>:
> > > >
> > > > Yes, it was discovered on another thread that its because the
> > > > artifactId is the same in two modules.
> > > >
> > > > - Brett
> > > >
> > > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > Both modules are defined as 'jar', so that can't be the problem. I
> > can
> > > > > assume then that this is a bug?
> > > > >
> > > > > regards,
> > > > >
> > > > > Wim
> > > > >
> > > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > > >
> > > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > > What does the error 'No goals needed for project -
> > > > > > > skipping' mean? Any clue on what goes wrong?
> > > > > >
> > > > > > Nothing was bound to the lifecycle for your packaging. Check
> > > > > > <packaging> is jar or something else that defines a compile or
> > prior
> > > > > > step.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
Hmm... They both have the same parent. This parent is a pom package defining
all the basics for my java modules. This is the parent:

<groupId>com.mycomp.build</groupId>
<artifactId>build-java</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>

And in both modules:

<parent>
<groupId>com.barcoview.mis.build</groupId>
<artifactId>build-java</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

How should I handle this case? I'm using the <modules/> tag, because I'm
developing both modules at the same time, and I would like to call 'mvn
package' on the "top"-module and the module this "top"-module depends on
also gets build. I hope you understand what I'm trying to archive.

regards,

Wim


2005/11/18, Brett Porter <br...@gmail.com>:
>
> Do they have a parent?
>
> I was a little confused by something you said earlier that just
> clicked: you depend lang depends on logging, but you have a lang
> module in logging? Module is (sort of) the inverse of a parent
> relationship, which is different to a dependency.
>
> Maybe the dependency tree is getting confused by something in this regard.
>
> - Brett
>
> On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > I saw that other thread, but my projects have a different artifactId:
> >
> > <groupId>com.mycomp.utils</groupId>
> > <artifactId>utils-lang</artifactId>
> >
> > <groupId>com.mycomp.utils</groupId>
> > <artifactId>utils-logging</artifactId>
> >
> > so, maybe still something else?
> >
> > regards,
> >
> > Wim
> >
> >
> > 2005/11/18, Brett Porter <br...@gmail.com>:
> > >
> > > Yes, it was discovered on another thread that its because the
> > > artifactId is the same in two modules.
> > >
> > > - Brett
> > >
> > > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > Both modules are defined as 'jar', so that can't be the problem. I
> can
> > > > assume then that this is a bug?
> > > >
> > > > regards,
> > > >
> > > > Wim
> > > >
> > > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > > >
> > > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > > What does the error 'No goals needed for project -
> > > > > > skipping' mean? Any clue on what goes wrong?
> > > > >
> > > > > Nothing was bound to the lifecycle for your packaging. Check
> > > > > <packaging> is jar or something else that defines a compile or
> prior
> > > > > step.
> > > > >
> > > > > - Brett
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Brett Porter <br...@gmail.com>.
Do they have a parent?

I was a little confused by something you said earlier that just
clicked: you depend lang depends on logging, but you have a lang
module in logging? Module is (sort of) the inverse of a parent
relationship, which is different to a dependency.

Maybe the dependency tree is getting confused by something in this regard.

- Brett

On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> I saw that other thread, but my projects have a different artifactId:
>
> <groupId>com.mycomp.utils</groupId>
> <artifactId>utils-lang</artifactId>
>
> <groupId>com.mycomp.utils</groupId>
> <artifactId>utils-logging</artifactId>
>
> so, maybe still something else?
>
> regards,
>
> Wim
>
>
> 2005/11/18, Brett Porter <br...@gmail.com>:
> >
> > Yes, it was discovered on another thread that its because the
> > artifactId is the same in two modules.
> >
> > - Brett
> >
> > On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > Both modules are defined as 'jar', so that can't be the problem. I can
> > > assume then that this is a bug?
> > >
> > > regards,
> > >
> > > Wim
> > >
> > > 2005/11/17, Brett Porter <br...@gmail.com>:
> > > >
> > > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > > What does the error 'No goals needed for project -
> > > > > skipping' mean? Any clue on what goes wrong?
> > > >
> > > > Nothing was bound to the lifecycle for your packaging. Check
> > > > <packaging> is jar or something else that defines a compile or prior
> > > > step.
> > > >
> > > > - Brett
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
I saw that other thread, but my projects have a different artifactId:

<groupId>com.mycomp.utils</groupId>
<artifactId>utils-lang</artifactId>

<groupId>com.mycomp.utils</groupId>
<artifactId>utils-logging</artifactId>

so, maybe still something else?

regards,

Wim


2005/11/18, Brett Porter <br...@gmail.com>:
>
> Yes, it was discovered on another thread that its because the
> artifactId is the same in two modules.
>
> - Brett
>
> On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > Both modules are defined as 'jar', so that can't be the problem. I can
> > assume then that this is a bug?
> >
> > regards,
> >
> > Wim
> >
> > 2005/11/17, Brett Porter <br...@gmail.com>:
> > >
> > > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > > What does the error 'No goals needed for project -
> > > > skipping' mean? Any clue on what goes wrong?
> > >
> > > Nothing was bound to the lifecycle for your packaging. Check
> > > <packaging> is jar or something else that defines a compile or prior
> > > step.
> > >
> > > - Brett
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Brett Porter <br...@gmail.com>.
Yes, it was discovered on another thread that its because the
artifactId is the same in two modules.

- Brett

On 11/18/05, Wim Deblauwe <wi...@gmail.com> wrote:
> Both modules are defined as 'jar', so that can't be the problem. I can
> assume then that this is a bug?
>
> regards,
>
> Wim
>
> 2005/11/17, Brett Porter <br...@gmail.com>:
> >
> > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > What does the error 'No goals needed for project -
> > > skipping' mean? Any clue on what goes wrong?
> >
> > Nothing was bound to the lifecycle for your packaging. Check
> > <packaging> is jar or something else that defines a compile or prior
> > step.
> >
> > - Brett
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
Both modules are defined as 'jar', so that can't be the problem. I can
assume then that this is a bug?

regards,

Wim

2005/11/17, Brett Porter <br...@gmail.com>:
>
> On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > What does the error 'No goals needed for project -
> > skipping' mean? Any clue on what goes wrong?
>
> Nothing was bound to the lifecycle for your packaging. Check
> <packaging> is jar or something else that defines a compile or prior
> step.
>
> - Brett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Brett Porter <br...@gmail.com>.
On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> What does the error 'No goals needed for project -
> skipping' mean? Any clue on what goes wrong?

Nothing was bound to the lifecycle for your packaging. Check
<packaging> is jar or something else that defines a compile or prior
step.

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Anuerin Diaz <ra...@gmail.com>.
sorry, i was just clarifying it since you did not show if the same
layout applies to all sub-modules.

you can also configure the source directory using the
maven-compiler-plugin. i was just browsing its documentation page
because i realized that all compilations have debug turned on
(shouldn't it be more logical to have it turned off, and let the
developers turn it on when they are needed?)

http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

ciao!

On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> I have said that in my initial post. They do not follow the layout and I
> have created a parent pom that both extend.
> In that parent pom, I have this:
>
> <project>
> <build>
> <directory>temp</directory>
> <outputDirectory>temp/classes</outputDirectory>
> <finalName>${artifactId}-${version}</finalName>
> <testOutputDirectory>temp/test-classes</testOutputDirectory>
> <sourceDirectory>src/main</sourceDirectory>
> <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
> <testSourceDirectory>src/test</testSourceDirectory>
> <resources>
> <resource>
> <directory>src/resources</directory>
> </resource>
> </resources>
> <testResources>
> <testResource>
> <directory>src/resources</directory>
> </testResource>
> </testResources>
> </build>
> ...
> </project>
>
> Maybe I should specify add ${basedir} or something simular?
>
> regards,
>
> Wim
>
> 2005/11/17, Anuerin Diaz <ra...@gmail.com>:
> >
> > a few questions:
> >
> > - does utils-lang and utils-logging follow the expected directory layout?
> > - if the answer to the first question is no, did you adjust the
> > project descriptors of each project accordingly?
> >
> > sometime i get that "all classes are up to date" after a compilation
> > failure. what i usually do is clean everything up so everything needs
> > to be compiled again.
> >
> > ciao!
> >
> > On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > Hi,
> > >
> > > I have a problem using <modules/> and I don't know if it is a bug or
> > maybe
> > > I'm doing something wrong:
> > >
> > > This is my structure (note that I use a master pom that defines my
> > slightly
> > > different structure):
> > >
> > > + modules
> > > + utils
> > > + utils-lang
> > > + pom.xml
> > > + src
> > > + main
> > > + test
> > > + utils-logging
> > > + pom.xml
> > > + src
> > > + main
> > > + test
> > >
> > > The utils-lang module depends on the utils-logging module, so I've put
> > in
> > > the pom.xml of utils-lang:
> > >
> > > <modules>
> > > <module>../utils-logging</module>
> > > </modules>
> > >
> > > When I then run 'mvn compile' from the utils-lang dir, I get the
> > following
> > > output:
> > >
> > > [INFO] Scanning for projects...
> > > [INFO] Reactor build order:
> > > [INFO] Utils Logging Module
> > > [INFO] Utils Lang Module
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Building Utils Logging Module
> > > [INFO] task-segment: [compile]
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] [resources:resources]
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO] [compiler:compile]
> > > [INFO] Nothing to compile - all classes are up to date
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Building Utils Lang Module
> > > [INFO] task-segment: [compile]
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] No goals needed for project - skipping
> > > [INFO]
> > > [INFO]
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Utils Logging Module ................................... SUCCESS
> > [
> > > 1.266s]
> > > [INFO] Utils Lang Module ...................................... SUCCESS
> > [
> > > 0.000s]
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESSFUL
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Total time: 1 second
> > > [INFO] Finished at: Thu Nov 17 08:14:31 CET 2005
> > > [INFO] Final Memory: 2M/5M
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > >
> > >
> > > So the module i'm trying to compile does not get build. The module that
> > I
> > > depend on, do gets build. What does the error 'No goals needed for
> > project -
> > > skipping' mean? Any clue on what goes wrong?
> > >
> > > regards,
> > >
> > > Wim
> > >
> > >
> >
> >
> > --
> >
> > "Programming, an artform that fights back"
> >
> > Anuerin G. Diaz
> > Registered Linux User #246176
> > Friendly Linux Board @ http://mandrivausers.org/index.php
> > http://capsule.ramfree17.org , when you absolutely have nothing else
> > better to do
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>


--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Using

Posted by Wim Deblauwe <wi...@gmail.com>.
I have said that in my initial post. They do not follow the layout and I
have created a parent pom that both extend.
In that parent pom, I have this:

<project>
<build>
<directory>temp</directory>
<outputDirectory>temp/classes</outputDirectory>
<finalName>${artifactId}-${version}</finalName>
<testOutputDirectory>temp/test-classes</testOutputDirectory>
<sourceDirectory>src/main</sourceDirectory>
<scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<resources>
<resource>
<directory>src/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/resources</directory>
</testResource>
</testResources>
</build>
...
</project>

Maybe I should specify add ${basedir} or something simular?

regards,

Wim

2005/11/17, Anuerin Diaz <ra...@gmail.com>:
>
> a few questions:
>
> - does utils-lang and utils-logging follow the expected directory layout?
> - if the answer to the first question is no, did you adjust the
> project descriptors of each project accordingly?
>
> sometime i get that "all classes are up to date" after a compilation
> failure. what i usually do is clean everything up so everything needs
> to be compiled again.
>
> ciao!
>
> On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > Hi,
> >
> > I have a problem using <modules/> and I don't know if it is a bug or
> maybe
> > I'm doing something wrong:
> >
> > This is my structure (note that I use a master pom that defines my
> slightly
> > different structure):
> >
> > + modules
> > + utils
> > + utils-lang
> > + pom.xml
> > + src
> > + main
> > + test
> > + utils-logging
> > + pom.xml
> > + src
> > + main
> > + test
> >
> > The utils-lang module depends on the utils-logging module, so I've put
> in
> > the pom.xml of utils-lang:
> >
> > <modules>
> > <module>../utils-logging</module>
> > </modules>
> >
> > When I then run 'mvn compile' from the utils-lang dir, I get the
> following
> > output:
> >
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO] Utils Logging Module
> > [INFO] Utils Lang Module
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Utils Logging Module
> > [INFO] task-segment: [compile]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Utils Lang Module
> > [INFO] task-segment: [compile]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] No goals needed for project - skipping
> > [INFO]
> > [INFO]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Utils Logging Module ................................... SUCCESS
> [
> > 1.266s]
> > [INFO] Utils Lang Module ...................................... SUCCESS
> [
> > 0.000s]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Thu Nov 17 08:14:31 CET 2005
> > [INFO] Final Memory: 2M/5M
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> >
> > So the module i'm trying to compile does not get build. The module that
> I
> > depend on, do gets build. What does the error 'No goals needed for
> project -
> > skipping' mean? Any clue on what goes wrong?
> >
> > regards,
> >
> > Wim
> >
> >
>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Using

Posted by Anuerin Diaz <ra...@gmail.com>.
a few questions:

   - does utils-lang and utils-logging follow the expected directory layout?
   - if the answer to the first question is no, did you adjust the
project descriptors of each project accordingly?

sometime i get that "all classes are up to date" after a compilation
failure. what i usually do is clean everything up so everything needs
to be compiled again.

ciao!

On 11/17/05, Wim Deblauwe <wi...@gmail.com> wrote:
> Hi,
>
> I have a problem using <modules/> and I don't know if it is a bug or maybe
> I'm doing something wrong:
>
> This is my structure (note that I use a master pom that defines my slightly
> different structure):
>
> + modules
> + utils
> + utils-lang
> + pom.xml
> + src
> + main
> + test
> + utils-logging
> + pom.xml
> + src
> + main
> + test
>
> The utils-lang module depends on the utils-logging module, so I've put in
> the pom.xml of utils-lang:
>
> <modules>
> <module>../utils-logging</module>
> </modules>
>
> When I then run 'mvn compile' from the utils-lang dir, I get the following
> output:
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Utils Logging Module
> [INFO] Utils Lang Module
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Utils Logging Module
> [INFO] task-segment: [compile]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Utils Lang Module
> [INFO] task-segment: [compile]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] No goals needed for project - skipping
> [INFO]
> [INFO]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Utils Logging Module ................................... SUCCESS [
> 1.266s]
> [INFO] Utils Lang Module ...................................... SUCCESS [
> 0.000s]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Nov 17 08:14:31 CET 2005
> [INFO] Final Memory: 2M/5M
> [INFO]
> ----------------------------------------------------------------------------
>
>
> So the module i'm trying to compile does not get build. The module that I
> depend on, do gets build. What does the error 'No goals needed for project -
> skipping' mean? Any clue on what goes wrong?
>
> regards,
>
> Wim
>
>


--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org