=UTF-8
3 |
--------------------------------------------------------------------------------
/feature/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/feature/build.properties:
--------------------------------------------------------------------------------
1 | bin.includes = feature.xml,\
2 | feature.properties,\
3 | license.html
--------------------------------------------------------------------------------
/feature/feature.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2012 Ian Brandt.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v1.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v10.html
7 | #
8 | # Contributors:
9 | # Ian Brandt - initial API and implementation
10 | ###############################################################################
11 | # feature.properties
12 | # contains externalized strings for feature.xml
13 | # "%foo" in feature.xml corresponds to the key "foo" in this file
14 | # java.io.Properties file (ISO 8859-1 with "\" escapes)
15 | # This file should be translated.
16 |
17 | # "featureName" property - name of the feature
18 | featureName=m2e connector for the Maven Dependency Plugin
19 |
20 | # "providerName" property - name of the company that provides the feature
21 | providerName=Ian Brandt
22 |
23 | # "updateSiteName" property - label for the update site
24 | #updateSiteName=The Eclipse Project Updates
25 |
26 | # "description" property - description of the feature
27 | description=m2e connector for the Maven Dependency Plugin
28 |
29 | # "copyright" property - text of the "Feature Update Copyright"
30 | copyright=\
31 | Copyright (c) Ian Brandt\n\
32 | All rights reserved. This program and the accompanying materials\n\
33 | are made available under the terms of the Eclipse Public License v1.0\n\
34 | which accompanies this distribution, and is available at\n\
35 | http://www.eclipse.org/legal/epl-v10.html\n\
36 | \n\
37 | Contributors:\n\
38 | Ian Brandt - initial API and implementation\n
39 | ################ end of copyright property ####################################
40 |
41 | # "licenseURL" property - URL of the "Feature License"
42 | # do not translate value - just change to point to a locale-specific HTML page
43 | licenseURL=license.html
44 |
45 | # "license" property - text of the "Feature Update License"
46 | # should be plain text version of license agreement pointed to be "licenseURL"
47 | license=\
48 | \n\
49 | Eclipse Public License - v 1.0\n\
50 | \n\
51 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\n\
52 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF\n\
53 | THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\
54 | \n\
55 | *1. DEFINITIONS*\n\
56 | \n\
57 | "Contribution" means:\n\
58 | \n\
59 | a) in the case of the initial Contributor, the initial code and\n\
60 | documentation distributed under this Agreement, and\n\
61 | \n\
62 | b) in the case of each subsequent Contributor:\n\
63 | \n\
64 | i) changes to the Program, and\n\
65 | \n\
66 | ii) additions to the Program;\n\
67 | \n\
68 | where such changes and/or additions to the Program originate from and\n\
69 | are distributed by that particular Contributor. A Contribution\n\
70 | 'originates' from a Contributor if it was added to the Program by such\n\
71 | Contributor itself or anyone acting on such Contributor's behalf.\n\
72 | Contributions do not include additions to the Program which: (i) are\n\
73 | separate modules of software distributed in conjunction with the Program\n\
74 | under their own license agreement, and (ii) are not derivative works of\n\
75 | the Program.\n\
76 | \n\
77 | "Contributor" means any person or entity that distributes the Program.\n\
78 | \n\
79 | "Licensed Patents" mean patent claims licensable by a Contributor which\n\
80 | are necessarily infringed by the use or sale of its Contribution alone\n\
81 | or when combined with the Program.\n\
82 | \n\
83 | "Program" means the Contributions distributed in accordance with this\n\
84 | Agreement.\n\
85 | \n\
86 | "Recipient" means anyone who receives the Program under this Agreement,\n\
87 | including all Contributors.\n\
88 | \n\
89 | *2. GRANT OF RIGHTS*\n\
90 | \n\
91 | a) Subject to the terms of this Agreement, each Contributor hereby\n\
92 | grants Recipient a non-exclusive, worldwide, royalty-free copyright\n\
93 | license to reproduce, prepare derivative works of, publicly display,\n\
94 | publicly perform, distribute and sublicense the Contribution of such\n\
95 | Contributor, if any, and such derivative works, in source code and\n\
96 | object code form.\n\
97 | \n\
98 | b) Subject to the terms of this Agreement, each Contributor hereby\n\
99 | grants Recipient a non-exclusive, worldwide, royalty-free patent license\n\
100 | under Licensed Patents to make, use, sell, offer to sell, import and\n\
101 | otherwise transfer the Contribution of such Contributor, if any, in\n\
102 | source code and object code form. This patent license shall apply to the\n\
103 | combination of the Contribution and the Program if, at the time the\n\
104 | Contribution is added by the Contributor, such addition of the\n\
105 | Contribution causes such combination to be covered by the Licensed\n\
106 | Patents. The patent license shall not apply to any other combinations\n\
107 | which include the Contribution. No hardware per se is licensed hereunder.\n\
108 | \n\
109 | c) Recipient understands that although each Contributor grants the\n\
110 | licenses to its Contributions set forth herein, no assurances are\n\
111 | provided by any Contributor that the Program does not infringe the\n\
112 | patent or other intellectual property rights of any other entity. Each\n\
113 | Contributor disclaims any liability to Recipient for claims brought by\n\
114 | any other entity based on infringement of intellectual property rights\n\
115 | or otherwise. As a condition to exercising the rights and licenses\n\
116 | granted hereunder, each Recipient hereby assumes sole responsibility to\n\
117 | secure any other intellectual property rights needed, if any. For\n\
118 | example, if a third party patent license is required to allow Recipient\n\
119 | to distribute the Program, it is Recipient's responsibility to acquire\n\
120 | that license before distributing the Program.\n\
121 | \n\
122 | d) Each Contributor represents that to its knowledge it has sufficient\n\
123 | copyright rights in its Contribution, if any, to grant the copyright\n\
124 | license set forth in this Agreement.\n\
125 | \n\
126 | *3. REQUIREMENTS*\n\
127 | \n\
128 | A Contributor may choose to distribute the Program in object code form\n\
129 | under its own license agreement, provided that:\n\
130 | \n\
131 | a) it complies with the terms and conditions of this Agreement; and\n\
132 | \n\
133 | b) its license agreement:\n\
134 | \n\
135 | i) effectively disclaims on behalf of all Contributors all warranties\n\
136 | and conditions, express and implied, including warranties or conditions\n\
137 | of title and non-infringement, and implied warranties or conditions of\n\
138 | merchantability and fitness for a particular purpose;\n\
139 | \n\
140 | ii) effectively excludes on behalf of all Contributors all liability for\n\
141 | damages, including direct, indirect, special, incidental and\n\
142 | consequential damages, such as lost profits;\n\
143 | \n\
144 | iii) states that any provisions which differ from this Agreement are\n\
145 | offered by that Contributor alone and not by any other party; and\n\
146 | \n\
147 | iv) states that source code for the Program is available from such\n\
148 | Contributor, and informs licensees how to obtain it in a reasonable\n\
149 | manner on or through a medium customarily used for software exchange.\n\
150 | \n\
151 | When the Program is made available in source code form:\n\
152 | \n\
153 | a) it must be made available under this Agreement; and\n\
154 | \n\
155 | b) a copy of this Agreement must be included with each copy of the Program.\n\
156 | \n\
157 | Contributors may not remove or alter any copyright notices contained\n\
158 | within the Program.\n\
159 | \n\
160 | Each Contributor must identify itself as the originator of its\n\
161 | Contribution, if any, in a manner that reasonably allows subsequent\n\
162 | Recipients to identify the originator of the Contribution.\n\
163 | \n\
164 | *4. COMMERCIAL DISTRIBUTION*\n\
165 | \n\
166 | Commercial distributors of software may accept certain responsibilities\n\
167 | with respect to end users, business partners and the like. While this\n\
168 | license is intended to facilitate the commercial use of the Program, the\n\
169 | Contributor who includes the Program in a commercial product offering\n\
170 | should do so in a manner which does not create potential liability for\n\
171 | other Contributors. Therefore, if a Contributor includes the Program in\n\
172 | a commercial product offering, such Contributor ("Commercial\n\
173 | Contributor") hereby agrees to defend and indemnify every other\n\
174 | Contributor ("Indemnified Contributor") against any losses, damages and\n\
175 | costs (collectively "Losses") arising from claims, lawsuits and other\n\
176 | legal actions brought by a third party against the Indemnified\n\
177 | Contributor to the extent caused by the acts or omissions of such\n\
178 | Commercial Contributor in connection with its distribution of the\n\
179 | Program in a commercial product offering. The obligations in this\n\
180 | section do not apply to any claims or Losses relating to any actual or\n\
181 | alleged intellectual property infringement. In order to qualify, an\n\
182 | Indemnified Contributor must: a) promptly notify the Commercial\n\
183 | Contributor in writing of such claim, and b) allow the Commercial\n\
184 | Contributor to control, and cooperate with the Commercial Contributor\n\
185 | in, the defense and any related settlement negotiations. The Indemnified\n\
186 | Contributor may participate in any such claim at its own expense.\n\
187 | \n\
188 | For example, a Contributor might include the Program in a commercial\n\
189 | product offering, Product X. That Contributor is then a Commercial\n\
190 | Contributor. If that Commercial Contributor then makes performance\n\
191 | claims, or offers warranties related to Product X, those performance\n\
192 | claims and warranties are such Commercial Contributor's responsibility\n\
193 | alone. Under this section, the Commercial Contributor would have to\n\
194 | defend claims against the other Contributors related to those\n\
195 | performance claims and warranties, and if a court requires any other\n\
196 | Contributor to pay any damages as a result, the Commercial Contributor\n\
197 | must pay those damages.\n\
198 | \n\
199 | *5. NO WARRANTY*\n\
200 | \n\
201 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED\n\
202 | ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\
203 | EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES\n\
204 | OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR\n\
205 | A PARTICULAR PURPOSE. Each Recipient is solely responsible for\n\
206 | determining the appropriateness of using and distributing the Program\n\
207 | and assumes all risks associated with its exercise of rights under this\n\
208 | Agreement , including but not limited to the risks and costs of program\n\
209 | errors, compliance with applicable laws, damage to or loss of data,\n\
210 | programs or equipment, and unavailability or interruption of operations.\n\
211 | \n\
212 | *6. DISCLAIMER OF LIABILITY*\n\
213 | \n\
214 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR\n\
215 | ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,\n\
216 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING\n\
217 | WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF\n\
218 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n\
219 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR\n\
220 | DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED\n\
221 | HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\
222 | \n\
223 | *7. GENERAL*\n\
224 | \n\
225 | If any provision of this Agreement is invalid or unenforceable under\n\
226 | applicable law, it shall not affect the validity or enforceability of\n\
227 | the remainder of the terms of this Agreement, and without further action\n\
228 | by the parties hereto, such provision shall be reformed to the minimum\n\
229 | extent necessary to make such provision valid and enforceable.\n\
230 | \n\
231 | If Recipient institutes patent litigation against any entity (including\n\
232 | a cross-claim or counterclaim in a lawsuit) alleging that the Program\n\
233 | itself (excluding combinations of the Program with other software or\n\
234 | hardware) infringes such Recipient's patent(s), then such Recipient's\n\
235 | rights granted under Section 2(b) shall terminate as of the date such\n\
236 | litigation is filed.\n\
237 | \n\
238 | All Recipient's rights under this Agreement shall terminate if it fails\n\
239 | to comply with any of the material terms or conditions of this Agreement\n\
240 | and does not cure such failure in a reasonable period of time after\n\
241 | becoming aware of such noncompliance. If all Recipient's rights under\n\
242 | this Agreement terminate, Recipient agrees to cease use and distribution\n\
243 | of the Program as soon as reasonably practicable. However, Recipient's\n\
244 | obligations under this Agreement and any licenses granted by Recipient\n\
245 | relating to the Program shall continue and survive.\n\
246 | \n\
247 | Everyone is permitted to copy and distribute copies of this Agreement,\n\
248 | but in order to avoid inconsistency the Agreement is copyrighted and may\n\
249 | only be modified in the following manner. The Agreement Steward reserves\n\
250 | the right to publish new versions (including revisions) of this\n\
251 | Agreement from time to time. No one other than the Agreement Steward has\n\
252 | the right to modify this Agreement. The Eclipse Foundation is the\n\
253 | initial Agreement Steward. The Eclipse Foundation may assign the\n\
254 | responsibility to serve as the Agreement Steward to a suitable separate\n\
255 | entity. Each new version of the Agreement will be given a distinguishing\n\
256 | version number. The Program (including Contributions) may always be\n\
257 | distributed subject to the version of the Agreement under which it was\n\
258 | received. In addition, after a new version of the Agreement is\n\
259 | published, Contributor may elect to distribute the Program (including\n\
260 | its Contributions) under the new version. Except as expressly stated in\n\
261 | Sections 2(a) and 2(b) above, Recipient receives no rights or licenses\n\
262 | to the intellectual property of any Contributor under this Agreement,\n\
263 | whether expressly, by implication, estoppel or otherwise. All rights in\n\
264 | the Program not expressly granted under this Agreement are reserved.\n\
265 | \n\
266 | This Agreement is governed by the laws of the State of New York and the\n\
267 | intellectual property laws of the United States of America. No party to\n\
268 | this Agreement will bring a legal action under this Agreement more than\n\
269 | one year after the cause of action arose. Each party waives its rights\n\
270 | to a jury trial in any resulting litigation.\n\
271 | \n
272 | ########### end of license property ##########################################
--------------------------------------------------------------------------------
/feature/feature.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 | %description
10 |
11 |
12 |
13 | %copyright
14 |
15 |
16 |
17 | %license
18 |
19 |
20 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/feature/license.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Eclipse Public License - Version 1.0
8 |
25 |
26 |
27 |
28 |
29 |
30 | Eclipse Public License - v 1.0
31 |
32 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
33 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
34 | DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
35 | AGREEMENT.
36 |
37 | 1. DEFINITIONS
38 |
39 | "Contribution" means:
40 |
41 | a) in the case of the initial Contributor, the initial
42 | code and documentation distributed under this Agreement, and
43 | b) in the case of each subsequent Contributor:
44 | i) changes to the Program, and
45 | ii) additions to the Program;
46 | where such changes and/or additions to the Program
47 | originate from and are distributed by that particular Contributor. A
48 | Contribution 'originates' from a Contributor if it was added to the
49 | Program by such Contributor itself or anyone acting on such
50 | Contributor's behalf. Contributions do not include additions to the
51 | Program which: (i) are separate modules of software distributed in
52 | conjunction with the Program under their own license agreement, and (ii)
53 | are not derivative works of the Program.
54 |
55 | "Contributor" means any person or entity that distributes
56 | the Program.
57 |
58 | "Licensed Patents" mean patent claims licensable by a
59 | Contributor which are necessarily infringed by the use or sale of its
60 | Contribution alone or when combined with the Program.
61 |
62 | "Program" means the Contributions distributed in accordance
63 | with this Agreement.
64 |
65 | "Recipient" means anyone who receives the Program under
66 | this Agreement, including all Contributors.
67 |
68 | 2. GRANT OF RIGHTS
69 |
70 | a) Subject to the terms of this Agreement, each
71 | Contributor hereby grants Recipient a non-exclusive, worldwide,
72 | royalty-free copyright license to reproduce, prepare derivative works
73 | of, publicly display, publicly perform, distribute and sublicense the
74 | Contribution of such Contributor, if any, and such derivative works, in
75 | source code and object code form.
76 |
77 | b) Subject to the terms of this Agreement, each
78 | Contributor hereby grants Recipient a non-exclusive, worldwide,
79 | royalty-free patent license under Licensed Patents to make, use, sell,
80 | offer to sell, import and otherwise transfer the Contribution of such
81 | Contributor, if any, in source code and object code form. This patent
82 | license shall apply to the combination of the Contribution and the
83 | Program if, at the time the Contribution is added by the Contributor,
84 | such addition of the Contribution causes such combination to be covered
85 | by the Licensed Patents. The patent license shall not apply to any other
86 | combinations which include the Contribution. No hardware per se is
87 | licensed hereunder.
88 |
89 | c) Recipient understands that although each Contributor
90 | grants the licenses to its Contributions set forth herein, no assurances
91 | are provided by any Contributor that the Program does not infringe the
92 | patent or other intellectual property rights of any other entity. Each
93 | Contributor disclaims any liability to Recipient for claims brought by
94 | any other entity based on infringement of intellectual property rights
95 | or otherwise. As a condition to exercising the rights and licenses
96 | granted hereunder, each Recipient hereby assumes sole responsibility to
97 | secure any other intellectual property rights needed, if any. For
98 | example, if a third party patent license is required to allow Recipient
99 | to distribute the Program, it is Recipient's responsibility to acquire
100 | that license before distributing the Program.
101 |
102 | d) Each Contributor represents that to its knowledge it
103 | has sufficient copyright rights in its Contribution, if any, to grant
104 | the copyright license set forth in this Agreement.
105 |
106 | 3. REQUIREMENTS
107 |
108 | A Contributor may choose to distribute the Program in object code
109 | form under its own license agreement, provided that:
110 |
111 | a) it complies with the terms and conditions of this
112 | Agreement; and
113 |
114 | b) its license agreement:
115 |
116 | i) effectively disclaims on behalf of all Contributors
117 | all warranties and conditions, express and implied, including warranties
118 | or conditions of title and non-infringement, and implied warranties or
119 | conditions of merchantability and fitness for a particular purpose;
120 |
121 | ii) effectively excludes on behalf of all Contributors
122 | all liability for damages, including direct, indirect, special,
123 | incidental and consequential damages, such as lost profits;
124 |
125 | iii) states that any provisions which differ from this
126 | Agreement are offered by that Contributor alone and not by any other
127 | party; and
128 |
129 | iv) states that source code for the Program is available
130 | from such Contributor, and informs licensees how to obtain it in a
131 | reasonable manner on or through a medium customarily used for software
132 | exchange.
133 |
134 | When the Program is made available in source code form:
135 |
136 | a) it must be made available under this Agreement; and
137 |
138 | b) a copy of this Agreement must be included with each
139 | copy of the Program.
140 |
141 | Contributors may not remove or alter any copyright notices contained
142 | within the Program.
143 |
144 | Each Contributor must identify itself as the originator of its
145 | Contribution, if any, in a manner that reasonably allows subsequent
146 | Recipients to identify the originator of the Contribution.
147 |
148 | 4. COMMERCIAL DISTRIBUTION
149 |
150 | Commercial distributors of software may accept certain
151 | responsibilities with respect to end users, business partners and the
152 | like. While this license is intended to facilitate the commercial use of
153 | the Program, the Contributor who includes the Program in a commercial
154 | product offering should do so in a manner which does not create
155 | potential liability for other Contributors. Therefore, if a Contributor
156 | includes the Program in a commercial product offering, such Contributor
157 | ("Commercial Contributor") hereby agrees to defend and
158 | indemnify every other Contributor ("Indemnified Contributor")
159 | against any losses, damages and costs (collectively "Losses")
160 | arising from claims, lawsuits and other legal actions brought by a third
161 | party against the Indemnified Contributor to the extent caused by the
162 | acts or omissions of such Commercial Contributor in connection with its
163 | distribution of the Program in a commercial product offering. The
164 | obligations in this section do not apply to any claims or Losses
165 | relating to any actual or alleged intellectual property infringement. In
166 | order to qualify, an Indemnified Contributor must: a) promptly notify
167 | the Commercial Contributor in writing of such claim, and b) allow the
168 | Commercial Contributor to control, and cooperate with the Commercial
169 | Contributor in, the defense and any related settlement negotiations. The
170 | Indemnified Contributor may participate in any such claim at its own
171 | expense.
172 |
173 | For example, a Contributor might include the Program in a commercial
174 | product offering, Product X. That Contributor is then a Commercial
175 | Contributor. If that Commercial Contributor then makes performance
176 | claims, or offers warranties related to Product X, those performance
177 | claims and warranties are such Commercial Contributor's responsibility
178 | alone. Under this section, the Commercial Contributor would have to
179 | defend claims against the other Contributors related to those
180 | performance claims and warranties, and if a court requires any other
181 | Contributor to pay any damages as a result, the Commercial Contributor
182 | must pay those damages.
183 |
184 | 5. NO WARRANTY
185 |
186 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
187 | PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
188 | OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
189 | ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
190 | OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
191 | responsible for determining the appropriateness of using and
192 | distributing the Program and assumes all risks associated with its
193 | exercise of rights under this Agreement , including but not limited to
194 | the risks and costs of program errors, compliance with applicable laws,
195 | damage to or loss of data, programs or equipment, and unavailability or
196 | interruption of operations.
197 |
198 | 6. DISCLAIMER OF LIABILITY
199 |
200 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
201 | NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
202 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
203 | WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
204 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
205 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
206 | DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
207 | HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
208 |
209 | 7. GENERAL
210 |
211 | If any provision of this Agreement is invalid or unenforceable under
212 | applicable law, it shall not affect the validity or enforceability of
213 | the remainder of the terms of this Agreement, and without further action
214 | by the parties hereto, such provision shall be reformed to the minimum
215 | extent necessary to make such provision valid and enforceable.
216 |
217 | If Recipient institutes patent litigation against any entity
218 | (including a cross-claim or counterclaim in a lawsuit) alleging that the
219 | Program itself (excluding combinations of the Program with other
220 | software or hardware) infringes such Recipient's patent(s), then such
221 | Recipient's rights granted under Section 2(b) shall terminate as of the
222 | date such litigation is filed.
223 |
224 | All Recipient's rights under this Agreement shall terminate if it
225 | fails to comply with any of the material terms or conditions of this
226 | Agreement and does not cure such failure in a reasonable period of time
227 | after becoming aware of such noncompliance. If all Recipient's rights
228 | under this Agreement terminate, Recipient agrees to cease use and
229 | distribution of the Program as soon as reasonably practicable. However,
230 | Recipient's obligations under this Agreement and any licenses granted by
231 | Recipient relating to the Program shall continue and survive.
232 |
233 | Everyone is permitted to copy and distribute copies of this
234 | Agreement, but in order to avoid inconsistency the Agreement is
235 | copyrighted and may only be modified in the following manner. The
236 | Agreement Steward reserves the right to publish new versions (including
237 | revisions) of this Agreement from time to time. No one other than the
238 | Agreement Steward has the right to modify this Agreement. The Eclipse
239 | Foundation is the initial Agreement Steward. The Eclipse Foundation may
240 | assign the responsibility to serve as the Agreement Steward to a
241 | suitable separate entity. Each new version of the Agreement will be
242 | given a distinguishing version number. The Program (including
243 | Contributions) may always be distributed subject to the version of the
244 | Agreement under which it was received. In addition, after a new version
245 | of the Agreement is published, Contributor may elect to distribute the
246 | Program (including its Contributions) under the new version. Except as
247 | expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
248 | rights or licenses to the intellectual property of any Contributor under
249 | this Agreement, whether expressly, by implication, estoppel or
250 | otherwise. All rights in the Program not expressly granted under this
251 | Agreement are reserved.
252 |
253 | This Agreement is governed by the laws of the State of New York and
254 | the intellectual property laws of the United States of America. No party
255 | to this Agreement will bring a legal action under this Agreement more
256 | than one year after the cause of action arose. Each party waives its
257 | rights to a jury trial in any resulting litigation.
258 |
259 |
260 |
261 |
--------------------------------------------------------------------------------
/feature/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 |
6 | com.ianbrandt
7 | m2e-maven-dependency-plugin-parent
8 | 0.0.4-SNAPSHOT
9 |
10 |
11 | com.ianbrandt.tools.m2e.mdp.feature
12 | eclipse-feature
13 |
14 | m2e Connector for Maven Dependency Plugin Feature
15 |
16 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 |
6 | org.sonatype.forge
7 | forge-parent
8 | 10
9 |
10 |
11 | com.ianbrandt
12 | m2e-maven-dependency-plugin-parent
13 | 0.0.4-SNAPSHOT
14 | pom
15 |
16 | m2e Connector for Maven Dependency Plugin Parent
17 | http://ianbrandt.com
18 |
19 |
20 | core
21 | tests
22 | feature
23 | site
24 |
25 |
26 |
27 |
28 | Eclipse Public License - v 1.0
29 | http://www.eclipse.org/legal/epl-v10.html
30 | repo
31 | A business-friendly OSS license
32 |
33 |
34 |
35 |
36 |
37 | ianbrandt
38 | Ian Brandt
39 | ian@ianbrandt.com
40 | http://ianbrandt.com/
41 | http://ianbrandt.com/
42 |
43 | founder
44 | developer
45 |
46 | -8
47 |
48 |
49 |
50 |
51 | https://github.com/ianbrandt/m2e-maven-dependency-plugin/issues
52 |
53 |
54 |
55 | scm:git:git@github.com:ianbrandt/m2e-maven-dependency-plugin.git
56 | scm:git:git@github.com:ianbrandt/m2e-maven-dependency-plugin.git
57 | scm:git:git@github.com:ianbrandt/m2e-maven-dependency-plugin.git
58 |
59 |
60 |
61 | UTF-8
62 | 0.21.0
63 |
64 |
65 |
66 |
67 | rso
68 | http://repository.sonatype.org/content/groups/sonatype-public-grid
69 |
70 |
71 | eclipse-kepler
72 | http://download.eclipse.org/releases/kepler
73 | p2
74 |
75 |
76 | m2e
77 | http://download.eclipse.org/technology/m2e/releases/1.4
78 | p2
79 |
80 |
81 |
82 |
83 | 3.0
84 |
85 |
86 |
87 |
88 |
89 | org.eclipse.tycho
90 | tycho-maven-plugin
91 | ${tycho-version}
92 | true
93 |
94 |
95 | org.eclipse.tycho
96 | target-platform-configuration
97 | ${tycho-version}
98 |
99 | p2
100 | true
101 |
102 |
103 | linux
104 | gtk
105 | x86
106 |
107 |
108 | linux
109 | gtk
110 | x86_64
111 |
112 |
113 | win32
114 | win32
115 | x86
116 |
117 |
118 | win32
119 | win32
120 | x86_64
121 |
122 |
123 | macosx
124 | cocoa
125 | x86_64
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 | org.eclipse.tycho
136 | tycho-compiler-plugin
137 | ${tycho-version}
138 |
139 |
140 | org.eclipse.tycho
141 | tycho-p2-plugin
142 | ${tycho-version}
143 |
144 |
145 | org.eclipse.tycho
146 | tycho-packaging-plugin
147 | ${tycho-version}
148 |
149 |
150 | org.eclipse.tycho
151 | tycho-surefire-plugin
152 | ${tycho-version}
153 |
154 |
155 |
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/site/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | m2e Connector for Maven Dependency Plugin Site
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.pde.UpdateSiteBuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.m2e.core.maven2Nature
21 | org.eclipse.pde.UpdateSiteNature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/site/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/site/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/site/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 |
6 | com.ianbrandt
7 | m2e-maven-dependency-plugin-parent
8 | 0.0.4-SNAPSHOT
9 |
10 |
11 | com.ianbrandt.tools.m2e.mdp.site
12 | eclipse-update-site
13 |
14 | m2e Connector for Maven Dependency Plugin Site
15 |
16 |
17 |
18 |
19 | org.eclipse.tycho
20 | tycho-packaging-plugin
21 |
22 | m2e connector for the Maven Dependency Plugin
23 | m2e connector for the Maven Dependency Plugin
24 |
25 |
26 |
27 | org.apache.maven.plugins
28 | maven-assembly-plugin
29 |
30 |
31 | src/main/assembly/assembly.xml
32 |
33 |
34 |
35 |
36 | make-assembly
37 | package
38 |
39 | single
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/site/site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | m2e connector for the Maven Dependency Plugin
5 |
6 |
7 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/site/src/main/assembly/assembly.xml:
--------------------------------------------------------------------------------
1 |
2 | site
3 |
4 | zip
5 |
6 | false
7 |
8 |
9 | ${project.build.directory}/site
10 | /
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/tests/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | m2e Connector for Maven Dependency Plugin Tests
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 | org.eclipse.m2e.core.maven2Builder
25 |
26 |
27 |
28 |
29 |
30 | org.eclipse.m2e.core.maven2Nature
31 | org.eclipse.pde.PluginNature
32 | org.eclipse.jdt.core.javanature
33 |
34 |
35 |
--------------------------------------------------------------------------------
/tests/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/tests/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4 | org.eclipse.jdt.core.compiler.compliance=1.6
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.6
8 |
--------------------------------------------------------------------------------
/tests/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/tests/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: m2e connector for Maven Dependency Plugin Tests
4 | Bundle-SymbolicName: com.ianbrandt.tools.m2e.mdp.tests
5 | Bundle-Version: 0.0.4.qualifier
6 | Bundle-Vendor: Ian Brandt
7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6
8 | Require-Bundle: org.eclipse.m2e.tests.common;bundle-version="1.0.0",
9 | org.junit;bundle-version="4.11",
10 | org.eclipse.m2e.core;bundle-version="1.0.0",
11 | org.eclipse.core.resources;bundle-version="3.4.2",
12 | org.eclipse.core.runtime;bundle-version="3.4.0",
13 | org.eclipse.jdt.core;bundle-version="3.4.4",
14 | com.ianbrandt.tools.m2e.mdp.core
15 |
--------------------------------------------------------------------------------
/tests/build.properties:
--------------------------------------------------------------------------------
1 | source.. = src/
2 | output.. = target/classes/
3 | bin.includes = META-INF/,\
4 | .
--------------------------------------------------------------------------------
/tests/plugin_customization.ini:
--------------------------------------------------------------------------------
1 | # This configuration is used to prevent m2e from updating (downloading) nexus indexes during tests
2 | #
3 | # Add "-pluginCustomization plugin_customization.ini" to your Eclipse command line to apply these settings
4 | #
5 | # In tycho-surefire-plugin configuration, add -pluginCustomization ${basedir}/plugin_customization.ini
6 | #
7 | org.eclipse.m2e.core/eclipse.m2.updateIndexes=false
8 |
--------------------------------------------------------------------------------
/tests/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 |
6 | com.ianbrandt
7 | m2e-maven-dependency-plugin-parent
8 | 0.0.4-SNAPSHOT
9 |
10 |
11 | com.ianbrandt.tools.m2e.mdp.tests
12 | eclipse-test-plugin
13 |
14 | m2e Connector for Maven Dependency Plugin Tests
15 |
16 |
17 |
18 |
19 | org.eclipse.tycho
20 | tycho-surefire-plugin
21 |
22 | -Xmx512m
23 | -nl en
24 |
25 |
26 | org.eclipse.equinox.ds
27 | 1
28 | true
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/tests/projects/copydeps/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.ianbrandt.tools.m2e.mdp.tests
6 | copydeps
7 | 0.0.2-SNAPSHOT
8 | jar
9 |
10 |
11 | junit
12 | junit
13 | 4.10
14 |
15 |
16 |
17 |
18 |
19 | maven-dependency-plugin
20 | 2.4
21 |
22 |
23 | copy-dependencies
24 | generate-resources
25 |
26 | copy-dependencies
27 |
28 |
29 | ${project.build.directory}/generated-resources/
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/tests/projects/smoketest/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.ianbrandt.tools.m2e.mdp.tests
6 | smoketest
7 | 0.0.2-SNAPSHOT
8 | jar
9 |
10 |
11 | junit
12 | junit
13 | 4.10
14 |
15 |
16 |
17 |
18 |
19 | maven-dependency-plugin
20 | 2.4
21 |
22 |
23 | test-unpack
24 | generate-resources
25 |
26 | unpack
27 |
28 |
29 |
30 |
31 | junit
32 | junit
33 | 4.10
34 | ${project.build.directory}/generated-resources/
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/tests/projects/unpackdeps/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.ianbrandt.tools.m2e.mdp.tests
6 | unpackdeps
7 | 0.0.2-SNAPSHOT
8 | jar
9 |
10 |
11 | junit
12 | junit
13 | 4.10
14 |
15 |
16 |
17 |
18 |
19 | maven-dependency-plugin
20 | 2.4
21 |
22 |
23 | test-unpack-dependencies
24 | generate-resources
25 |
26 | unpack-dependencies
27 |
28 |
29 | ${project.build.directory}/generated-resources/
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/tests/src/com/ianbrandt/tools/m2e/mdp/tests/M2eMdpConnectorTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2012 Ian Brandt
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Ian Brandt - initial API and implementation
10 | *******************************************************************************/
11 | package com.ianbrandt.tools.m2e.mdp.tests;
12 |
13 | import org.eclipse.core.resources.IFile;
14 | import org.eclipse.core.resources.IProject;
15 | import org.eclipse.core.resources.IResource;
16 | import org.eclipse.core.resources.IncrementalProjectBuilder;
17 | import org.eclipse.core.runtime.NullProgressMonitor;
18 | import org.eclipse.core.runtime.Path;
19 | import org.eclipse.m2e.tests.common.AbstractMavenProjectTestCase;
20 |
21 | @SuppressWarnings("restriction")
22 | public class M2eMdpConnectorTest extends AbstractMavenProjectTestCase {
23 |
24 | public void testShouldNotUnpackArtifact() throws Exception {
25 | // given
26 | final IProject project = importProject("projects/smoketest/pom.xml");
27 | waitForJobsToComplete();
28 | project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
29 | waitForJobsToComplete();
30 | // make sure target/generated-resources is empty
31 | final IResource targetResourcesFolder = project.findMember(new Path("target").append("generated-resources"));
32 | if(targetResourcesFolder != null) {
33 | targetResourcesFolder.delete(true, new NullProgressMonitor());
34 | }
35 | // when further auto build is performed
36 | project.build(IncrementalProjectBuilder.AUTO_BUILD, monitor);
37 | waitForJobsToComplete();
38 | // then
39 | final IFile testResource = project
40 | .getFile("target/generated-resources/LICENSE.txt");
41 | assertFalse(testResource.getName() + " is missing", testResource.exists());
42 | }
43 |
44 | public void testShouldUnpackArtifact() throws Exception {
45 | // given
46 | final IProject project = importProject("projects/smoketest/pom.xml");
47 | waitForJobsToComplete();
48 | // when
49 | project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
50 | waitForJobsToComplete();
51 | // then
52 | final IFile testResource = project
53 | .getFile("target/generated-resources/LICENSE.txt");
54 | assertTrue(testResource.getName() + " is missing", testResource.exists());
55 | }
56 |
57 | public void testShouldUnpackDependencies() throws Exception {
58 | // given
59 | final IProject project = importProject("projects/unpackdeps/pom.xml");
60 | waitForJobsToComplete();
61 | // when
62 | project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
63 | waitForJobsToComplete();
64 | // then
65 | final IFile junitResource = project
66 | .getFile("target/generated-resources/junit/framework/Assert.class");
67 | assertTrue(junitResource.getName() + " is missing", junitResource.exists());
68 |
69 | final IFile hamcrestResource = project
70 | .getFile("target/generated-resources/org/hamcrest/Matcher.class");
71 | assertTrue(hamcrestResource.getName() + " is missing", hamcrestResource.exists());
72 | }
73 |
74 | public void testShouldCopyDependencies() throws Exception {
75 | // given
76 | final IProject project = importProject("projects/copydeps/pom.xml");
77 | waitForJobsToComplete();
78 | // when
79 | project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
80 | waitForJobsToComplete();
81 | // then
82 | final IFile junitJar = project
83 | .getFile("target/generated-resources/junit-4.10.jar");
84 | assertTrue(junitJar.getName() + " is missing", junitJar.exists());
85 | final IFile hamcrestJar = project
86 | .getFile("target/generated-resources/hamcrest-core-1.1.jar");
87 | assertTrue(hamcrestJar.getName() + " is missing", hamcrestJar.exists());
88 | }
89 | }
90 |
--------------------------------------------------------------------------------