You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Coleman <jo...@eurobase-international.com> on 2007/07/24 16:55:58 UTC

runtime properties

Hi,

 

Is there a way to get Maven to dump its runtime settings so that you can
see what setting file it is using and where it gets any other runtime
configurations from?

 

John

 


Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited.  If you receive this transmission in error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.


Re: runtime properties

Posted by Wayne Fay <wa...@gmail.com>.
The process for downloading and installing jars into the local repo
cache is rather flawed. At least one bug has been filed and this is
certainly in the mind of the Maven developers. I'm just not sure when
it will be addressed -- probably not until M2.1.

I like the idea of the repo:repair mojo. In fact, I might even have to
think about implementing something like that.

Wayne

On 7/26/07, John Coleman <jo...@eurobase-international.com> wrote:
>
> Thanks Wayne, I had not seen this before, and it seems indeed to be some
> damage in the repo. Just copying fresh over repaired it. Quiet a lot
> seems to of corrupted.
>
> Would be nice to have something to that effect in the Maven log for that
> message. And what about a repository:repair kind of goal?
>
> John
>
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: 26 July 2007 15:34
> To: Maven Users List
> Subject: Re: runtime properties
>
> Try mvn -U to force an update. If it still is failing, delete the
> ~/.m2/ directory (if not the whole thing, delete the
> org/apache/maven/plugins directory) and try again.
>
> The "plugin does not exist or no valid version could be found" error
> sometimes happens when you get "bad" artifacts in your m2 cache.
> Usually, that happens when you're using a "bad" or incorrectly
> configured mirror, or you've got a misconfigured proxy etc.
>
> Wayne
>
>
> Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.
>
> Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited.  If you receive this transmission in error, please notify us immediately, and then delete this E-mail.
>
> Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.
>
> Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.
>
>
> ---------------------------------------------------------------------
> 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


RE: runtime properties

Posted by John Coleman <jo...@eurobase-international.com>.
Thanks Wayne, I had not seen this before, and it seems indeed to be some
damage in the repo. Just copying fresh over repaired it. Quiet a lot
seems to of corrupted.

Would be nice to have something to that effect in the Maven log for that
message. And what about a repository:repair kind of goal?

John

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: 26 July 2007 15:34
To: Maven Users List
Subject: Re: runtime properties

Try mvn -U to force an update. If it still is failing, delete the
~/.m2/ directory (if not the whole thing, delete the
org/apache/maven/plugins directory) and try again.

The "plugin does not exist or no valid version could be found" error
sometimes happens when you get "bad" artifacts in your m2 cache.
Usually, that happens when you're using a "bad" or incorrectly
configured mirror, or you've got a misconfigured proxy etc.

Wayne


Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited.  If you receive this transmission in error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: runtime properties

Posted by Wayne Fay <wa...@gmail.com>.
Try mvn -U to force an update. If it still is failing, delete the
~/.m2/ directory (if not the whole thing, delete the
org/apache/maven/plugins directory) and try again.

The "plugin does not exist or no valid version could be found" error
sometimes happens when you get "bad" artifacts in your m2 cache.
Usually, that happens when you're using a "bad" or incorrectly
configured mirror, or you've got a misconfigured proxy etc.

Wayne

On 7/24/07, John Coleman <jo...@eurobase-international.com> wrote:
> Thanks Wayne, even this is falling over now - I have checked the local
> repo and the dep is in there!?
>
> Regards,
> John
>
> [DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
> [DEBUG]Profile with id: 'netbeans-private' has been explicitly
> activated.
> [INFO]Scanning for projects...
> [DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
> [DEBUG]Profile with id: 'netbeans-private' has been explicitly
> activated.
> [DEBUG]Profile with id: 'profile1' has been explicitly activated.
> [INFO]Searching repository for plugin with prefix: 'help'.
> [INFO]artifact org.apache.maven.plugins:maven-help-plugin: checking for
> updates from netbeansIDE-repo-internal
> [DEBUG]repository metadata for: 'artifact
> org.apache.maven.plugins:maven-help-plugin' could not be found on
> repository: netbeansIDE-repo-internal
> [DEBUG]maven-help-plugin: using locally installed snapshot
> [DEBUG]Artifact not found - using stub model: Unable to determine the
> latest version
> [DEBUG]
> [DEBUG]  org.apache.maven.plugins:maven-help-plugin:pom:LATEST
> [DEBUG]Using defaults for missing POM
> org.apache.maven.plugins:maven-help-plugin:pom:LATEST
> [DEBUG]maven-help-plugin: using locally installed snapshot
> [DEBUG]Artifact not found - using stub model: Unable to determine the
> release version
> [DEBUG]
> [DEBUG]  org.apache.maven.plugins:maven-help-plugin:pom:RELEASE
> [DEBUG]Using defaults for missing POM
> org.apache.maven.plugins:maven-help-plugin:pom:RELEASE
> [INFO]------------------------------------------------------------------
> ------
> [ERROR]BUILD ERROR
> [INFO]------------------------------------------------------------------
> ------
> [INFO]The plugin 'org.apache.maven.plugins:maven-help-plugin' does not
> exist or no valid version could be found
> [INFO]------------------------------------------------------------------
> ------
> [DEBUG]Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid
> version could be found
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
> LifecycleExecutor.java:1357)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
> faultLifecycleExecutor.java:1593)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAgg
> regationNeeds(DefaultLifecycleExecutor.java:384)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:138)
>        at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
>        at
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
>        at
> org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaEx
> ecutor.java:257)
>        at
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
> Caused by:
> org.apache.maven.plugin.version.PluginVersionNotFoundException: The
> plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no
> valid version could be found
>        at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
> nVersion(DefaultPluginVersionManager.java:225)
>        at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
> nVersion(DefaultPluginVersionManager.java:87)
>        at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
> anager.java:158)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
> LifecycleExecutor.java:1328)
>        ... 8 more
> [INFO]------------------------------------------------------------------
> ------
> [INFO]Total time: < 1 second
> [INFO]Finished at: Tue Jul 24 16:27:53 BST 2007
> [INFO]Final Memory: 45M/89M
> [INFO]------------------------------------------------------------------
> ------
>
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: 24 July 2007 16:10
> To: Maven Users List
> Subject: Re: runtime properties
>
> maven-help-plugin has some of that:
> http://maven.apache.org/plugins/maven-help-plugin/
>
> In particular, check out the effective-pom mojo in help, and
> effective-settings.
>
> Wayne
>
> On 7/24/07, John Coleman <jo...@eurobase-international.com>
> wrote:
> > Hi,
> >
> >
> >
> > Is there a way to get Maven to dump its runtime settings so that you
> can
> > see what setting file it is using and where it gets any other runtime
> > configurations from?
> >
> >
> >
> > John
> >
> >
> >
> >
> > Eurobase International Limited and its subsidiaries (Eurobase) are
> unable to
> > exercise control over the content of information in E-Mails. Any views
> and
> > opinions expressed may be personal to the sender and are not
> necessarily
> > those of Eurobase. Eurobase will not enter into any contractual
> obligations
> > in respect of any part of its business in any E-mail.
> >
> > Privileged / confidential information may be contained in this message
> and
> > /or any attachments. This E-mail is intended for the use of the
> addressee(s)
> > only and may contain confidential information. If you are not the / an
> > intended recipient, you are hereby notified that any use or
> dissemination of
> > this communication is strictly prohibited.  If you receive this
> transmission
> > in error, please notify us immediately, and then delete this E-mail.
> >
> > Neither the sender nor Eurobase accepts any liability whatsoever for
> any
> > defects of any kind either in or arising from this E-mail
> transmission.
> > E-Mail transmission cannot be guaranteed to be secure or error-free,
> as
> > messages can be intercepted, lost, corrupted, destroyed, contain
> viruses, or
> > arrive late or incomplete. Eurobase does not accept any responsibility
> for
> > viruses and it is your responsibility to scan any attachments.
> >
> > Eurobase Systems Limited is the main trading company in the Eurobase
> > International Group; registered in England and Wales as company number
> > 02251162; registered address: Essex House, 2 County Place, Chelmsford,
> Essex
> > CM2 0RE, UK.
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: runtime properties

Posted by John Coleman <jo...@eurobase-international.com>.
Thanks Wayne, even this is falling over now - I have checked the local
repo and the dep is in there!?

Regards,
John

[DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-private' has been explicitly
activated.
[INFO]Scanning for projects...
[DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-private' has been explicitly
activated.
[DEBUG]Profile with id: 'profile1' has been explicitly activated.
[INFO]Searching repository for plugin with prefix: 'help'.
[INFO]artifact org.apache.maven.plugins:maven-help-plugin: checking for
updates from netbeansIDE-repo-internal
[DEBUG]repository metadata for: 'artifact
org.apache.maven.plugins:maven-help-plugin' could not be found on
repository: netbeansIDE-repo-internal
[DEBUG]maven-help-plugin: using locally installed snapshot
[DEBUG]Artifact not found - using stub model: Unable to determine the
latest version
[DEBUG]
[DEBUG]  org.apache.maven.plugins:maven-help-plugin:pom:LATEST
[DEBUG]Using defaults for missing POM
org.apache.maven.plugins:maven-help-plugin:pom:LATEST
[DEBUG]maven-help-plugin: using locally installed snapshot
[DEBUG]Artifact not found - using stub model: Unable to determine the
release version
[DEBUG]
[DEBUG]  org.apache.maven.plugins:maven-help-plugin:pom:RELEASE
[DEBUG]Using defaults for missing POM
org.apache.maven.plugins:maven-help-plugin:pom:RELEASE
[INFO]------------------------------------------------------------------
------
[ERROR]BUILD ERROR
[INFO]------------------------------------------------------------------
------
[INFO]The plugin 'org.apache.maven.plugins:maven-help-plugin' does not
exist or no valid version could be found
[INFO]------------------------------------------------------------------
------
[DEBUG]Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid
version could be found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1357)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1593)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAgg
regationNeeds(DefaultLifecycleExecutor.java:384)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:138)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
        at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
        at
