Fabrizio Giustina
e6aedd7d5d
Fixing a couple of issues actually reported against the m1/m2 plugin:
...
MPECLIPSE-102 Running 'maven:eclipse' turns CheckStyle off for the project.
MPECLIPSE-106 Eclipse loses Sysdeo "Is Tomcat Project" setting after mvn eclipse:eclipse
existing .project files are parsed and additional natures/builders are preserved. Running eclipse:clean will remove existing settings and start from scratch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332376 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 21:27:12 +00:00
Fabrizio Giustina
b91ab29a07
split test methods with a common setup, replace file comparison with manual checks for module1 classpath file (entries are sorted in a different order in maven 2.0.1 due to the optional dependencies fix)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332366 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 20:42:33 +00:00
Fabrizio Giustina
cd0f56165b
add a comment about why the fix missing optional artifacts method is required
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332364 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 20:18:16 +00:00
Fabrizio Giustina
2ac4000946
MNG-1433 eclipse:add-maven-repo not setting classpathVariable.M2_REPO correctly on windows
...
+ the add maven repo doesn't require a pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332363 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 20:13:58 +00:00
Fabrizio Giustina
aa07bff6b7
fix missing optional dependencies in .wtpmodules, cleanup test and introduce a test using MavenEmbedder (currently disabled due to a couple of issues, but it should replace the command line test)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330946 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 00:14:50 +00:00
Fabrizio Giustina
f0d674133e
When the downloadSources flag was off, also source files available in the local repository were not used.
...
Fixed so that sources archives available in the local repository are used but no additional jars are downloaded.
Added an explanation message on how to turn source downloading on (this should be on by default, but let's wait till there will be more sources archives in the m2 repo)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330090 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 16:33:39 +00:00
Fabrizio Giustina
1329000ae6
remove useless log
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330043 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 12:33:57 +00:00
Fabrizio Giustina
64716936f0
include optional direct dependencies in classpath and resolve artifacts.
...
These are not included in project.getTestArtifacts() while they should be required if dependency is direct (seems to be a problem only with reactor projects).
Modified master test in order to manually check file content instead of comparing files (easier to explain and comment, ignore order).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330040 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 12:18:48 +00:00
Fabrizio Giustina
4c52484813
final fix for expected results
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329869 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:44:27 +00:00
Fabrizio Giustina
17c9510288
fixing expected results
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329868 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:28:56 +00:00
Fabrizio Giustina
ac3b55f3de
fix wrong test poms
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329865 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:24:10 +00:00
Fabrizio Giustina
aaf2b81012
don't add dependencies with scope=provided to wtpmodules
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329864 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:12:13 +00:00
Fabrizio Giustina
ea3a153a95
fix for MNG-1324 "System" dependencies path non correctly added to eclipse buildpath
...
path is fixed by overwriting artifact file with the path returned by dependency.getSystemPath()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329851 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 16:37:19 +00:00
Jason van Zyl
e775bac14d
o fixing broken eclipse build, the model is required to compile
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329842 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 15:59:06 +00:00
Fabrizio Giustina
3662d4abd8
adding scheleton for a real complete testcase.
...
This test works using a 2-modules project and contains any direct and transitive dependency type.
Mvn is executed using a command line, so the test is actually disabled in pom.xml until a better solution is found (the test works with the latest installed version of the eclipse plugin).
Note that expected files for module-2 are not correct yet (first of all, test #8 need to be fixed)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329838 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 15:21:32 +00:00
Fabrizio Giustina
331460ad33
testcase for MNG-1324 - "System" dependencies path non correctly added to eclipse buildpath
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329656 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 21:34:12 +00:00
Fabrizio Giustina
4c89459ed5
adding testcase for MNG-1329 duplicate project references (already working)
...
renaming project.xml->pom.xml in test projects according to m2 standard
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329655 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 21:32:13 +00:00
Fabrizio Giustina
96de59c076
PR: MNG-1332
...
Submitted by: Brian Bonner
Reviewed by: fgiust
Dependent-Modules not showing up in .wtpmodules
fixed project/executed project in EclipsePlugin, fixed wrong pom for test project 5
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329636 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 20:44:58 +00:00
Fabrizio Giustina
1a591d55b8
use the @component tag instead of @parameter when appropriate
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329580 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 15:09:53 +00:00
Fabrizio Giustina
3f1e75f324
add-maven-repo was overwriting all the existing eclipse settins.
...
Fixed to preserve existing properties and only add/update the M2_REPO var
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329579 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 15:06:04 +00:00
Fabrizio Giustina
62a349b7b2
PR: MNG-1344
...
Submitted by: Brian Bonner
Reviewed by: fgiust
AddMavenRepoMojo adds an X to the end of the specified workspace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329575 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 14:50:38 +00:00
Brett Leslie Porter
56f566e79e
clean some imports and unused code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:50:38 +00:00
Brett Leslie Porter
d003003af6
update eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327853 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 20:19:50 +00:00
Brett Leslie Porter
4c8f23c0a0
PR: MNG-937
...
Submitted by: Johnny R. Ruiz III
fix incorrect JRE classpath entry in eclipse .classpath file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327852 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 20:14:59 +00:00
Brett Leslie Porter
7f635f887c
PR: MNG-1093
...
Submitted by: Edwin Punzalan
use the more standard basedir notation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327840 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 19:40:14 +00:00
John Dennis Casey
9eb9a4682b
Resolving: MNG-1076 Added ability to detect system scoped dependencies, and add them as external jar references rather than kind=var references. Included some new messages for handling this case, as well.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@325905 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 14:59:47 +00:00
Brett Leslie Porter
c2498523b8
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321401 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:16:07 +00:00
Brett Leslie Porter
569e413939
[maven-release-plugin] prepare release maven-eclipse-plugin-2.0-beta-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321399 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:15:47 +00:00
Brett Leslie Porter
6e0d411886
PR: MNG-1196
...
Submitted by: Johnny R. Ruiz III
rename variable to avoid conflict with m1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321336 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 13:31:20 +00:00
Brett Leslie Porter
92de4af9fa
PR: MNG-793
...
Submitted by: Allan Ramirez
only write properties when changed to avoid unnecessary diffs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321324 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 12:37:14 +00:00
Brett Leslie Porter
cc6092fca1
PR: MNG-578
...
only add classpath dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321308 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 07:46:56 +00:00
Brett Leslie Porter
d095c64b00
update versions in plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321048 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 08:08:16 +00:00
Brett Leslie Porter
665759970a
PR: MNG-578
...
use test artifacts - its the widest scope so includes everything, but also does a "isAddedToClasspath" check so only jar, ejb, etc are added.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320794 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 16:30:48 +00:00
Fabrizio Giustina
9769ca45a5
also delete .wtpmodules files + some code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@315062 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 22:26:50 +00:00
Brett Leslie Porter
14db4338c1
clean up eclipse plugin exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314944 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 15:21:42 +00:00
Brett Leslie Porter
510de4fe54
upgrade plexus utils to 1.0.4-SNAPSHOT.
...
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +00:00
Brett Leslie Porter
245d512c4a
PR: MNG-1110
...
differentiate between an artifact that is not found, and failure to obtain an artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307034 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 06:44:59 +00:00
Brett Leslie Porter
c4b203dd62
use released versions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293592 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 12:29:10 +00:00
Brett Leslie Porter
cfa8ba1eff
line up test and used version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293543 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 05:47:09 +00:00
Brett Leslie Porter
c5acaded88
upgrade to plexus 1.0-alpha-7 container, switching to new group ID
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293193 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:54:01 +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
Brett Leslie Porter
cbcf2d48e1
PR: MNG-788
...
add filtering to the build element
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290877 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 02:52:39 +00:00
John Dennis Casey
190b1f077c
Resolving: MNG-907.
...
Patch applied, thanks Hiram!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290778 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 18:36:16 +00:00
Brett Leslie Porter
df44d4ed84
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289506 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:06:37 +00:00
Brett Leslie Porter
118ab4ee2c
[maven-release-plugin] prepare release maven-eclipse-plugin-2.0-beta-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289504 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:06:18 +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
e3899c9cbc
fix eclipse plugin tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289359 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 01:37:39 +00:00
Kenney Westerhof
c9bf147e29
o EclipsePlugin now does NOT download sources by default.
...
Specify -Declipse.downloadSources=true to do so.
o WarMojo produces an artifact, even if exploded is specified. This makes sure
that the install phase doesn't fail because there's no artifact.
o DependenciesReport: add caught exception to the new thrown exception
for better messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289353 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 00:37:58 +00:00
Kenney Westerhof
334b952859
o Did some refactoring: moving utility methods to EclipseUtils so there's no
...
confusion as to which project is used.
o Use executedProject everywhere except for acquiring the artifact list; the
executedProject misses that list (that's because no deps are resolved in
the forked lifecycle execution; it's delayed until the plugin is encountered
and it's requiresDependencyResolution is seen.)
o Added flag -Declipse.downloadSources=true|false to skip source downloading
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289188 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 10:14:32 +00:00
Brett Leslie Porter
6b229cd09a
PR: MNG-824
...
Submitted by: Edwin Punzalan
Reviewed by: Brett Porter
add goals that are in the m1 version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280260 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 05:32:22 +00:00