Commit Graph

116 Commits

Author SHA1 Message Date
Andrey Bruykhov fbf6bdaf01 [MNG-7686] Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns
This closes #984
2023-02-07 22:10:29 +01:00
Tamas Cservenak e9d570889f Reformat 2023-01-31 10:22:08 +01:00
Slawomir Jaranowski 693814f0a5 [MNG-7613] Parent POM 38 - code reformat 2022-12-02 12:54:12 +01:00
Michael Osipov 0f4387543d [MNG-7556] Clean up notion between user properties and system properties 2022-10-29 20:19:49 +02:00
Slawomir Jaranowski a4ed7bb6ba [MNG-7463] Improve documentation about deprecation in Mojo
(cherry picked from commit 47e2d689d6)
2022-09-18 16:37:06 +02:00
Gary Gregory 8882a9c599 [MNG-7164] Add constructor MojoExecutionException(Throwable)
This closes #474
2021-09-24 21:18:12 +02:00
Sylwester Lachiewicz 78f605e377 [MNG-6515] Fix Javadoc build errors 2018-11-12 17:23:56 +01:00
Sylwester Lachiewicz d925081794 Reduce number of global checkstyle rule violations
Fix code for following checkstyle rules:
ConstantName, FileLength, InnerAssignment, JavadocType, MagicNumber, MethodLength, MethodName, NewlineAtEndOfFile, ParameterNumber, RedundantThrows, VisibilityModifier

Fixes #149
2018-02-11 11:41:16 +01:00
Hervé Boutemy 0dc70cc691 upgrade m-site-p to 3.7 + Fluido 1.7 + edit button 2018-02-10 11:42:33 +01:00
rfscholte 00c82b7e23 Squashed commit of the following:
commit 049228ce76927a6740500e1b750f0e8f201f2478
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Mar 27 20:22:46 2017 +0200

    [MNG-6185] Replace doclettag explanation with annotations in AbstractMojo javadoc

    Fix by Checkstyle reported issues

commit 63796a649e6e3b25a58fb567d354ca1849f48819
Author: rfscholte <rfscholte@apache.org>
Date:   Sat Mar 25 23:15:00 2017 +0100

    [MNG-6185] Replace doclettag explanation with annotations in AbstractMojo javadoc
2017-03-29 19:50:15 +02:00
rfscholte 587317b009 [MNG-6176] Javadoc errors prevent release with Java 8
Upgrade modello to 1.9.0
Fix invalid Javadoc
2017-03-10 16:17:28 +01:00
Michael Osipov b66bdb9cbc [MNG-6150] Javadoc improvements for 3.5.0
* Remove duplicate plugin configuration
* Add workaround for Javadoc locale
* Clean up errors reported by Javadoc 7

Note: Javadoc 8 fails immediately because Modello generates invalid
Javadoc
2017-02-15 17:30:46 +01:00
Alex Henrie 8d91726f78 [MNG-5934] String handling issues identified by PMD 2017-02-11 14:08:24 +01:00
rfscholte f4e07acbc2 Squashed commit of the following:
commit f3f981022f9157e9d74a9d9dfef7ae102c4d0593
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Feb 9 11:00:17 2017 +0100

    [MNG-6109] PluginDescriptor doesn't read since value of parameter
    There's no specific IT, just a unittest, so itBranch should stay on master

commit 862e8e4e3a2b857eeeb4761a1568c15ebb442932
Author: rfscholte <rfscholte@apache.org>
Date:   Wed Feb 8 21:55:30 2017 +0100

    [MNG-6109] PluginDescriptor doesn't read since value of parameter

commit 76b539ecf2733b2a8564c18581d60176dc0185a3
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Oct 31 21:05:28 2016 +0100

    PluginDescriptor doesn't read since value of parameter
2017-02-10 17:05:24 +01:00
Josh Soref 1740265984 [MNG-6146] Several small stylistic and spelling improvements to code and documentation
Spelling fixes:

* system
* tokenizer
* toolchain
* trailing
* transitive
* unsupported
* version
* artifact
* attachment
* codehaus
* colleagues
* comparison
* concurrency
* configure
* creation
* dependency
* descriptor
* downstream
* efficient
* e.g.
* elements
* encountered
* encounters
* environments
* executed
* explicitly
* happens
* hierarchical
* hierarchy
* ignore
* implemented
* implementers
* independence
* indicates
* inheritance
* inherited
* inherits
* install
* interface
* javascript
* laziness
* management
* maven
* metadata
* mgmt
* minimalist
* nonexistent
* objects
* overridden
* print
* project
* properties
* recessive
* referring
* repository
* representation
* retrieval
* retrieve
* rigorous
* should
* spontaneously
* subsequent

Literal fixes:

*  use static final values

Style fixes:

* use the proper term for char U+002D (-) hyphen(-minus) instead of dash

