RE: Missing links in site generation of multi-module project

2011-03-10 Thread Harpel, Craig
Lukas, thanks for helping me out with this last month.  Any chance 2.3 will be 
released soon (or a beta)?

Thanks,
Craig


-Original Message-
From: Harpel, Craig [mailto:char...@mitre.org] 
Sent: Wednesday, February 16, 2011 11:17 AM
To: Maven Users List
Subject: RE: Missing links in site generation of multi-module project

Got it!  Yes, I can confirm that 2.3-SNAPSHOT does indeed fix my problem.

Thanks a lot!!
Craig


-Original Message-
From: Lukas Theussl [mailto:ltheu...@apache.org] 
Sent: Wednesday, February 16, 2011 11:01 AM
To: Maven Users List
Subject: Re: Missing links in site generation of multi-module project


http://maven.apache.org/guides/development/guide-testing-development-plugins.html

HTH,
-Lukas

PS sorry, dense too :)



Harpel, Craig wrote:
 Sorry for being dense, but I don't see a 2.3-SNAPSHOT;  where can I grab it 
 from?


 -Original Message-
 From: Lukas Theussl [mailto:ltheu...@apache.org]
 Sent: Wednesday, February 16, 2011 7:49 AM
 To: Maven Users List
 Subject: Re: Missing links in site generation of multi-module project


 I tested your project with maven 2, using site-plugin-2.2 I can
 reproduce the problem, using current 2.3-SNAPSHOT it's fixed. Can you
 confirm?

 -Lukas


 Harpel, Craig wrote:
 I'm hoping somebody can tell me what I'm doing wrong here.  I have a 
 multi-module project that I've trimmed down to the bare minimum but still 
 represent my original structure:

 Example_maven_aggregator
 ---Project1
 ---Project2
 ---sub-aggregator
 --SubProject1
 --SubProject2
 --SubProject3
 --SubProject4

 When I generate the site (with either Maven 2 or Maven 3), I don't get links 
 for Project1 and Project2 on the main page, just bold text.
 Is this:

 a)  A known issue?

 b)  A lack of understanding/misconfiguration on my part?

 My project is available here:

 git://github.com/corruptedbuffer/example_maven_aggregator.git

 You'll have to change the site you're deploying to in order to test it (mvn 
 site-deploy).
 Thanks.
 Craig



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


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


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


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


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



RE: Using release plugin with multi-module project

2011-02-16 Thread Harpel, Craig
Are you using a pluginManagement section in your parent POM?  The following 
works for me (I'm using Maven 2.2.1):

...
   build
  pluginManagement
 plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-release-plugin/artifactId
   version2.1/version
   configuration
  preparationGoalsclean install/preparationGoals
  goalsdeploy site-deploy/goals
   /configuration
/plugin
 /plugins
  /pluginManagement
   /build
...

Good luck.
Craig


-Original Message-
From: Michael Remijan [mailto:mjremi...@yahoo.com] 
Sent: Tuesday, February 15, 2011 9:23 PM
To: users@maven.apache.org
Subject: Using release plugin with multi-module project



I'm trying to use the release plugin for the first time on a multi-module 
project.  Given that my project looks like this:


/Parent
/Project-A
/Project-B (had a dependency on Project-A)

the problem I'm having is when the release plugin goes to build Project-B it 
fails with an error saying it can't find Project-A.  The release plugin will 
successfully take the version of Project-A and remove the -SNAPSHOT so that's 
OK.  Also, the release plugin will successfully alter the pom of Project-B and 
remove the -SNAPSHOT on the dependency to Project-A.  However Project-B still 
can't find Project-A when it the release plugin tries to build it.

I've posted before and received a suggestion to use the following:

   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-release-plugin/artifactId
  configuration
   preparationGoalsclean install/preparationGoals
  /configuration
  /plugin

I've put this into the top level packagingpom/packaging of my multi-module 
project. I've also put this into the sub modules as well.  When I run 
release:prepare, I see on the console the top level pom gets clean install

[INFO] [INFO] 

[INFO] [INFO] Building Project Parent
[INFO] [INFO]task-segment: [clean, install]
[INFO] [INFO] 


however sub modules aren't doing this too.  For sub modules I only see comple, 
not install...

[INFO] [INFO] 

[INFO] [INFO] Building Project A
[INFO] [INFO] 

[INFO] [INFO] [buildnumber:create {execution: default}]
[INFO] [INFO] Storing buildNumber: Tuesday, February 15, 2011 8:15:25 PM CST at 
timestamp: 1297822525811
[INFO] [INFO] [resources:resources {execution: default-resources}]
[INFO] [INFO] [compiler:compile {execution: default-compile}]
[INFO] [INFO] Compiling 5 source files to C:\Parent\Project-A\target\classes

Suggestions?

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



Missing links in site generation of multi-module project

2011-02-16 Thread Harpel, Craig
I'm hoping somebody can tell me what I'm doing wrong here.  I have a 
multi-module project that I've trimmed down to the bare minimum but still 
represent my original structure:

Example_maven_aggregator
---Project1
---Project2
---sub-aggregator
--SubProject1
--SubProject2
--SubProject3
--SubProject4

When I generate the site (with either Maven 2 or Maven 3), I don't get links 
for Project1 and Project2 on the main page, just bold text.
Is this:

a)  A known issue?

