On 1 November 2012 10:29, Stadelmann Josef <
josef.stadelm...@axa-winterthur.ch> wrote:

> How can I cure best the problems shown below? it occurs during a
> bootstrap-build of maven-3/trunk on my Vista System.
> (see red lines, which are of interesst to me).
>
> I have successfully build from sources SLF4J é all. Where does this
> bootstrap-build.xml expect this files now?
> where do I have to copy the SLF4J-*.jars and maybe others to make the
> maven-3/trunk build.xml (bootstrap-build) happy?
>

SLF4J should be downloaded by the [artifact:dependencies] task, just like
all the other bootstrap dependencies - you shouldn't need to build it
yourself.

Has the final error shown below, (which makes the bootstrap-build fail?) to
> do with the absence of SLF4J-*.jar's or what does it indicate?
>

The SLF4J messages about 'Failed to load class' and 'Defaulting to
no-operation' are informational and should not fail the build. It means
that it couldn't find a backend implementation (the current build does not
specify a particular backend on purpose) so it's telling you about this in
case you had meant to choose a backend but forgot:
http://www.slf4j.org/codes.html#StaticLoggerBinder

The final error just says that Java returned 1 on exit, but doesn't say why
- you could try running "ant -d -f build.xml" to see if that gives more
information about the failure at the end.

FWIW, I just tried the bootstrap build on a clean system (OSX,
Java 1.6.0_37, Ant 1.8.4) and it built without errors - note that I still
saw the SLF4J messages, but those are expected at the moment

This on a Windows Vista System
> Josef
>
> ant -f E:\\asf\\maven\\maven-3\\trunk all
> clean-bootstrap:
> initTaskDefs:
> Building Apache Maven ...
> isMavenHomeSet:
> init:
> maven.home = E:\Users\C770817\SW-UMGEBUNG\apache-maven-3.1
> maven.repo.local = /E:/Users/C770817/.m2/repository
> distributionId = apache-maven
> distributionName = Apache Maven
> distributionDirectory = apache-maven
> prompt-maven-home-exists:
> pull:
> Copying 1 file to E:\asf\maven\maven-3\trunk
> Deleting: E:\asf\maven\maven-3\trunk\dependencies.xml
> generate-sources:
> Created dir: E:\asf\maven\maven-3\trunk\bootstrap\target
> Created dir: E:\asf\maven\maven-3\trunk\bootstrap\target\generated-sources
> Generating sources for maven-model/src/main/mdo/maven.mdo
> Generating sources for maven-plugin-api/src/main/mdo/lifecycle.mdo
> Generating sources for maven-model-builder/src/main/mdo/profiles.mdo
> Generating sources for maven-settings/src/main/mdo/settings.mdo
> Generating sources for maven-core/src/main/mdo/toolchains.mdo
> Generating sources for maven-repository-metadata/src/main/mdo/metadata.mdo
> Generating sources for maven-compat/src/main/mdo/profiles.mdo
> Generating sources for maven-compat/src/main/mdo/paramdoc.mdo
> compile-boot:
> Created dir: E:\asf\maven\maven-3\trunk\bootstrap\target\classes
> Compiling 719 source files to
> E:\asf\maven\maven-3\trunk\bootstrap\target\classes
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Copying 1 file to E:\asf\maven\maven-3\trunk\bootstrap\target\classes
> process-classes:
> Using plexus version 1.5.5
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> [INFO] Discovered 129 component descriptors(s)
> maven-compile:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> null 3.1-SNAPSHOT
> ${distributionShortName} home: <unknown maven home>
> Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_30\jre
> Default locale: de_CH, platform encoding: Cp1252
> OS name: "windows vista", version: "6.0", arch: "x86", family:
> "windows"[debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.model.ActivationFileTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.model.ActivationOSTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ActivationPropertyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ActivationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.BuildTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.model.CiManagementTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ContributorTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.DependencyManagementTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.DependencyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.DeploymentRepositoryTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.DeveloperTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.DistributionManagementTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ExclusionTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ExtensionTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.IssueManagementTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.LicenseTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.MailingListTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ModelTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.NotifierTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.OrganizationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ParentTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PluginConfigurationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PluginContainerTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PluginExecutionTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PluginManagementTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PluginTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.PrerequisitesTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ProfileTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.RelocationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ReportingTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ReportPluginTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ReportSetTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.RepositoryPolicyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.model.RepositoryTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.ResourceTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.model.ScmTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.maven.model.SiteTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> Results :
>
> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.artifact.versioning.ComparableVersionTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
> Running org.apache.maven.artifact.versioning.DefaultArtifactVersionTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.artifact.versioning.VersionRangeTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> Results :
>
> Tests run: 21, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.plugin.descriptor.PluginDescriptorBuilderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> Running org.apache.maven.plugin.lifecycle.LifecycleXpp3ReaderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> Results :
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.model.building.DefaultModelBuilderFactoryTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec
> Running org.apache.maven.model.inheritance.DefaultInheritanceAssemblerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.671 sec
> Running
> org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest
> Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 sec
> Running org.apache.maven.model.path.DefaultUrlNormalizerTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running
> org.apache.maven.model.profile.activation.JdkVersionProfileActivatorTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> Running
> org.apache.maven.model.profile.activation.PropertyProfileActivatorTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
> Running org.apache.maven.model.validation.DefaultModelValidatorTest
> Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.967 sec
>
> Results :
>
> Tests run: 94, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.maven.settings.building.DefaultSettingsBuilderFactoryTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Running org.apache.maven.settings.validation.DefaultSettingsValidatorTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> Results :
>
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [debug] execute contextualize
> [debug] execute contextualize
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.repository.internal.DefaultServiceLocatorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
> Running org.apache.maven.repository.internal.DefaultVersionResolverTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 sec
> Running org.apache.maven.repository.internal.RepositorySystemTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.281 sec
>
> Results :
>
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
>
> E:\asf\maven\maven-3\trunk\build.xml:250: Java returned: 1
> BUILD FAILED (total time: 1 minute 21 seconds)
>

-- 
Cheers, Stuart

Reply via email to