Here's the NetBeans Maven output for my simple PostgreSQL jdbc connection
tester project:
My snapshots repo's id is actually biolife-snapshots. The server id, mirrorOf,
and profile's repository id all list that name as the id.
cd C:\workspaceNB\postgresql-test; "JAVA_HOME=C:\\Program
Files\\Java\\jdk1.7.0_02" C:\\apache\\maven-3.0.4\\bin\\mvn.bat --debug --debug
clean install
Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
Maven home: C:\apache\maven-3.0.4\bin\..
Java version: 1.7.0_02, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_02\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
Error stacktraces are turned on.
Reading global settings from C:\apache\maven-3.0.4\bin\..\conf\settings.xml
Reading user settings from C:\Documents and Settings\harrisc7\.m2\settings.xml
Using local repository at C:\Documents and Settings\harrisc7\.m2\repository
Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Documents
and Settings\harrisc7\.m2\repository
Scanning for projects...
Extension realms for project
com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: (none)
Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core,
parent: null]
=== REACTOR BUILD PLAN ================================================
Project: com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT
Tasks: [clean, install]
Style: Regular
=======================================================================
------------------------------------------------------------------------
Building postgresql-test 1.0-SNAPSHOT
------------------------------------------------------------------------
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) for
apache.snapshots (http://repository.apache.org/snapshots).
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
=== PROJECT BUILD PLAN ================================================
Project: com.baxter.biolife.webservices:postgresql-test:1.0-SNAPSHOT
Dependencies (collect): []
Dependencies (resolve): [compile, runtime, test]
Repositories (dependencies): [biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots),
biolife (http://localhost:8083/archiva/repository/biolife/, releases)]
Repositories (plugins) : [biolife
(http://localhost:8083/archiva/repository/biolife/, releases)]
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean
(default-clean)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<directory default-value="${project.build.directory}"/>
<excludeDefaultDirectories
default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
<failOnError default-value="true">${maven.clean.failOnError}</failOnError>
<followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<reportDirectory default-value="${project.reporting.outputDirectory}"/>
<skip default-value="false">${clean.skip}</skip>
<testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
<verbose>${clean.verbose}</verbose>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-resources-plugin:2.5:resources
(default-resources)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<buildFilters default-value="${project.build.filters}"/>
<encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<escapeString>${maven.resources.escapeString}</escapeString>
<escapeWindowsPaths
default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
<includeEmptyDirs
default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<overwrite default-value="false">${maven.resources.overwrite}</overwrite>
<project default-value="${project}"/>
<resources default-value="${project.resources}"/>
<session default-value="${session}"/>
<supportMultiLineFiltering
default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<classpathElements default-value="${project.compileClasspathElements}"/>
<compileSourceRoots default-value="${project.compileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedSourcesDirectory
default-value="${project.build.directory}/generated-sources/annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<outputFileName>${project.build.finalName}</outputFileName>
<projectArtifact default-value="${project.artifact}"/>
<session default-value="${session}"/>
<showDeprecation
default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings
default-value="false">${maven.compiler.showWarnings}</showWarnings>
<source default-value="1.5">${maven.compiler.source}</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.5">${maven.compiler.target}</target>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
-----------------------------------------------------------------------
Goal:
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
(default-testResources)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<buildFilters default-value="${project.build.filters}"/>
<encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<escapeString>${maven.resources.escapeString}</escapeString>
<escapeWindowsPaths
default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
<includeEmptyDirs
default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
<overwrite default-value="false">${maven.resources.overwrite}</overwrite>
<project default-value="${project}"/>
<resources>${project.testResources}</resources>
<session default-value="${session}"/>
<supportMultiLineFiltering
default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<classpathElements default-value="${project.testClasspathElements}"/>
<compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedTestSourcesDirectory
default-value="${project.build.directory}/generated-sources/test-annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.testOutputDirectory}"/>
<outputFileName>${project.build.finalName}</outputFileName>
<session default-value="${session}"/>
<showDeprecation
default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings
default-value="false">${maven.compiler.showWarnings}</showWarnings>
<skip>${maven.test.skip}</skip>
<source default-value="1.5">${maven.compiler.source}</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.5">${maven.compiler.target}</target>
<testSource>${maven.compiler.testSource}</testSource>
<testTarget>${maven.compiler.testTarget}</testTarget>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-surefire-plugin:2.10:test
(default-test)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<argLine>${argLine}</argLine>
<basedir default-value="${basedir}"/>
<childDelegation default-value="false">${childDelegation}</childDelegation>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
<disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
<enableAssertions default-value="true">${enableAssertions}</enableAssertions>
<excludedGroups>${excludedGroups}</excludedGroups>
<failIfNoTests>${failIfNoTests}</failIfNoTests>
<forkMode default-value="once">${forkMode}</forkMode>
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
<groups>${groups}</groups>
<junitArtifactName
default-value="junit:junit">${junitArtifactName}</junitArtifactName>
<jvm>${jvm}</jvm>
<localRepository>${localRepository}</localRepository>
<objectFactory>${objectFactory}</objectFactory>
<parallel>${parallel}</parallel>
<parallelMavenExecution default-value="${session.parallel}"/>
<perCoreThreadCount
default-value="true">${perCoreThreadCount}</perCoreThreadCount>
<pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
<printSummary default-value="true">${surefire.printSummary}</printSummary>
<project default-value="${project}"/>
<projectArtifactMap>${project.artifactMap}</projectArtifactMap>
<redirectTestOutputToFile
default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
<remoteRepositories>${project.pluginArtifactRepositories}</remoteRepositories>
<reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
<reportNameSuffix
default-value="">${surefire.reportNameSuffix}</reportNameSuffix>
<reportsDirectory
default-value="${project.build.directory}/surefire-reports"/>
<runOrder default-value="filesystem"/>
<session>${session}</session>
<skip default-value="false">${maven.test.skip}</skip>
<skipExec>${maven.test.skip.exec}</skipExec>
<skipTests default-value="false">${skipTests}</skipTests>
<test>${test}</test>
<testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
<testFailureIgnore
default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
<testNGArtifactName
default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
<testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
<threadCount>${threadCount}</threadCount>
<trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
<useFile default-value="true">${surefire.useFile}</useFile>
<useManifestOnlyJar
default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
<useSystemClassLoader
default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
<useUnlimitedThreads
default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
<workingDirectory>${basedir}</workingDirectory>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar (default-jar)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<defaultManifestFile
default-value="${project.build.outputDirectory}/META-INF/MANIFEST.MF"/>
<finalName
default-value="${project.build.finalName}">${jar.finalName}</finalName>
<forceCreation default-value="false">${jar.forceCreation}</forceCreation>
<outputDirectory default-value="${project.build.directory}"/>
<project default-value="${project}"/>
<useDefaultManifestFile
default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
-----------------------------------------------------------------------
Goal: org.apache.maven.plugins:maven-install-plugin:2.3.1:install
(default-install)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<artifact default-value="${project.artifact}"/>
<attachedArtifacts default-value="${project.attachedArtifacts}"/>
<createChecksum default-value="false">${createChecksum}</createChecksum>
<localRepository>${localRepository}</localRepository>
<packaging default-value="${project.packaging}"/>
<pomFile default-value="${project.file}"/>
<updateReleaseInfo
default-value="false">${updateReleaseInfo}</updateReleaseInfo>
</configuration>
=======================================================================
Could not find metadata
org.apache.myfaces.tomahawk:tomahawk12:1.1.14-SNAPSHOT/maven-metadata.xml in
local (C:\Documents and Settings\harrisc7\.m2\repository)
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk12/1.1.14-SNAPSHOT/maven-metadata.xml
Downloaded:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk12/1.1.14-SNAPSHOT/maven-metadata.xml
(375 B at 0.1 KB/sec)
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk12\1.1.14-SNAPSHOT\resolver-status.properties
Could not find metadata
org.apache.myfaces.tomahawk:tomahawk-project:1.1.14-SNAPSHOT/maven-metadata.xml
in local (C:\Documents and Settings\harrisc7\.m2\repository)
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk-project/1.1.14-SNAPSHOT/maven-metadata.xml
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-project\1.1.14-SNAPSHOT\resolver-status.properties
Could not find metadata
org.apache.myfaces.tomahawk:tomahawk-project:1.1.14-SNAPSHOT/maven-metadata.xml
in biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/)
Verifying availability of C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-project\1.1.14-SNAPSHOT\tomahawk-project-1.1.14-SNAPSHOT.pom
from [biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots),
biolife (http://localhost:8083/archiva/repository/biolife/, releases)]
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk-project/1.1.14-SNAPSHOT/tomahawk-project-1.1.14-SNAPSHOT.pom
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-project\1.1.14-SNAPSHOT\tomahawk-project-1.1.14-SNAPSHOT.pom.lastUpdated
Could not find metadata
org.apache.myfaces.tomahawk:tomahawk-sandbox12:1.1.14-SNAPSHOT/maven-metadata.xml
in local (C:\Documents and Settings\harrisc7\.m2\repository)
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk-sandbox12/1.1.14-SNAPSHOT/maven-metadata.xml
Downloaded:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/tomahawk-sandbox12/1.1.14-SNAPSHOT/maven-metadata.xml
(383 B at 1.3 KB/sec)
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-sandbox12\1.1.14-SNAPSHOT\resolver-status.properties
Could not find metadata
org.apache.myfaces.tomahawk:sandbox-project:1.1.14-SNAPSHOT/maven-metadata.xml
in local (C:\Documents and Settings\harrisc7\.m2\repository)
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/sandbox-project/1.1.14-SNAPSHOT/maven-metadata.xml
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-project\1.1.14-SNAPSHOT\resolver-status.properties
Could not find metadata
org.apache.myfaces.tomahawk:sandbox-project:1.1.14-SNAPSHOT/maven-metadata.xml
in biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/)
Verifying availability of C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-project\1.1.14-SNAPSHOT\sandbox-project-1.1.14-SNAPSHOT.pom
from [biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots),
biolife (http://localhost:8083/archiva/repository/biolife/, releases)]
Using connector WagonRepositoryConnector with priority 0 for
http://localhost:8083/archiva/repository/biolife-snapshots/ as admin
Downloading:
http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myfaces/tomahawk/sandbox-project/1.1.14-SNAPSHOT/sandbox-project-1.1.14-SNAPSHOT.pom
Writing resolution tracking file C:\Documents and
Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-project\1.1.14-SNAPSHOT\sandbox-project-1.1.14-SNAPSHOT.pom.lastUpdated
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 23.187s
Finished at: Wed Sep 19 10:44:08 CDT 2012
Final Memory: 8M/247M
------------------------------------------------------------------------
Failed to execute goal on project postgresql-test: Could not resolve
dependencies for project
com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to
collect dependencies for [junit:junit:jar:3.8.1 (test),
postgresql:postgresql:jar:9.1-901.jdbc4 (compile),
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile),
org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT (compile)]:
Failed to read artifact descriptor for
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT: Could not find
artifact org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in
biolife-snapshots (http://localhost:8083/archiva/repository/biolife-snapshots/)
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
on project postgresql-test: Could not resolve dependencies for project
com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to
collect dependencies for [junit:junit:jar:3.8.1 (test),
postgresql:postgresql:jar:9.1-901.jdbc4 (compile),
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile),
org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT (compile)]
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
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:320)
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.project.DependencyResolutionException: Could not
resolve dependencies for project
com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to
collect dependencies for [junit:junit:jar:3.8.1 (test),
postgresql:postgresql:jar:9.1-901.jdbc4 (compile),
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile),
org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT (compile)]
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 22 more
Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed
to collect dependencies for [junit:junit:jar:3.8.1 (test),
postgresql:postgresql:jar:9.1-901.jdbc4 (compile),
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile),
org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT (compile)]
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed
to read artifact descriptor for
org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:331)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
... 25 more
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Could
not find artifact
org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in
biolife-snapshots (http://localhost:8083/archiva/repository/biolife-snapshots/)
at
org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:126)
at
org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813)
at
org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664)
at
org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310)
at
org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:322)
... 28 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could
not find artifact
org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in
biolife-snapshots (http://localhost:8083/archiva/repository/biolife-snapshots/)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at
org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:122)
... 33 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not
find artifact org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT
in biolife-snapshots
(http://localhost:8083/archiva/repository/biolife-snapshots/)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
For more information about the errors and possible solutions, please read the
following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
- Chris Harris
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Deng Ching
Sent: Wednesday, September 19, 2012 3:55 AM
To: [email protected]
Subject: Re: Cannot download SNAPSHOT from Archiva when listed as dependency
Yep, the repository id should match the server id and the one in mirrorOf.
Sorry, https was a typo in my part, should be just http if you're not
running Archiva in secured protocol. Can you paste the snippet of the build
output when you got the error?
Thanks,
Deng
On Wed, Sep 19, 2012 at 12:22 PM, Harris, Christopher P <
[email protected]> wrote:
> Hi, Deng.
>
> That partially worked for me. I had to modify it though.
> <server>
> <id>repo-snapshots</id>
> <username>admin</username>
> <password>password</password>
> </server>
>
> "external:*" has never worked for me. "*" works for me.
>
> <mirror>
> <id>some_id</id>
> <url>http://localhost:8083/archiva/repository/group_id/</url>
> <mirrorOf>*,!repo-snapshots</mirrorOf>
> </mirror>
>
> It seems that when I removed the 's' in "https", I was able to
> successfully download the .pom and meta-data.xml files. I couldn't
> download the .jar's though.
>
> <profile>
> <id>repo-snapshots</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <repositories>
> <repository>
> <id>repo-snapshots</id>
> <name>repo-snapshots</name>
> <url>http://localhost:8083/archiva/repository/repo-snapshots/
> </url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> </profile>
>
> I take it something in profile is supposed to match something in
> the mirror and server sections?
>
> I received a "could not resolve dependency" error when compiling my test
> project.
>
> - Chris Harris
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Deng
> Ching
> Sent: Tuesday, September 18, 2012 10:39 PM
> To: [email protected]
> Subject: Re: Cannot download SNAPSHOT from Archiva when listed as
> dependency
>
> Hi Chris,
>
> You need to add the snapshots repo as follows:
>
> <profile>
> <id>snapshots-profile</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <repositories>
> <repository>
> <id>snapshots.repo</id>
> <name>Your Snapshots Repo</name>
> <url>https://archiva.repo/archiva/repository/snapshots</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> </profile>
>
> Then change <mirrorOf> to:
>
> <mirrorOf>external:*,!snapshots.repo</mirrorOf>
>
> HTH,
> Deng
>
> On Wed, Sep 19, 2012 at 7:23 AM, Harris, Christopher P <
> [email protected]> wrote:
>
> > Hi,
> >
> > I've done several hours worth of searching and experimenting for a
> > resolution to this problem with no luck:
> > I've created an managed repo to house in-house snapshots along with some
> > special 3rd-party snapshots. I cannot download 2 3rd-party snapshots.
> >
> > I get these 2 error messages:
> > The POM for org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT is
> > missing, no dependency information available
> > The POM for
> > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT is
> > missing, no dependency information available
> >
> > My settings.xml:
> >
> > <mirror>
> > <id>some_id</id>
> > <url>http://localhost:8083/archiva/repository/repo_group_name/
> </url>
> > <mirrorOf>*</mirrorOf>
> > </mirror>
> >
> > I've tried adding an active-by-default profile to my snapshots repo, but
> > that didn't work.
> >
> > To upload the .jar & .pom files, I've copied them from my local Maven
> repo
> > to my C:\ and then uploaded the snapshots via command prompt:
> >
> > C:\>mvn deploy:deploy-file -Dfile=tomahawk12-1.1.14-SNAPSHOT.jar
> > -DpomFile=tomah
> > awk12-1.1.14-SNAPSHOT.pom -DrepositoryId=repo-snapshots -Durl=
> > http://localhos
> > t:8083/archiva/repository/repo-snapshots/ -DuniqueVersion=false
> > -DupdateRelea
> > seInfo=true
> >
> > Note that deploy:deploy-file only works using artifacts not in my local
> > Maven repo. That's why I move them to C:\
> >
> > I originally tried uploading without uniqueVersion and updateReleaseInfo.
> > No luck either.
> >
> > I opened up a simple tester project in NetBeans and added these 2
> > dependencies. Sure enough, when I type in <version></version> and hit
> Ctrl
> > + the space bar, I see 1.1.14-SNAPSHOT listed as a hint. I can also
> access
> > the pom and jar in Archiva from my browser.
> >
> > How can I download snapshot dependencies from Archiva?
> >
> >
> > - Chris Harris
> The information transmitted is intended only for the person(s)or entity to
> which it is addressed and may contain confidential and/or legally
> privileged material. Delivery of this message to any person other than the
> intended recipient(s) is not intended in any way to waive privilege or
> confidentiality. Any review, retransmission, dissemination or other use of
> , or taking of any action in reliance upon, this information by entities
> other than the intended recipient is prohibited. If you receive this in
> error, please contact the sender and delete the material from any computer.
>
> For Translation:
>
> http://www.baxter.com/email_disclaimer
>
>
The information transmitted is intended only for the person(s)or entity to
which it is addressed and may contain confidential and/or legally privileged
material. Delivery of this message to any person other than the intended
recipient(s) is not intended in any way to waive privilege or confidentiality.
Any review, retransmission, dissemination or other use of , or taking of any
action in reliance upon, this information by entities other than the intended
recipient is prohibited. If you receive this in error, please contact the
sender and delete the material from any computer.
For Translation:
http://www.baxter.com/email_disclaimer