This closes #100
2017-02-03 10:12:28 +01:00
Hervé Boutemy 84085c0a9c updated urls (https, plexus) and license header formatting 2017-01-24 23:50:10 +01:00
Hervé Boutemy 2669980461 [MNG-5887] updated Modello site url 2015-09-14 19:52:21 +02:00
sugartxy 7f206ef1cc try-with-resources
Reformatted to code style by me. This fixes #53
2015-06-20 14:32:46 +02:00
Kristian Rosenvold 7badeb5b5b Upgraded to java7 language features 2015-06-20 10:56:07 +02:00
Michael Osipov 0343c52601 Trimmed trailing whitespace 2014-11-23 13:04:30 +01:00
Hervé Boutemy ca2b26ac5d fix a lot of checkstyle violations for future m-checkstyle-p 2.13, as
proof of concept for misc violations suppressions strategies
2014-08-19 00:17:28 +02:00
Hervé Boutemy 3729324a13 Revert "MNG-5624: Maven API Plugin descriptor xsd does not exist at advertised location"
This reverts commit 15aef63c4a.
2014-05-24 23:07:07 +02:00
Jason van Zyl 15aef63c4a MNG-5624: Maven API Plugin descriptor xsd does not exist at advertised location
Build has been fixed, but the separate executions appear required. When one execution is used and the XSD is generated the Java source generation breaks.
2014-05-07 06:10:40 -07:00
Hervé Boutemy 19247f363b removed XSD generation since it is not published 2014-03-09 13:36:19 +01:00
Hervé Boutemy c37a20ff63 [MNG-5596] avoid Modello generated java code for plugin.mdo, which is
here only for XML descriptor documentation
2014-03-09 13:15:58 +01:00
Hervé Boutemy fe1cfee6d9 [MNG-5595] name field missing in plugin.xml documentation 2014-03-09 12:21:26 +01:00
Stephen Connolly 6c6b34b080 If it's not a pluginDescriptor then it's not equals and we should not throw a CCE 2014-01-06 11:01:50 +00:00
Stephen Connolly d728b0218f Prevent potential NPE and provide a faster path via identity check 2014-01-06 10:51:04 +00:00
Dennis Lundberg a58b91819c Add missing license header. 2013-07-28 21:49:05 +02:00
Arnaud Héritier 9e5183f0ad Code cleanup - Various code simplifications (tests, loops, …) 2013-06-11 22:09:51 +02:00
Stephen Connolly c6c6bdc49f Add ASL license header 2013-05-28 10:19:32 +01:00
Hervé Boutemy 833b5f0e93 fixed merge conflicts 2013-03-19 23:55:04 +01:00
Jason van Zyl ebf2e4ddea Merge branch 'eclipse-aether' of github.com:tesla/tesla-build into eclipse-aether
Conflicts:
	.gitignore
	pom.xml
2013-03-14 13:03:31 -07:00
rfscholte c5c1eab665 Add javadoc 2013-02-22 16:28:48 +01:00
Jason van Zyl 137cbd8a97 Merge branch 'trunk' into eclipse-aether
Conflicts:
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
	maven-aether-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
	maven-aether-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
	maven-core/src/main/java/org/apache/maven/DefaultMaven.java
	maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
	maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixResult.java
	maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
	pom.xml
	src/site/site.xml
2013-02-14 22:08:26 -05:00
Jason van Zyl 27ad9858d2 Merge branch 'aether' of github.com:bentmann/maven-3 into eclipse-aether
Conflicts:
	.gitignore
	apache-maven/pom.xml
	maven-aether-provider/pom.xml
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSession.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
	maven-artifact/pom.xml
	maven-compat/pom.xml
	maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
	maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
	maven-core/pom.xml
	maven-core/src/main/java/org/apache/maven/DefaultMaven.java
	maven-core/src/main/java/org/apache/maven/ReactorReader.java
	maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
	maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
	maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
	maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
	maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
	maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
	maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
	maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
	maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
	maven-embedder/pom.xml
	maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
	maven-model-builder/pom.xml
	maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
	maven-model/pom.xml
	maven-plugin-api/pom.xml
	maven-plugin-api/src/main/mdo/plugin.mdo
	maven-plugin-api/src/site/apt/index.apt
	maven-repository-metadata/pom.xml
	maven-settings-builder/pom.xml
	maven-settings/pom.xml
	pom.xml
	src/site/site.xml
2013-02-14 20:21:50 -05:00
Hervé Boutemy 23bd8d98a6 added @since info 2012-12-08 16:05:37 +01:00
Herve Boutemy d2396449f4 introduction to plugins composed of goals implemented by Mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391845 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 17:25:30 +00:00
Herve Boutemy 953a7f43aa added a link to plugin-testing
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1345434 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:19:43 +00:00
Herve Boutemy 96b416a38e maven-plugin-plugin moved from /plugins/ to /plugin-tools/
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1345433 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:18:17 +00:00
Herve Boutemy 61472c57a2 fixed editable documentation, since it is the contrary of read-only javadoc tag that this text was taken from
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1339655 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:33:40 +00:00
Herve Boutemy acc04dca1b fixed discrepency between plugin.mdo (which is pure documentation) and corresponding hand-written code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1339651 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:30:56 +00:00
Herve Boutemy 503ecc43c3 don't generate code from plugin.mdo model since code is not used (nor included in artifact's jar), but javadoc may confuse users
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1339549 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 11:00:27 +00:00
Herve Boutemy ee2e824d3e restored attribute removed in r1185847 since it is generated by maven-plugin-tools-java
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187949 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 19:02:21 +00:00
Herve Boutemy aa23b383ed restored attribute removed in r1185847 since it is generated by maven-plugin-tools-java
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187949 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 19:02:21 +00:00
Herve Boutemy 552fc37293 added documentation to fields, copied from http://maven.apache.org/developers/mojo-api-specification.html
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187814 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 21:32:02 +00:00
Herve Boutemy 4e7aef6de8 added documentation to fields, copied from http://maven.apache.org/developers/mojo-api-specification.html
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187814 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 21:32:02 +00:00
Herve Boutemy 99ad774673 added forgotten "dependencies" element
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187779 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 20:56:39 +00:00
Herve Boutemy bf130b1bfa added forgotten "dependencies" element
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187779 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 20:56:39 +00:00
Herve Boutemy c887d57b02 added plugin.xml plugin descriptor basic documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1185875 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 21:29:52 +00:00