Hi,

trying to build the trunk I got an error. Here is my message printed during build:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.logging.log4j:log4j-flume-ng:jar:2.0-alpha2-SNAPSHOT
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-
pmd-plugin is missing. @ line 242, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Log4j 2
[INFO] Log4J API
[INFO] Log4J Core
[INFO] Log4J Compatibility API
[INFO] SLF4J Binding
[INFO] Log4J Commons Logging
[INFO] Log4J Flume NG
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j 2 2.0-alpha2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j >>>
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ log4j ---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j ---
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using Eclipse Workspace: Z:\Projekte.JUNO
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: D
:\jdk1.7.0\jre
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Log4J API 2.0-alpha2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j-api >>>
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ log4j-api ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j-api <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j-api ---
[INFO] Using Eclipse Workspace: Z:\Projekte.JUNO
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: D
:\jdk1.7.0\jre
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
[INFO] Wrote settings to Z:\Projekte.JUNO\log4j2\api\.settings\org.eclipse.jdt.c
ore.prefs
[INFO] Wrote Eclipse project for "log4j-api" to Z:\Projekte.JUNO\log4j2\api.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Log4J Core 2.0-alpha2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ log4j-core >>>
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ log4j-core --- [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 .................................... SUCCESS [3.406s]
[INFO] Log4J API ......................................... SUCCESS [0.469s]
[INFO] Log4J Core ........................................ FAILURE [0.375s]
[INFO] Log4J Compatibility API ........................... SKIPPED
[INFO] SLF4J Binding ..................................... SKIPPED
[INFO] Log4J Commons Logging ............................. SKIPPED
[INFO] Log4J Flume NG .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.985s
[INFO] Finished at: Mon Aug 20 17:59:34 CEST 2012
[INFO] Final Memory: 14M/36M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-p lugin:1.1:process (default) on project log4j-core: Failed to resolve dependencie
s for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.logging.log4j:log4j-api:jar:2.0-alpha2-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.logging.log4j -DartifactId =log4j-api -Dversion=2.0-alpha2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.logging.log4j -DartifactId=l og4j-api -Dversion=2.0-alpha2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Dur
l=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.logging.log4j:log4j-core:jar:2.0-alpha2-SNAPSHOT
[ERROR] 2) org.apache.logging.log4j:log4j-api:jar:2.0-alpha2-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.logging.log4j:log4j-core:jar:2.0-alpha2-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false
, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=f
alse)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :log4j-core
Z:\Projekte.JUNO\log4j2>

How can I fix the problem?


Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to