You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Markle <cm...@comcast.net> on 2006/02/11 08:04:08 UTC
how to access development versions of non-plugin components from
the repo?
Brett,
> Building those libraries requires all the other Maven libraries - run
> mvn install from the top level of "components/branches/maven-2.0.x".
I did that and it all seemed to build ok. E.g.,
.\.m2\repository\org\apache\maven\reporting\maven-reporting-impl\2.0.3-SNAPSHOT
go created. But when I run maven it seems to use an older version, to wit:
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0
[DEBUG] org.apache.maven.reporting:maven-reporting-impl:jar:2.0
(selected for runtime)
How can I stimulate maven to use the SNAPSHOT version from the repo. If
it was a plugin I'd just name it in <build> but how to do this for a
non-plugin component?
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: how to access development versions of non-plugin components from the repo?
Posted by Brett Porter <br...@gmail.com>.
On 2/12/06, Chris Markle <cm...@comcast.net> wrote:
> Sorry for my dense-ness here but I do not understand this. I am playing
> with the javadoc plugin which is invoked by the maven-report-impl code.
Actually, the report-impl code is used by the javadoc plugin, which is
invoked by the site plugin.
> But when I put a dependency in my-app for maven-report-impl, maven still
> seems to select the 2.0 version. I will include the -X output for
> running in my-app the "mvn -X javadoc:javadoc" goal (ignore my debug
> stmts in the javadoc plugin) and also my pom for my-app. You can see
> that it selects maven-report-impl 2.0 for runtime after claiming at the
> top that it will select maven-report-impl 2.0.3-SNAPSHOT... Am I using
> the dependency right in here?
It's not very clear, but there are resolution steps for each plugin,
as well as the project itself. the 2.0.3 one is for your project,
where you have asked to use the snapshot. The other one is for the
plugin, that asks to use the old version.
> When you said above "You need to change the <dependencies> element in
> whichever plugin or project needs to use it, then reinstall them" what
> does "them" refer to?
It seems you want to change the dependency in the javadoc plugin's
pom.xml, then run mvn install on the javadoc plugin sources.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: how to access development versions of non-plugin components from
the repo?
Posted by Chris Markle <cm...@comcast.net>.
Brett,
> You need to change the <dependencies> element in whichever plugin or
> project needs to use it, then reinstall them.
Sorry for my dense-ness here but I do not understand this. I am playing
with the javadoc plugin which is invoked by the maven-report-impl code.
I have built dev versions of both. The javadoc plugin I am able to use
no problem by including a ref to the dev SNAPSHOT version in <plugin> in
my project that I am test the javadoc:javadoc goal in, say "my-app".
But when I put a dependency in my-app for maven-report-impl, maven still
seems to select the 2.0 version. I will include the -X output for
running in my-app the "mvn -X javadoc:javadoc" goal (ignore my debug
stmts in the javadoc plugin) and also my pom for my-app. You can see
that it selects maven-report-impl 2.0 for runtime after claiming at the
top that it will select maven-report-impl 2.0.3-SNAPSHOT... Am I using
the dependency right in here?
When you said above "You need to change the <dependencies> element in
whichever plugin or project needs to use it, then reinstall them" what
does "them" refer to?
Chris
* * * my-app/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-impl</artifactId>
<version>2.0.3-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>Maven Snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Maven Snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.0-beta-4-SNAPSHOT</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.0-beta-4-SNAPSHOT</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-1-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>
</project>
* * * -X output * * *
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\Chris\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\PROGRA~1\Apache\MAVEN-~1.2\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'javadoc'.
[DEBUG] Skipping disabled repository Maven Snapshots
[DEBUG] Skipping disabled repository Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] maven-javadoc-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-javadoc-plugin:maven-plugin:2.0-beta-4-SNAPSHOT
[DEBUG] maven-javadoc-plugin: using locally installed snapshot
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [javadoc:javadoc]
[INFO]
----------------------------------------------------------------------------
[DEBUG] com.mycompany.app:my-app:jar:1.0-SNAPSHOT (selected for null)
[INFO] snapshot
org.apache.maven.reporting:maven-reporting-impl:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven.reporting:maven-reporting-impl:2.0.3-SNAPSHOT' could
not be found on repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-reporting-impl: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-reporting-impl:jar:2.0.3-SNAPSHOT
[INFO] snapshot
org.apache.maven.reporting:maven-reporting:2.0.3-SNAPSHOT: checking for
updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven.reporting:maven-reporting:2.0.3-SNAPSHOT' could not be
found on repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-reporting: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0.3-SNAPSHOT
[INFO] snapshot org.apache.maven:maven:2.0.3-SNAPSHOT: checking for
updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven:2.0.3-SNAPSHOT' could not be found on repository:
Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven: using locally installed snapshot
[DEBUG]
org.apache.maven.reporting:maven-reporting-impl:jar:2.0.3-SNAPSHOT
(selected for runtime)
[DEBUG] commons-validator:commons-validator:jar:1.1.4 (selected for
runtime)
[DEBUG] oro:oro:jar:2.0.7 (selected for runtime)
[INFO] snapshot org.apache.maven:maven-project:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-project:2.0.3-SNAPSHOT' could not be found on
repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-project: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-project:jar:2.0.3-SNAPSHOT (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:plexus-utils:jar:1.1
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:plexus-container-default:jar:1.0-alpha-9
[DEBUG] Retrieving parent-POM from the repository for project:
org.codehaus.plexus:plexus-containers:pom:1.0.3
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.1)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for
runtime)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[INFO] snapshot org.apache.maven:maven-artifact:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-artifact:2.0.3-SNAPSHOT' could not be found on
repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-artifact: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.3-SNAPSHOT
(selected for runtime)
[INFO] snapshot org.apache.maven:maven-profile:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-profile:2.0.3-SNAPSHOT' could not be found on
repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-profile: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-profile:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-profile:jar:2.0.3-SNAPSHOT
(selected for runtime)
[INFO] snapshot org.apache.maven:maven-model:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-model:2.0.3-SNAPSHOT' could not be found on
repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-model: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-model:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-model:jar:2.0.3-SNAPSHOT
(selected for runtime)
[INFO] snapshot org.apache.maven:maven-artifact-manager:2.0.3-SNAPSHOT:
checking for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-artifact-manager:2.0.3-SNAPSHOT' could not be
found on repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-artifact-manager: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact-manager:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.3-SNAPSHOT
(selected for runtime)
[INFO] snapshot
org.apache.maven:maven-repository-metadata:2.0.3-SNAPSHOT: checking for
updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-repository-metadata:2.0.3-SNAPSHOT' could not be
found on repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-repository-metadata: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-repository-metadata:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0.3-SNAPSHOT (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6 (selected for
runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.1)
[DEBUG] org.apache.maven:maven-model:jar:2.0.3-SNAPSHOT (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:doxia-site-renderer:jar:1.0-alpha-7
[DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:plexus-i18n:jar:1.0-beta-6
[DEBUG] Retrieving parent-POM from the repository for project:
org.codehaus.plexus:plexus-components:pom:1.1.4
[DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6 (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (removed -
nearer found: 1.0-alpha-9)
[DEBUG] Retrieving parent-POM from the repository for project:
null:doxia-decoration-model:jar:1.0-alpha-7
[DEBUG]
org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7 (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.1)
[DEBUG] Retrieving parent-POM from the repository for project:
null:doxia-core:jar:1.0-alpha-7
[DEBUG] org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:doxia-sink-api:jar:1.0-alpha-7
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.2 (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7
[DEBUG] Retrieving parent-POM from the repository for project:
plexus:plexus-containers:pom:1.0.2
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7 (removed -
nearer found: 1.0-alpha-9)
[DEBUG] commons-logging:commons-logging-api:jar:1.0.4 (selected
for runtime)
[DEBUG] commons-collections:commons-collections:jar:2.0
(selected for runtime)
[DEBUG] velocity:velocity:jar:1.4 (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
plexus:plexus-utils:jar:1.0.2
[DEBUG] plexus:plexus-utils:jar:1.0.2 (selected for runtime)
[DEBUG] org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7 (selected
for runtime)
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.1)
[INFO] snapshot org.apache.maven:maven-plugin-api:2.0.3-SNAPSHOT:
checking for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven:maven-plugin-api:2.0.3-SNAPSHOT' could not be found on
repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-plugin-api: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.3-SNAPSHOT
(selected for runtime)
[INFO] snapshot
org.apache.maven.reporting:maven-reporting-api:2.0.3-SNAPSHOT: checking
for updates from Maven Snapshots
[DEBUG] repository metadata for: 'snapshot
org.apache.maven.reporting:maven-reporting-api:2.0.3-SNAPSHOT' could not
be found on repository: Maven Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-reporting-api: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-reporting-api:jar:2.0.3-SNAPSHOT
[DEBUG] maven-reporting: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0.3-SNAPSHOT
[DEBUG] maven: using locally installed snapshot
[DEBUG]
org.apache.maven.reporting:maven-reporting-api:jar:2.0.3-SNAPSHOT
(selected for runtime)
[DEBUG] junit:junit:jar:3.8.1 (not setting scope to: runtime; local
scope test wins)
[WARNING]
Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding
broader scope 'runtime'
given by a dependency. If this is not intended, modify or remove the
local scope.
[DEBUG] junit:junit:jar:3.8.1 (selected for test)
[DEBUG]
org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:2.0-beta-4-SNAPSHOT
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0.1
[DEBUG] org.apache.maven:maven-project:jar:2.0.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-model:jar:2.0.1
[DEBUG] org.apache.maven:maven-model:jar:2.0.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:plexus-utils:jar:1.0.5
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5 (selected for
runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-profile:jar:2.0.1
[DEBUG] org.apache.maven:maven-profile:jar:2.0.1 (selected for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.0.5)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.0.5)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact-manager:jar:2.0.1
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.1 (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-repository-metadata:jar:2.0.1
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.1
(selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed -
nearer found: 1.0.5)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0.1
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.1 (selected for
runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0.1
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.1 (removed - nearer
found: 2.0)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed - nearer
found: 1.0.5)
[DEBUG] commons-lang:commons-lang:jar:2.1 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-3 (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed - nearer
found: 1.0.5)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(removed - nearer found: 1.0-alpha-9)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-reporting-impl:jar:2.0
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0
[DEBUG] org.apache.maven.reporting:maven-reporting-impl:jar:2.0
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0
[DEBUG] org.apache.maven:maven-project:jar:2.0 (removed - nearer
found: 2.0.1)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-reporting-api:jar:2.0
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0
(selected for runtime)
[DEBUG] doxia:doxia-sink-api:jar:1.0-alpha-4 (selected for runtime)
[DEBUG] commons-validator:commons-validator:jar:1.1.4 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (removed - nearer
found: 2.0.1)
[DEBUG] oro:oro:jar:2.0.7 (selected for runtime)
[DEBUG] doxia:doxia-core:jar:1.0-alpha-4 (selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-javadoc-plugin:2.0-beta-4-SNAPSHOT:javadoc'
-->
[DEBUG] (f) author = true
[DEBUG] (f) bottom = Copyright {inceptionYear}-{currentYear} null. All
Rights Reserved.
[DEBUG] (f) breakiterator = false
[DEBUG] (f) charset = ISO-8859-1
[DEBUG] (f) docfilessubdirs = false
[DEBUG] (f) doctitle = Maven Quick Start Archetype 1.0-SNAPSHOT API
[DEBUG] (f) isOffline = false
[DEBUG] (f) links = []
[DEBUG] (f) linksource = false
[DEBUG] (f) nocomment = false
[DEBUG] (f) nodeprecated = false
[DEBUG] (f) nodeprecatedlist = false
[DEBUG] (f) nohelp = false
[DEBUG] (f) noindex = false
[DEBUG] (f) nonavbar = false
[DEBUG] (f) nosince = false
[DEBUG] (f) notree = false
[DEBUG] (f) offlineLinks = []
[DEBUG] (f) old = false
[DEBUG] (f) outputDirectory = C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs
[DEBUG] (f) project = org.apache.maven.project.MavenProject@42f89534
[DEBUG] (f) quiet = false
[DEBUG] (f) serialwarn = false
[DEBUG] (f) show = protected
[DEBUG] (f) splitindex = false
[DEBUG] (f) tags = []
[DEBUG] (f) use = true
[DEBUG] (f) verbose = false
[DEBUG] (f) version = true
[DEBUG] (f) windowtitle = Maven Quick Start Archetype 1.0-SNAPSHOT API
[DEBUG] -- end configuration --
[INFO] [javadoc:javadoc]
[DEBUG] getOutputDirectory() called: returning "C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs"
[DEBUG] getOutputName() called: returning "apidocs/index"
[DEBUG] getOutputName() called: returning "apidocs/index"
[DEBUG] getOutputDirectory() called: returning "C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs"
[DEBUG] javadocDirectory="C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs"
[DEBUG] getOutputDirectory() called: returning "C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs"
[DEBUG] writing @files: file.getAbsolutePath()=C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs\files
files.toString()='C:/Documents and
Settings/Chris/Desktop/workspace/my-app/src/main/java/com/mycompany/app/App.java'
[DEBUG] setWorkingDirectory to: "C:\Documents and
Settings\Chris\Desktop\workspace\my-app\target\site\apidocs"
[DEBUG] Javadoc executable=[C:\Program
Files\java\jdk1.5.0_06\jre\..\bin\javadoc.exe]
[DEBUG] Javadoc executable=[C:\Program
Files\java\jdk1.5.0_06\jre\..\bin\javadoc.exe]
[DEBUG] setExecutable to: "C:\Program
Files\java\jdk1.5.0_06\jre\..\bin\javadoc.exe"
[DEBUG] Command line: "C:\Program
Files\java\jdk1.5.0_06\jre\..\bin\javadoc.exe" @options @files
[DEBUG] @options: -classpath 'C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/classes' -protected
-sourcepath 'C:/Documents and
Settings/Chris/Desktop/workspace/my-app/src/main/java' -author -bottom
'Copyright {inceptionYear}-2006 null. All Rights Reserved.' -charset
'ISO-8859-1' -d 'C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs' -doctitle
'Maven Quick Start Archetype 1.0-SNAPSHOT API' -stylesheetfile
'C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs/stylesheet.css'
-use -version -windowtitle 'Maven Quick Start Archetype 1.0-SNAPSHOT API'
[DEBUG] @files: 'C:/Documents and
Settings/Chris/Desktop/workspace/my-app/src/main/java/com/mycompany/app/App.java'
Loading source file C:/Documents and
Settings/Chris/Desktop/workspace/my-app/src/main/java/com/mycompany/app/App.java...
Constructing Javadoc information...
Standard Doclet version 1.5.0_06
Building tree for all the packages and classes...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\App.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\package-frame.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\package-summary.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\package-tree.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\constant-values.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\class-use\App.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\com/mycompany/app/\package-use.html...
Building index for all the packages and classes...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\overview-tree.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\index-all.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\deprecated-list.html...
Building index for all classes...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\allclasses-frame.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\allclasses-noframe.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\index.html...
Generating C:/Documents and
Settings/Chris/Desktop/workspace/my-app/target/site/apidocs\help-doc.html...
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Feb 10 23:53:31 PST 2006
[INFO] Final Memory: 4M/8M
[INFO]
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: how to access development versions of non-plugin components from the repo?
Posted by Brett Porter <br...@gmail.com>.
You need to change the <dependencies> element in whichever plugin or
project needs to use it, then reinstall them.
- Brett
On 2/11/06, Chris Markle <cm...@comcast.net> wrote:
> Brett,
>
> > Building those libraries requires all the other Maven libraries - run
> > mvn install from the top level of "components/branches/maven-2.0.x".
>
> I did that and it all seemed to build ok. E.g.,
> .\.m2\repository\org\apache\maven\reporting\maven-reporting-impl\2.0.3-SNAPSHOT
> go created. But when I run maven it seems to use an older version, to wit:
>
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven.reporting:maven-reporting:pom:2.0
> [DEBUG] org.apache.maven.reporting:maven-reporting-impl:jar:2.0
> (selected for runtime)
>
> How can I stimulate maven to use the SNAPSHOT version from the repo. If
> it was a plugin I'd just name it in <build> but how to do this for a
> non-plugin component?
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org