Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven build broken #51

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment
Open

Maven build broken #51

GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Checkout clean maven repo
2. Try to build
3. See the following error



cd /Users/normenhansen/Documents/Code/JavaDrone; 
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home 
"/Applications/NetBeans/NetBeans 
7.3.app/Contents/Resources/NetBeans/java/maven/bin/mvn" install
Scanning for projects...

Some problems were encountered while building the effective model for 
com.codeminders:javadrone-api:jar:1.3
'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 26, column 12

Some problems were encountered while building the effective model for 
com.codeminders:javadrone-utils:jar:1.3
'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 17, column 12
'repositories.repository.id' must not be 'local', this identifier is reserved 
for the local repository, using it for other repositories will corrupt your 
repository metadata. @ line 66, column 8

Some problems were encountered while building the effective model for 
com.codeminders:controltower:jar:1.3
'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 25, column 13
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is 
missing. @ line 34, column 13
The expression ${artifactId} is deprecated. Please use ${project.artifactId} 
instead.

Some problems were encountered while building the effective model for 
com.codeminders:controltower-android:apk:1.3
'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 59, column 15

It is highly recommended to fix these problems because they threaten the 
stability of your build.

For this reason, future Maven versions might no longer support building such 
malformed projects.

------------------------------------------------------------------------
Reactor Build Order:

javadrone
Java API to control Parrot's AR.Drone
javadrone-utils
controltower
controltower android

------------------------------------------------------------------------
Building javadrone 1.3
------------------------------------------------------------------------

[install:install]
Installing /Users/normenhansen/Documents/Code/JavaDrone/pom.xml to 
/Users/normenhansen/.m2/repository/com/codeminders/javadrone/1.3/javadrone-1.3.p
om

------------------------------------------------------------------------
Building Java API to control Parrot's AR.Drone 1.3
------------------------------------------------------------------------

[resources:resources]
[debug] execute contextualize
Using platform encoding (US-ASCII actually) to copy filtered resources, i.e. 
build is platform dependent!
skip non existing resourceDirectory 
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/resources

[compiler:compile]
File encoding has not been set, using platform encoding US-ASCII, i.e. build is 
platform dependent!
Compiling 60 source files to 
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/target/classes
-------------------------------------------------------------
COMPILATION ERROR : 
-------------------------------------------------------------
com/codeminders/ardrone/ARDrone.java:[39,38] error: cannot find symbol
 package com.codeminders.ardrone.version
com/codeminders/ardrone/ARDrone.java:[167,12] error: cannot find symbol
 class ARDrone
com/codeminders/ardrone/version/ftp/DroneFTPversionReader.java:[11,38] error: 
cannot find symbol
 package com.codeminders.ardrone.version
com/codeminders/ardrone/version/ftp/DroneFTPversionReader.java:[13,46] error: 
cannot find symbol
 class DroneVersionReader
com/codeminders/ardrone/version/ftp/DroneFTPversionReader.java:[26,4] error: 
method does not override or implement a method from a supertype
5 errors 
-------------------------------------------------------------
------------------------------------------------------------------------
Reactor Summary:

javadrone ......................................... SUCCESS [0.223s]
Java API to control Parrot's AR.Drone ............. FAILURE [1.983s]
javadrone-utils ................................... SKIPPED
controltower ...................................... SKIPPED
controltower android .............................. SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.849s
Finished at: Wed Jun 05 16:49:11 CEST 2013
Final Memory: 16M/216M
------------------------------------------------------------------------
Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project javadrone-api: Compilation failure: Compilation failure:
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/java/com/cod
eminders/ardrone/ARDrone.java:[39,38] error: cannot find symbol
package com.codeminders.ardrone.version
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/java/com/cod
eminders/ardrone/ARDrone.java:[167,12] error: cannot find symbol
class ARDrone
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/java/com/cod
eminders/ardrone/version/ftp/DroneFTPversionReader.java:[11,38] error: cannot 
find symbol
package com.codeminders.ardrone.version
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/java/com/cod
eminders/ardrone/version/ftp/DroneFTPversionReader.java:[13,46] error: cannot 
find symbol
class DroneVersionReader
/Users/normenhansen/Documents/Code/JavaDrone/javadrone-api/src/main/java/com/cod
eminders/ardrone/version/ftp/DroneFTPversionReader.java:[26,4] error: method 
does not override or implement a method from a supertype
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the 
following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :javadrone-api



Original issue reported on code.google.com by normen667 on 5 Jun 2013 at 3:00

@GoogleCodeExporter
Copy link
Author

This error seems simply luking interface "DroneVersionReader".
Current repository is broken.
If you want to fix temporary, create new file to 

src/main/java/com/codeminders/ardrone/version/

DroneVersionReader.java ////
package com.codeminders.ardrone.version;
import java.io.IOException;

public interface DroneVersionReader {
    public String readDroneVersion() throws IOException;
}
////////////////////////////

And to dear committer, please fix it.

Original comment by [email protected] on 2 Feb 2014 at 9:23

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant