Commit Graph

117 Commits

Author SHA1 Message Date
Brett Leslie Porter e71ac2617d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291849 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 07:49:49 +00:00
Brett Leslie Porter 531b337520 [maven-release-plugin] prepare release maven-site-plugin-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291847 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 07:49:28 +00:00
Brett Leslie Porter 78e74cd7fe lining up versions. still use beta-1 where appropriate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291803 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 00:56:40 +00:00
Vincent Siveton 752450ca54 For MNG-706, the generatedSiteDirectory should be processed at the end; Updated documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291304 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 14:28:38 +00:00
Brett Leslie Porter 49f1ff2c2f take out ASF as a default, we can't copyright content
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291074 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 04:53:43 +00:00
Brett Leslie Porter 0f021ff7eb PR: MNG-856
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
site plugin documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290674 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 10:20:21 +00:00
Brett Leslie Porter fe10f2940c PR: MNG-902
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
documentation for the site plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290648 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:04:53 +00:00
Brett Leslie Porter 8858d8f85c PR: MNG-629
preparing for executing the lifecycle by passing reports into the site plugin, rather than extracting them from the plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 06:45:50 +00:00
Brett Leslie Porter 156a22fefa more cleanup of site plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290603 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 02:46:44 +00:00
Brett Leslie Porter abdfbe1c74 o store temp file in temp directory, not target which may not exist
o error out if site doesn't exist to copy.
o clean up

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290565 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 21:05:00 +00:00
Brett Leslie Porter 1ce4585526 clean up site plugin, optimize descriptor creation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290404 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 09:28:25 +00:00
Brett Leslie Porter c193b36a3e PR: MNG-911
Submitted by: Daniel Schömer
Reviewed by:  Brett Porter
don't scan hidden files/directories
applied with modifications: also added .arch-ids to the default excludes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290058 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 03:57:02 +00:00
Brett Leslie Porter 865e099122 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289534 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:34:17 +00:00
Brett Leslie Porter 40e6b9cef3 [maven-release-plugin] prepare release maven-site-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289532 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:33:43 +00:00
Brett Leslie Porter c44890b92c update dependency and parent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289378 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 04:30:44 +00:00
Brett Leslie Porter 6c2fbc16a7 use component release
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280799 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 07:37:03 +00:00
Brett Leslie Porter e635816bcd reorganise but leave commented out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280330 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 12:45:06 +00:00
Vincent Siveton f6cc2c6b9b MNG-560: Added initLocalesList() and codeToLocale() methods to honnor correctly locales parameter; Added how to documentation to contribute a new translation; Added a test project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280130 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 13:24:56 +00:00
Vincent Siveton 9ef6cc7f50 Cleaning up the code a bit: replace static array of all reports file name generated by Maven by a list (more dynamic); the first token in the locales variable is the default locale (set in the VM); create createDuplicateExceptionMsg() to handle the exception msg when some files are duplicated; move code to generate reports in a new method called generateReportsPages(); improve logging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240444 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 18:16:19 +00:00
Vincent Siveton cafb004caf Added a test in the banner macro to remove Velocity error (RHS of #set statement is null. Context will not be modified....)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240337 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 20:40:17 +00:00
Brett Leslie Porter 28813de005 PR: MNG-479
workaround for failed unzipping of site. proper fix will require WAGONSSH-5 to be fixed.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233435 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 06:04:54 +00:00
Trygve Laugstol bea3c7f17b o Throwing an exception if the procotol isn't 'scp' as that's the only protocol
this provider currently supports.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233310 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 12:13:47 +00:00
Vincent Siveton 6db6fb8909 MNG-722: Applied changes proposed by Incze Lajos, ie using OutputStreamWriter(FileOutputStream(...), outputEncoding) instead of FileWriter(...). Added also the outputEncoding parameter in the default-site.xml.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232989 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 12:47:25 +00:00
Vincent Siveton a133047280 MNG-722: added a new outputEncoding parameter in the DoxiaMojo class. Updated the maven-site.vm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231433 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 12:28:52 +00:00
Vincent Siveton 7020caf8ee Put plexus-utils dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227345 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 11:17:50 +00:00
Brett Leslie Porter 0a637acedd rollback last set of changes, and fix the bug in the existing revision by storing the filenames in a list rather than the identical keys in a set
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227282 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 00:35:39 +00:00
Vincent Siveton 4f34ea4f93 Rolling back to still allow exception on duplicate files and some small improvements.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227216 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 13:11:10 +00:00
Kenney Westerhof d396f24642 o Put all m2 core dependencies (plexus-container-default and plexus-utils)
under dependencyManagement of m2 and maven-plugins, and removed
  versions in all poms having either as a parent.
  Used version 1.0.2-SNAPSHOT for plexus-utils as that was used in maven-core
  and is not overridable.

o Bumped maven-archiver version to 2.0-beta-1-SNAPSHOT for maven-ear-plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227084 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 21:34:54 +00:00
Brett Leslie Porter e255dee1c9 - disable parent copying for now, it's broken (infinite loop)
- fix detection of files to correct two bugs: site.xml was incorrectly detected as a dupe of site.apt and identical filenames in different paths were incorrectly marked as dupes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226507 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 13:00:55 +00:00
Brett Leslie Porter 475b0eb767 clean up code a little before attempting a bugfix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226476 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 05:59:30 +00:00
John Dennis Casey dad9ebc577 o Fixing DoxiaMojo (there was an API incompatibility there, having to do with FileUtils...not sure if there is something that didn't get deployed, or what)
o Adding cli-options.txt for three ITs that failed when I cleaned out the local repo

o Fixing the setFile(..) method of ActiveProjectArtifact (hopefully) for Emmanuel's continuum build problem...




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226426 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 23:26:42 +00:00
Vincent Siveton f5130c14a2 MNG-661: added link between parent project and modules
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226364 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 12:37:56 +00:00
Vincent Siveton 7a26239e7c Throw an exception if files in the site directory or in the generated site directory are duplicates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226350 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 11:52:43 +00:00
Vincent Siveton 674bfaa0f4 Refactor the maven-site.vm: added a macro to handle the copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226349 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 11:49:47 +00:00
Emmanuel Venisse 3fb0852fdf Allow the creation of external reports. html files are now generated only by external reports and not by doxia mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225521 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:07:04 +00:00
Vincent Siveton 5125817f61 MNG-599: Using the organization name and the inception year in the Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225446 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 03:12:55 +00:00
Vincent Siveton cbb5657526 MNG-588: Throw an exception if two index files already exist
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225290 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 12:33:12 +00:00
John Dennis Casey 701ef520a3 Working on MNG-607
o Changed MavenMetadataSource to a component, to avoid having to lookup artifactFactory and projectBuilder in order to 
  construct it.

o Added add(..) method to ScmBean in the release plugin to allow addition of release-pom.xml

o Changed the PrepareReleaseMojo to resolve ONLY version and parent-version for the normal pom.xml, and fully resolve all
  artifacts used in the release-pom.xml, including version, parent-version, dependency closure (given by project.getArtifacts()), plugins, and reports. It will then add the release-pom.xml, and (attempt to) delete it before performing the final commit for next development version.

o Added some mapping methods to ArtifactUtils, to key by artifact.getId, and to create an Artifact.getId()-compatible string from parameters.

o Added TestProjectBuilder to remove the requirement in ProjectClasspathTest to modify the fields of the project builder directly.

o Cleaned up the AbstractReleaseMojo and PrepareReleaseMojo to avoid container lookups...they're now mojo parameters with the 'component.' prefix.

NOTE: Next step is to figure out how to use maven-scm to remove an SCM resource, to enable the prepare mojo to take the release-pom.xml back out of HEAD after the tag is complete.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224413 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 22:07:28 +00:00
Brett Leslie Porter 511af3d3e2 PR: MNG-596
add XSD definition to m2 poms and archetypes



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220079 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:58:42 +00:00
Brett Leslie Porter ed7ccf707a PR: MNG-530
don't attempt to configure non-report mojos during reporting



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220042 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 12:18:35 +00:00
Brett Leslie Porter 5a0904e9fd PR: MNG-366
separate api from implementation keeping most of doxia, reporting and other libraries out of the core



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220009 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 06:54:21 +00:00
Brett Leslie Porter 5565016f24 refactor duplicate code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219990 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 03:11:07 +00:00
Vincent Siveton 33b34579e1 Correct typo and code format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219835 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:57:54 +00:00
Vincent Siveton 5f412ebb40 Upgraded to plexus-site-renderer-1.0-alpha-2 and corrected a NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219253 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 22:55:33 +00:00
Vincent Siveton 8d0d2759a3 Removed \U000C character in .apt files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219190 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 12:42:28 +00:00
Vincent Siveton 28cee4f515 Beautified Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219151 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:56:03 +00:00
Vincent Siveton cd2f81534e Updated Test case for MNG-584 and MNG-585 issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219149 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:46:41 +00:00
Emmanuel Venisse 06597924cf Fix svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219087 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 20:12:21 +00:00
Vincent Siveton 4001df5247 MNG-584 and MNG-585: updated the Velocity template and added test case
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218985 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:28:06 +00:00
Vincent Siveton 045b43f08e Added test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218984 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:17:00 +00:00