The method that we've pushed in a couple releases is a simple profile
which lists the staging repository where a test plugin has been
deployed. The profile can be generated with the release and it's a
separate file, so you just erase it when you're done with it. Think
the profile might be a bit simpler and we could certainly generate the
snippet from the staging plugin.
On 27-Aug-08, at 12:02 PM, Dan Fabulich wrote:
I've always found it to be a hassle to test plugins that don't need
to be wired up in POM files, e.g. the archetype, dependency, scm
plugins. I find that to test them I have to create a dummy POM file
with a <pluginRepositories> section, as described in our guide to
testing staged releases.
http://maven.apache.org/guides/development/guide-testing-releases.html
I thought it would be cool to have a downloader plugin that let you
do this:
mvn downloader:get
-Dartifact=org.apache.maven.plugins:maven-scm-plugin:1.1
-DrepoUrl=http://people.apache.org/~olamy/staging-repo
That would retrieve the plugin into your local repository, so you
could immediately start using it.
mvn org.apache.maven.plugins:maven-scm-plugin:1.1:checkin -
Dmessage=foo
I've created a prototype downloader plugin and checked it into the
sandbox; I used it to test the Maven SCM 1.1 release. It was pretty
nice.
Does this seem like something worth releasing and documenting as
part of our release testing guide?
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.
-- Eric Hoffer, Reflections on the Human Condition
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]