org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaEx
ecutor.java:257)
        at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The
plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no
valid version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:225)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
anager.java:158)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1328)
        ... 8 more
[INFO]------------------------------------------------------------------
------
[INFO]Total time: < 1 second
[INFO]Finished at: Tue Jul 24 16:27:53 BST 2007
[INFO]Final Memory: 45M/89M
[INFO]------------------------------------------------------------------
------

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: 24 July 2007 16:10
To: Maven Users List
Subject: Re: runtime properties

maven-help-plugin has some of that:
http://maven.apache.org/plugins/maven-help-plugin/

In particular, check out the effective-pom mojo in help, and
effective-settings.

Wayne

On 7/24/07, John Coleman <jo...@eurobase-international.com>
wrote:
> Hi,
>
>
>
> Is there a way to get Maven to dump its runtime settings so that you
can
> see what setting file it is using and where it gets any other runtime
> configurations from?
>
>
>
> John
>
>
>
>
> Eurobase International Limited and its subsidiaries (Eurobase) are
unable to
> exercise control over the content of information in E-Mails. Any views
and
> opinions expressed may be personal to the sender and are not
necessarily
> those of Eurobase. Eurobase will not enter into any contractual
obligations
> in respect of any part of its business in any E-mail.
>
> Privileged / confidential information may be contained in this message
and
> /or any attachments. This E-mail is intended for the use of the
addressee(s)
> only and may contain confidential information. If you are not the / an
> intended recipient, you are hereby notified that any use or
dissemination of
> this communication is strictly prohibited.  If you receive this
transmission
> in error, please notify us immediately, and then delete this E-mail.
>
> Neither the sender nor Eurobase accepts any liability whatsoever for
any
> defects of any kind either in or arising from this E-mail
transmission.
> E-Mail transmission cannot be guaranteed to be secure or error-free,
as
> messages can be intercepted, lost, corrupted, destroyed, contain
viruses, or
> arrive late or incomplete. Eurobase does not accept any responsibility
for
> viruses and it is your responsibility to scan any attachments.
>
> Eurobase Systems Limited is the main trading company in the Eurobase
> International Group; registered in England and Wales as company number
> 02251162; registered address: Essex House, 2 County Place, Chelmsford,
Essex
> CM2 0RE, UK.
>
>

---------------------------------------------------------------------
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


Re: runtime properties

Posted by Wayne Fay <wa...@gmail.com>.
maven-help-plugin has some of that:
http://maven.apache.org/plugins/maven-help-plugin/

In particular, check out the effective-pom mojo in help, and effective-settings.

Wayne

On 7/24/07, John Coleman <jo...@eurobase-international.com> wrote:
> Hi,
>
>
>
> Is there a way to get Maven to dump its runtime settings so that you can
> see what setting file it is using and where it gets any other runtime
> configurations from?
>
>
>
> John
>
>
>
>
> Eurobase International Limited and its subsidiaries (Eurobase) are unable to
> exercise control over the content of information in E-Mails. Any views and
> opinions expressed may be personal to the sender and are not necessarily
> those of Eurobase. Eurobase will not enter into any contractual obligations
> in respect of any part of its business in any E-mail.
>
> Privileged / confidential information may be contained in this message and
> /or any attachments. This E-mail is intended for the use of the addressee(s)
> only and may contain confidential information. If you are not the / an
> intended recipient, you are hereby notified that any use or dissemination of
> this communication is strictly prohibited.  If you receive this transmission
> in error, please notify us immediately, and then delete this E-mail.
>
> Neither the sender nor Eurobase accepts any liability whatsoever for any
> defects of any kind either in or arising from this E-mail transmission.
> E-Mail transmission cannot be guaranteed to be secure or error-free, as
> messages can be intercepted, lost, corrupted, destroyed, contain viruses, or
> arrive late or incomplete. Eurobase does not accept any responsibility for
> viruses and it is your responsibility to scan any attachments.
>
> Eurobase Systems Limited is the main trading company in the Eurobase
> International Group; registered in England and Wales as company number
> 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex
> CM2 0RE, UK.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org