b)  A lack of understanding/misconfiguration on my part?

My project is available here:

git://github.com/corruptedbuffer/example_maven_aggregator.git

You'll have to change the site you're deploying to in order to test it (mvn 
site-deploy).
Thanks.
Craig



RE: Missing links in site generation of multi-module project

2011-02-16 Thread Harpel, Craig
Sorry for being dense, but I don't see a 2.3-SNAPSHOT;  where can I grab it 
from?


-Original Message-
From: Lukas Theussl [mailto:ltheu...@apache.org] 
Sent: Wednesday, February 16, 2011 7:49 AM
To: Maven Users List
Subject: Re: Missing links in site generation of multi-module project


I tested your project with maven 2, using site-plugin-2.2 I can 
reproduce the problem, using current 2.3-SNAPSHOT it's fixed. Can you 
confirm?

-Lukas


Harpel, Craig wrote:
 I'm hoping somebody can tell me what I'm doing wrong here.  I have a 
 multi-module project that I've trimmed down to the bare minimum but still 
 represent my original structure:

 Example_maven_aggregator
 ---Project1
 ---Project2
 ---sub-aggregator
 --SubProject1
 --SubProject2
 --SubProject3
 --SubProject4

 When I generate the site (with either Maven 2 or Maven 3), I don't get links 
 for Project1 and Project2 on the main page, just bold text.
 Is this:

 a)  A known issue?

 b)  A lack of understanding/misconfiguration on my part?

 My project is available here:

 git://github.com/corruptedbuffer/example_maven_aggregator.git

 You'll have to change the site you're deploying to in order to test it (mvn 
 site-deploy).
 Thanks.
 Craig



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


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



RE: Missing links in site generation of multi-module project

2011-02-16 Thread Harpel, Craig
Got it!  Yes, I can confirm that 2.3-SNAPSHOT does indeed fix my problem.

Thanks a lot!!
Craig


-Original Message-
From: Lukas Theussl [mailto:ltheu...@apache.org] 
Sent: Wednesday, February 16, 2011 11:01 AM
To: Maven Users List
Subject: Re: Missing links in site generation of multi-module project


http://maven.apache.org/guides/development/guide-testing-development-plugins.html

HTH,
-Lukas

PS sorry, dense too :)



Harpel, Craig wrote:
 Sorry for being dense, but I don't see a 2.3-SNAPSHOT;  where can I grab it 
 from?


 -Original Message-
 From: Lukas Theussl [mailto:ltheu...@apache.org]
 Sent: Wednesday, February 16, 2011 7:49 AM
 To: Maven Users List
 Subject: Re: Missing links in site generation of multi-module project


 I tested your project with maven 2, using site-plugin-2.2 I can
 reproduce the problem, using current 2.3-SNAPSHOT it's fixed. Can you
 confirm?

 -Lukas


 Harpel, Craig wrote:
 I'm hoping somebody can tell me what I'm doing wrong here.  I have a 
 multi-module project that I've trimmed down to the bare minimum but still 
 represent my original structure:

 Example_maven_aggregator
 ---Project1
 ---Project2
 ---sub-aggregator
 --SubProject1
 --SubProject2
 --SubProject3
 --SubProject4

 When I generate the site (with either Maven 2 or Maven 3), I don't get links 
 for Project1 and Project2 on the main page, just bold text.
 Is this:

 a)  A known issue?

 b)  A lack of understanding/misconfiguration on my part?

 My project is available here:

 git://github.com/corruptedbuffer/example_maven_aggregator.git

 You'll have to change the site you're deploying to in order to test it (mvn 
 site-deploy).
 Thanks.
 Craig



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


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


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


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