However, when running mvn package I encountered the following error. I'm not sure what is causing it though.
- Code: Select all
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic stand-alone installer 0.7
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-assembly-plugin:2.3:single (make-assembly) @ subsonic-installer-standalone ---
[INFO] Reading assembly descriptor: src/main/assembly/zip.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.154s
[INFO] Finished at: Sat Dec 15 13:09:37 MYT 2012
[INFO] Final Memory: 9M/168M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (make-assembly) on project subsonic-installer-standalone: Failed to create assembly: Unable to resolve dependencies for assembly 'bin': Failed to resolve dependencies for assembly: Unable to get dependency information for net.sourceforge.subsonic:subsonic-main:war:0.7: Failed to process POM for net.sourceforge.subsonic:subsonic-main:war:0.7: Non-resolvable parent POM: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
[ERROR] net.sourceforge.subsonic:subsonic-main:war:0.7
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] local1 (file:repo, releases=true, snapshots=true),
[ERROR] local2 (file:../repo, releases=true, snapshots=true),
[ERROR] java_net (http://download.java.net/maven/2/, releases=true, snapshots=true),
[ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
[ERROR] Path to dependency:
[ERROR] 1) net.sourceforge.subsonic:subsonic-installer-standalone:pom:0.7
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (make-assembly) on project subsonic-installer-standalone: Failed to create assembly: Unable to resolve dependencies for assembly 'bin'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create assembly: Unable to resolve dependencies for assembly 'bin'
at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:511)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Unable to resolve dependencies for assembly 'bin'
at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:204)
at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:452)
... 21 more
Caused by: org.apache.maven.plugin.assembly.artifact.DependencyResolutionException: Failed to resolve dependencies for assembly:
at org.apache.maven.plugin.assembly.artifact.DefaultDependencyResolver.resolveTransitively(DefaultDependencyResolver.java:207)
at org.apache.maven.plugin.assembly.artifact.DefaultDependencyResolver.resolve(DefaultDependencyResolver.java:122)
at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:176)
... 22 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for net.sourceforge.subsonic:subsonic-main:war:0.7: Failed to process POM for net.sourceforge.subsonic:subsonic-main:war:0.7: Non-resolvable parent POM: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
net.sourceforge.subsonic:subsonic-main:war:0.7
from the specified remote repositories:
local1 (file:repo, releases=true, snapshots=true),
local2 (file:../repo, releases=true, snapshots=true),
java_net (http://download.java.net/maven/2/, releases=true, snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
Path to dependency:
1) net.sourceforge.subsonic:subsonic-installer-standalone:pom:0.7
at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:576)
at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:144)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:464)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveWithExceptions(DefaultArtifactResolver.java:320)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:314)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:293)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:271)
at org.apache.maven.plugin.assembly.artifact.DefaultDependencyResolver.resolveTransitively(DefaultDependencyResolver.java:200)
... 24 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Failed to process POM for net.sourceforge.subsonic:subsonic-main:war:0.7: Non-resolvable parent POM: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:586)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:192)
at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:532)
... 31 more
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:819)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:141)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:243)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:579)
... 33 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:323)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)
... 41 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find net.sourceforge.subsonic:subsonic:pom:0.7 in file:repo was cached in the local repository, resolution will not be reattempted until the update interval of local1 has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:190)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:430)
... 45 more