Project

General

Profile

DeprecatedSlideMeBuild » History » Version 22

Denis 'GNUtoo' Carikli, 10/27/2009 06:34 PM

1 1 Denis 'GNUtoo' Carikli
== WARNING ==
2
NEWER VERSION OF SLIDEME ARE NOT FREE(AS IN FREEDOM)
3
== Howto ==
4
 * install maven
5 2 Denis 'GNUtoo' Carikli
 * download slideme,and try to build it:
6 1 Denis 'GNUtoo' Carikli
{{{
7
svn checkout http://slideme.googlecode.com/svn/trunk/ slideme-read-only
8 2 Denis 'GNUtoo' Carikli
cd slideme-read-only
9
mvn install
10
}}}
11
after doing that you will have an error:
12
{{{
13
$ mvn install
14
[INFO] Scanning for projects...
15
[INFO] Reactor build order: 
16
[INFO]   slideme-android-parent
17
[INFO]   android-sdk-installer
18
[INFO]   slideme-android-manager
19
[INFO] artifact org.jvending.masa.plugins:maven-dx-plugin: checking for updates from central
20
[INFO] ------------------------------------------------------------------------
21
[ERROR] BUILD ERROR
22
[INFO] ------------------------------------------------------------------------
23
[INFO] The plugin 'org.jvending.masa.plugins:maven-dx-plugin' does not exist or no valid version could be found
24
[INFO] ------------------------------------------------------------------------
25
[INFO] For more information, run Maven with the -e switch
26
[INFO] ------------------------------------------------------------------------
27
[INFO] Total time: 1 second
28
[INFO] Finished at: Mon Oct 26 22:33:17 CET 2009
29
[INFO] Final Memory: 1M/4M
30
[INFO] ------------------------------------------------------------------------
31 1 Denis 'GNUtoo' Carikli
}}}
32 3 Denis 'GNUtoo' Carikli
so go download masa and try to build it:
33
{{{
34
cd ../
35
svn checkout http://masa.googlecode.com/svn/trunk/ masa-read-only
36 5 Denis 'GNUtoo' Carikli
cd masa-read-only
37 4 Denis 'GNUtoo' Carikli
mvn install
38 3 Denis 'GNUtoo' Carikli
}}}
39 6 Denis 'GNUtoo' Carikli
it will fail like that:
40
{{{
41
$ mvn install
42
[INFO] Scanning for projects...
43
Downloading: http://repo1.maven.org/maven2/org/jvending/masa/masa-parent/1/masa-parent-1.pom
44
[INFO] Unable to find resource 'org.jvending.masa:masa-parent:pom:1' in repository central (http://repo1.maven.org/maven2)
45
[INFO] ------------------------------------------------------------------------
46
[ERROR] FATAL ERROR
47
[INFO] ------------------------------------------------------------------------
48
[INFO] Error building POM (may not be this project's POM).
49
50
51
Project ID: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
52
53
Reason: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
54
55
56
[INFO] ------------------------------------------------------------------------
57
[INFO] Trace
58
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
59
	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
60
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
61
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
62
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
63
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
64
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
65
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
66
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
67
	at java.lang.reflect.Method.invoke(Method.java:616)
68
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
69
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
70
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
71
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
72
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
73
	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
74
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
75
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
76
	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
77
	at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
78
	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
79
	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
80
	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
81
	... 12 more
82
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jvending.masa:masa-parent' not found in repository: Unable to download the artifact from any repository
83
84
  org.jvending.masa:masa-parent:pom:1
85
86
from the specified remote repositories:
87
  central (http://repo1.maven.org/maven2)
88
89
 for project org.jvending.masa:masa-parent
90
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
91
	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
92
	... 19 more
93
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
94
95
  org.jvending.masa:masa-parent:pom:1
96
97
from the specified remote repositories:
98
  central (http://repo1.maven.org/maven2)
99
100
101
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
102
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
103
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
104
	... 20 more
105
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
106
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
107
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
108
	... 22 more
109
[INFO] ------------------------------------------------------------------------
110
[INFO] Total time: < 1 second
111
[INFO] Finished at: Mon Oct 26 22:37:02 CET 2009
112
[INFO] Final Memory: 1M/4M
113
[INFO] ------------------------------------------------------------------------
114
}}}
115
then do the following:
116
{{{
117
cd parent
118
mvn install
119 7 Denis 'GNUtoo' Carikli
cd ../
120
mvn install
121 6 Denis 'GNUtoo' Carikli
}}}
122
and it will fails the following way:
123
{{{
124 8 Denis 'GNUtoo' Carikli
[INFO] ------------------------------------------------------------------------
125
[ERROR] BUILD ERROR
126
[INFO] ------------------------------------------------------------------------
127
[INFO] Failed to resolve artifact.
128
129
Missing:
130
----------
131
1) org.apache.maven.shared:maven-verifier:jar:1.2-SNAPSHOT
132
133
  Try downloading the file manually from the project website.
134
135
  Then, install it using the command: 
136
      mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
137
138
  Alternatively, if you host your own repository you can deploy the file there: 
139
      mvn deploy:deploy-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
140
141
  Path to dependency: 
142
  	1) org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT
143
  	2) org.apache.maven.shared:maven-verifier:jar:1.2-SNAPSHOT
144
145
2) org.apache.maven.its:maven-it-helper:jar:2.1-SNAPSHOT
146
147
  Try downloading the file manually from the project website.
148
149
  Then, install it using the command: 
150
      mvn install:install-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
151
152
  Alternatively, if you host your own repository you can deploy the file there: 
153
      mvn deploy:deploy-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
154
155
  Path to dependency: 
156
  	1) org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT
157
  	2) org.apache.maven.its:maven-it-helper:jar:2.1-SNAPSHOT
158
159
----------
160
2 required artifacts are missing.
161
162
for artifact: 
163
  org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT
164
165
from the specified remote repositories:
166
  central (http://repo1.maven.org/maven2)
167
168
169
170
[INFO] ------------------------------------------------------------------------
171
[INFO] For more information, run Maven with the -e switch
172
[INFO] ------------------------------------------------------------------------
173
[INFO] Total time: 2 minutes 30 seconds
174
[INFO] Finished at: Mon Oct 26 22:41:29 CET 2009
175
[INFO] Final Memory: 48M/86M
176
[INFO] ------------------------------------------------------------------------
177 9 Denis 'GNUtoo' Carikli
}}}
178
but http://maven.apache.org/shared/index.html has the sources of theses missing artifacts,so do:
179
{{{
180
cd ../
181
svn co http://svn.apache.org/repos/asf/maven/shared/trunk/maven-verifier/
182
cd maven-verifier
183
mvn install
184 11 Denis 'GNUtoo' Carikli
mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=./target/maven-verifier-1.3-SNAPSHOT.jar 
185 10 Denis 'GNUtoo' Carikli
cd ../
186 6 Denis 'GNUtoo' Carikli
}}}
187 13 Denis 'GNUtoo' Carikli
http://mojo.codehaus.org/build-helper-maven-plugin/source-repository.html shows the artifacts's source code's repository,so do:
188 12 Denis 'GNUtoo' Carikli
{{{
189
svn co http://svn.codehaus.org/mojo/tags/build-helper-maven-plugin-1.4
190 1 Denis 'GNUtoo' Carikli
cd build-helper-maven-plugin-1.4
191 13 Denis 'GNUtoo' Carikli
mvn install
192
mvn install:install-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=./target/build-helper-maven-plugin-1.4.jar
193
cd ../masa-read-only
194 12 Denis 'GNUtoo' Carikli
mvn install
195
}}}
196 14 Denis 'GNUtoo' Carikli
and it fails here:
197
{{{
198
[INFO] ------------------------------------------------------------------------
199
[INFO] Building JVending Masa: masa-integration-testing
200
[INFO]    task-segment: [install]
201
[INFO] ------------------------------------------------------------------------
202
[INFO] [resources:resources {execution: default-resources}]
203
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
204
[INFO] skip non existing resourceDirectory /home/android/apps/masa-read-only/masa-integration-testing/src/main/resources
205
[INFO] [compiler:compile {execution: default-compile}]
206
[INFO] No sources to compile
207
[INFO] [resources:testResources {execution: default-testResources}]
208
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
209
[INFO] Copying 18 resources
210
[INFO] [compiler:testCompile {execution: default-testCompile}]
211
[INFO] Compiling 4 source files to /home/android/apps/masa-read-only/masa-integration-testing/target/test-classes
212
[INFO] ------------------------------------------------------------------------
213
[ERROR] BUILD FAILURE
214
[INFO] ------------------------------------------------------------------------
215
[INFO] Compilation failure
216
217
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[5,26] cannot find symbol
218
symbol  : class AbstractMavenIntegrationTestCase
219
location: package org.apache.maven.it
220
221
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[9,54] cannot find symbol
222
symbol: class AbstractMavenIntegrationTestCase
223
public class MavenITmasa33StringsMergingTest  extends AbstractMavenIntegrationTestCase
224
225
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[5,26] cannot find symbol
226
symbol  : class AbstractMavenIntegrationTestCase
227
location: package org.apache.maven.it
228
229
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[10,57] cannot find symbol
230
symbol: class AbstractMavenIntegrationTestCase
231
public class MavenITmasa30LocalizedResourcesTest extends AbstractMavenIntegrationTestCase
232
233
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[6,26] cannot find symbol
234
symbol  : class AbstractMavenIntegrationTestCase
235
location: package org.apache.maven.it
236
237
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[11,12] cannot find symbol
238
symbol: class AbstractMavenIntegrationTestCase
239
    extends AbstractMavenIntegrationTestCase
240
241
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[14,15] cannot find symbol
242
symbol  : variable ALL_MAVEN_VERSIONS
243
location: class org.jvending.masa.it.MavenITmasa33StringsMergingTest
244
245
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[25,65] cannot find symbol
246
symbol  : method getClass()
247
location: class org.jvending.masa.it.MavenITmasa33StringsMergingTest
248
249
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[15,15] cannot find symbol
250
symbol  : variable ALL_MAVEN_VERSIONS
251
location: class org.jvending.masa.it.MavenITmasa30LocalizedResourcesTest
252
253
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[26,65] cannot find symbol
254
symbol  : method getClass()
255
location: class org.jvending.masa.it.MavenITmasa30LocalizedResourcesTest
256
257
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[16,15] cannot find symbol
258
symbol  : variable ALL_MAVEN_VERSIONS
259
location: class org.jvending.masa.it.MavenITmasa29PoTest
260
261
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[27,65] cannot find symbol
262
symbol  : method getClass()
263
location: class org.jvending.masa.it.MavenITmasa29PoTest
264
265
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[46,65] cannot find symbol
266
symbol  : method getClass()
267
location: class org.jvending.masa.it.MavenITmasa29PoTest
268
269
/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[65,65] cannot find symbol
270
symbol  : method getClass()
271
location: class org.jvending.masa.it.MavenITmasa29PoTest
272
273
274
[INFO] ------------------------------------------------------------------------
275
[INFO] For more information, run Maven with the -e switch
276
[INFO] ------------------------------------------------------------------------
277
[INFO] Total time: 20 seconds
278
[INFO] Finished at: Mon Oct 26 22:53:40 CET 2009
279
[INFO] Final Memory: 25M/44M
280
[INFO] ------------------------------------------------------------------------
281
282
}}}
283 15 Denis 'GNUtoo' Carikli
http://svn.apache.org/repos/asf/ contains all the apache projects repositories,so checkout the core-integration-testing project:
284
{{{
285
cd ../
286 16 Denis 'GNUtoo' Carikli
svn co http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk core-integration-testing
287
cd core-integration-testing
288 17 Denis 'GNUtoo' Carikli
mvn install
289
cd ../masa-read-only
290
mvn install
291 15 Denis 'GNUtoo' Carikli
}}}
292 18 Denis 'GNUtoo' Carikli
then retry to build slideme:
293
{{{
294
cd ../slideme-read-only
295
mvn install
296
}}}
297 19 Denis 'GNUtoo' Carikli
and it fails like this:
298
{{{
299
$ mvn install
300
[INFO] Scanning for projects...
301
[INFO] Reactor build order: 
302
[INFO]   slideme-android-parent
303
[INFO]   android-sdk-installer
304
[INFO]   slideme-android-manager
305
[INFO] ------------------------------------------------------------------------
306
[INFO] Building slideme-android-parent
307
[INFO]    task-segment: [install]
308
[INFO] ------------------------------------------------------------------------
309
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom
310
      
311
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.jar
312
       
313
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
314
[INFO] [install:install {execution: default-install}]
315
[INFO] Installing /home/android/apps/slideme-read-only/pom.xml to /home/android/.m2/repository/org/slideme/android/slideme-android-parent/1.0-CE/slideme-android-parent-1.0-CE.pom
316
[INFO] ------------------------------------------------------------------------
317
[INFO] Building android-sdk-installer
318
[INFO]    task-segment: [install]
319
[INFO] ------------------------------------------------------------------------
320
[INFO] [resources:resources {execution: default-resources}]
321
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
322
[INFO] skip non existing resourceDirectory /home/android/apps/slideme-read-only/android-sdk-installer/src/main/resources
323
[INFO] [compiler:compile {execution: default-compile}]
324
[INFO] Compiling 1 source file to /home/android/apps/slideme-read-only/android-sdk-installer/target/classes
325
[INFO] [resources:testResources {execution: default-testResources}]
326
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
327
[INFO] skip non existing resourceDirectory /home/android/apps/slideme-read-only/android-sdk-installer/src/test/resources
328
[INFO] [compiler:testCompile {execution: default-testCompile}]
329
[INFO] No sources to compile
330
[INFO] [surefire:test {execution: default-test}]
331
[INFO] No tests to run.
332
[INFO] [jar:jar {execution: default-jar}]
333
[INFO] Building jar: /home/android/apps/slideme-read-only/android-sdk-installer/target/android-sdk-installer-1.0-CE.jar
334
[INFO] [install:install {execution: default-install}]
335
[INFO] Installing /home/android/apps/slideme-read-only/android-sdk-installer/target/android-sdk-installer-1.0-CE.jar to /home/android/.m2/repository/org/slideme/android/sdk/android-sdk-installer/1.0-CE/android-sdk-installer-1.0-CE.jar
336
[INFO] ------------------------------------------------------------------------
337
[INFO] Building slideme-android-manager
338
[INFO]    task-segment: [install]
339
[INFO] ------------------------------------------------------------------------
340
[INFO] ------------------------------------------------------------------------
341
[ERROR] BUILD ERROR
342
[INFO] ------------------------------------------------------------------------
343
[INFO] Cannot find lifecycle mapping for packaging: 'android:apk'.
344
Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingandroid:apk.
345
[INFO] ------------------------------------------------------------------------
346
[INFO] For more information, run Maven with the -e switch
347
[INFO] ------------------------------------------------------------------------
348
[INFO] Total time: 13 seconds
349
[INFO] Finished at: Tue Oct 27 14:10:57 CET 2009
350
[INFO] Final Memory: 17M/34M
351
[INFO] ------------------------------------------------------------------------
352
}}}
353
so do:
354
{{{
355 20 Denis 'GNUtoo' Carikli
cd ../
356
git clone git://github.com/jayway/maven-android-plugin.git
357
cd maven-android-plugin
358
mvn install
359
}}}
360 21 Denis 'GNUtoo' Carikli
it will fail this way:
361
{{{
362
[INFO] Scanning for projects...
363
[INFO] ------------------------------------------------------------------------
364
[INFO] Building Maven Android Plugin - maven-android-plugin
365
[INFO]    task-segment: [install]
366
[INFO] ------------------------------------------------------------------------
367
[INFO] [plugin:descriptor {execution: default-descriptor}]
368
[INFO] Using 2 extractors.
369
[INFO] Applying extractor for language: java
370
[INFO] Extractor for language: java found 11 mojo descriptors.
371
[INFO] Applying extractor for language: bsh
372
[INFO] Extractor for language: bsh found 0 mojo descriptors.
373
[INFO] [resources:resources {execution: default-resources}]
374
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
375
[INFO] Copying 1 resource
376
[INFO] [compiler:compile {execution: default-compile}]
377
[INFO] Nothing to compile - all classes are up to date
378
[INFO] [resources:testResources {execution: default-testResources}]
379
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
380
[INFO] Copying 5 resources
381
[INFO] [compiler:testCompile {execution: default-testCompile}]
382
[INFO] Nothing to compile - all classes are up to date
383
[INFO] [surefire:test {execution: default-test}]
384
[INFO] Surefire report directory: /home/android/apps/maven-android-plugin/target/surefire-reports
385
386
-------------------------------------------------------
387
 T E S T S
388
-------------------------------------------------------
389
Running com.jayway.maven.plugins.android.asm.AndroidTestFinderTest
390
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 sec
391
Running com.jayway.maven.plugins.android.AbstractAndroidMojoTest
392
Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec <<< FAILURE!
393
Running com.jayway.maven.plugins.android.asm.withtests.TestClassA
394
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
395
Running com.jayway.maven.plugins.android.asm.withtests.TestClassB
396
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
397
Running com.jayway.maven.plugins.android.AndroidSdkTest
398
Tests run: 14, Failures: 14, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec <<< FAILURE!
399
400
Results :
401
402
Failed tests: 
403
  givenApidemosApkThenPackageIsFound(com.jayway.maven.plugins.android.AbstractAndroidMojoTest)
404
  givenApidemosPlatformtestsApkThenPackageIsFound(com.jayway.maven.plugins.android.AbstractAndroidMojoTest)
405
  givenLayout1dot1AndToolAdbThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
406
  givenLayout1dot1AndToolAndroidThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
407
  givenLayout1dot1AndToolAaptThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
408
  givenLayout1dot5AndToolAdbThenPathIsCommon(com.jayway.maven.plugins.android.AndroidSdkTest)
409
  givenLayout1dot5AndToolAndroidThenPathIsCommon(com.jayway.maven.plugins.android.AndroidSdkTest)
410
  givenLayout1dot5AndToolAaptAndPlatform1dot1ThenPathIsPlatform1dot1(com.jayway.maven.plugins.android.AndroidSdkTest)
411
  givenLayout1dot5AndToolAaptAndPlatform1dot5ThenPathIsPlatform1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)
412
  givenLayout1dot5AndToolAaptAndPlatform1dot6ThenException(com.jayway.maven.plugins.android.AndroidSdkTest)
413
  givenInvalidSdkPathThenException(com.jayway.maven.plugins.android.AndroidSdkTest)
414
  givenSdk11PathThenLayoutIs11(com.jayway.maven.plugins.android.AndroidSdkTest)
415
  givenSdk15PathThenLayoutIs15(com.jayway.maven.plugins.android.AndroidSdkTest)
416
  givenSdk1dodt1ThenPlatformEqualsPath(com.jayway.maven.plugins.android.AndroidSdkTest)
417
  givenSdk1dodt5AndPlatform1dot5ThenPlatformis1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)
418
  givenSdk1dodt5AndPlatformNullThenPlatformis1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)
419
420
Tests run: 23, Failures: 16, Errors: 0, Skipped: 0
421
422
[INFO] ------------------------------------------------------------------------
423
[ERROR] BUILD FAILURE
424
[INFO] ------------------------------------------------------------------------
425
[INFO] There are test failures.
426
427
Please refer to /home/android/apps/maven-android-plugin/target/surefire-reports for the individual test results.
428
[INFO] ------------------------------------------------------------------------
429
[INFO] For more information, run Maven with the -e switch
430
[INFO] ------------------------------------------------------------------------
431
[INFO] Total time: 9 seconds
432
[INFO] Finished at: Tue Oct 27 14:35:11 CET 2009
433
[INFO] Final Memory: 20M/36M
434
[INFO] ------------------------------------------------------------------------
435
}}}
436 22 Denis 'GNUtoo' Carikli
that is because we lack the sdk(it tells it in the logs that are in /home/android/apps/maven-android-plugin/target/surefire-reports)
437 1 Denis 'GNUtoo' Carikli
so let's build a free sdk:
438 22 Denis 'GNUtoo' Carikli
{{{
439
cd ~/replicant
440
export ANDROID_JAVA_HOME=$JAVA_HOME
441
lunch htc_dream-eng
442
make sdk
443
}}}