johan.he...@mawell.com wrote:
Maven refuses to build. Version 1.0 of maven-enforcer-plugin in the
repo1.maven.org is empty.
[INFO]
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin
The Maven team is pleased to announce the release of the Maven
Enforcer Plugin, version 1.0
Maven Enforcer Plugin - The Loving Iron Fist of Maven™ The Enforcer
plugin provides goals to control certain environmental constraints
such as Maven version, JDK version and OS family along with many more
No, those are still covered by the enforcer as intended.
On Wed, Sep 8, 2010 at 2:37 PM, Trevor Harmon tre...@vocaro.com wrote:
On Sep 8, 2010, at 11:14 AM, Brian Fox wrote:
The workaround is to not use
this rule in M3 anymore since the core will throw warnings at you
anyway.
For the
anymore since the core will throw warnings at you
anyway.
On Wed, Sep 8, 2010 at 12:22 PM, Trevor Harmon tre...@vocaro.com wrote:
Hi,
I'm trying out Maven 3.0-beta-3, and one of the first things I noticed is
a new warning message:
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce
Hi,
I'm trying out Maven 3.0-beta-3, and one of the first things I noticed is a new
warning message:
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ MyApp ---
[WARNING] This rule is not compatible with the current version of Maven. The
rule is not able to perform any
trying out Maven 3.0-beta-3, and one of the first things I noticed is a
new warning message:
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ MyApp
---
[WARNING] This rule is not compatible with the current version of Maven. The
rule is not able to perform any checks
, and one of the first things I noticed is
a new warning message:
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @
MyApp ---
[WARNING] This rule is not compatible with the current version of Maven.
The rule is not able to perform any checks.
The warning is caused
On Sep 8, 2010, at 11:14 AM, Brian Fox wrote:
The workaround is to not use
this rule in M3 anymore since the core will throw warnings at you
anyway.
For the requireMavenVersion and requireJavaVersion rules, should I continue
using Enforcer, or is there a Maven 3 analog for them as well?
Yep, i'm still here. I see some people have patches for this and the
dependency plugin so I'll try to push out a release soonish.
On Fri, Aug 20, 2010 at 5:05 PM, Haszlakiewicz, Eric
ehas...@transunion.com wrote:
I been using the maven-enforcer-plugin a bit, and I've noticed that some
other
I been using the maven-enforcer-plugin a bit, and I've noticed that some
other people have been talking about it on this mailing list, but I'm
wondering: is it still being maintained?
It looks like it got stuck at a 1.0-beta-1 release, which was created a
year and a half ago (2009/02/22
On 2010-08-20 23:05, Haszlakiewicz, Eric wrote:
I been using the maven-enforcer-plugin a bit, and I've noticed that some
other people have been talking about it on this mailing list, but I'm
wondering: is it still being maintained?
It looks like it got stuck at a 1.0-beta-1 release, which
-Original Message-
From: Dennis Lundberg [mailto:denn...@apache.org]
On 2010-08-20 23:05, Haszlakiewicz, Eric wrote:
I been using the maven-enforcer-plugin a bit, and I've noticed that
some
other people have been talking about it on this mailing list, but I'm
wondering: is it still
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:display-info (default-cli) @ foo
---
[INFO] Maven Version: 3.0-beta-2
[INFO] JDK Version: 1.5.0_18 normalized as: 1.5.0-18
[INFO] OS Info: Arch: x86 Family: windows
Thanks EJ,
On Thu, Aug 19, 2010 at 10:04 AM, EJ Ciramella
ecirame...@casenetinc.com wrote:
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:display-info (default-cli) @
foo ---
[INFO] Maven Version: 3.0-beta
and the enforcer plugin
Thanks EJ,
On Thu, Aug 19, 2010 at 10:04 AM, EJ Ciramella
ecirame...@casenetinc.com wrote:
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:display-info (default-cli) @
foo ---
[INFO] Maven Version
this:
That is weird. Perhaps you should open a JIRA with the enforcer
plugin[1]? To get past this issue for the time being, you should
create m2 vs m3 profiles with different executions of the m-enforcer-p
which use the _ vs - formats for JDK normalization.
[1] http://jira.codehaus.org/browse/MENFORCER
-Jesse
.
The java version is reported like this:
That is weird. Perhaps you should open a JIRA with the enforcer
plugin[1]? To get past this issue for the time being, you should
create m2 vs m3 profiles with different executions of the m-enforcer-p
which use the _ vs - formats for JDK normalization
The move to use a hyphen is backward compatible thankfully :-)
-Original Message-
From: Jesse Farinacci [mailto:jie...@gmail.com]
Sent: Thursday, August 19, 2010 1:50 PM
To: Maven Users List
Subject: Re: maven 3 and the enforcer plugin
Hi,
On Thu, Aug 19, 2010 at 1:41 PM, EJ Ciramella
Ok, so now I'm confused - using a hyphen allows both 2.2.1 AND
3-Something-beta-2 to work.
So is this a bug? I'd think it's a bug with the enforcer plugin around its
normalization.
Let me know what action you guys would like me to take.
-Original Message-
From: anders.g.ham
- using a hyphen allows both 2.2.1 AND
3-Something-beta-2 to work.
So is this a bug? I'd think it's a bug with the enforcer plugin around its
normalization.
Let me know what action you guys would like me to take.
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham
: Thursday, August 19, 2010 2:32 PM
To: Maven Users List
Subject: Re: maven 3 and the enforcer plugin
No action. [1] states that:
Your required range should therefore use the x.y.z-b format for
comparison.
[1] http://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html
/Anders
On Thu, Aug
, 2010 2:32 PM
To: Maven Users List
Subject: Re: maven 3 and the enforcer plugin
No action. [1] states that:
Your required range should therefore use the x.y.z-b format for
comparison.
[1] http://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html
/Anders
On Thu, Aug 19
).
Well, it's corrected now - thanks all!
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
Behalf Of Anders Hammar
Sent: Thursday, August 19, 2010 2:32 PM
To: Maven Users List
Subject: Re: maven 3 and the enforcer plugin
No action. [1] states
Le 16 août 2010 19:21:14 UTC+2, EJ Ciramella ecirame...@casenetinc.com a
écrit :
Hello list -
I've noticed during upgrade testing that maven 3 and the enforcer plugin
(1.0-beta-1) is starting to fail a jdk enforcement test.
I've set it up to accept 1.5.0_18 and beyond (nothing earlier
as an internal or external command,
operable program or batch file.
Plugin Config:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-enforcer-plugin/artifactId
version1.0-beta-1/version
executions
execution
idenforce-versions/id
goals
or external command,
operable program or batch file.
Plugin Config:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-enforcer-plugin/artifactId
version1.0-beta-1/version
executions
execution
idenforce-versions/id
goals
goalenforce/goal
.
Try adding an execution of enforcer:display-info to see the normalized
version of the JDK which you should feed to the enforcement rule.
Here's an example from my system:
[INFO] --- maven-enforcer-plugin:1.0-beta-1:display-info
(display-info) @ isvt ---
[INFO] Maven Version: 3.0-beta-2
[INFO] JDK
Hello list -
I've noticed during upgrade testing that maven 3 and the enforcer plugin
(1.0-beta-1) is starting to fail a jdk enforcement test.
I've set it up to accept 1.5.0_18 and beyond (nothing earlier) but now it's
failing even though I'm running that exact jdk.
Any suggestions
This is absolutely intentional. The best practice is for you to
control your own versions. Yes the super pom introduces a bit of
stability, but at the cost of complacency. If you rely on the defaults
in the super pom it means in a year when you build with a different
version of maven, you have a
Hi All,
I have a Maven Multimodule project where one of my modules is using the Maven
Enforcer plugin to ensure that my module build is only successfully run on Unix.
So, my configuration is as follows:
!-- Enforce that this component can only be built on Linux --
plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-enforcer-plugin/artifactId
You aren't locking down the version so even if a version of this
plugin was available that would fail your build (I'm not sure if there
is -- I don't use that feature), there's a good chance
On Wed, Nov 4, 2009 at 1:00 PM, Patel, Ronak Avinash (US SSA)
ronak.pa...@baesystems.com wrote:
Hi All,
I have a Maven Multimodule project where one of my modules is using the Maven
Enforcer plugin to ensure that my module build is only successfully run on
Unix.
[del]
Obviously when I
: Brian Fox [mailto:bri...@infinity.nu]
Gesendet: Mittwoch, 19. August 2009 01:00
An: Maven Users List
Betreff: Re: Enforcer plugin wildcards
On Tue, Aug 18, 2009 at 4:12 AM, Lewis, Ericeric.le...@ipi.ch wrote:
Hi
I've started using the Enforcer plugin, with the Banned
Dependencies. It's
Hi
I've started using the Enforcer plugin, with the Banned Dependencies. It's very
useful, but it's also a drag having to explicitly list all artifacts one by one.
Which brings me to my question: Is it possible to have more flexible wildcards?
Right now, they replace a section in an all
On Tue, Aug 18, 2009 at 4:12 AM, Lewis, Ericeric.le...@ipi.ch wrote:
Hi
I've started using the Enforcer plugin, with the Banned Dependencies. It's
very useful, but it's also a drag having to explicitly list all artifacts one
by one.
Which brings me to my question: Is it possible to have
/filter.properties/jndi:value
why is that? shouldn't enforcer be able to read properties set in external
property files?
rgds
--
View this message in context:
http://www.nabble.com/Enforcer-plugin-doesn%27t-read-external-properties-files-tp23884939p23884939.html
Sent from the Maven - Users mailing
The Maven team is pleased to announce the release of the Maven
Enforcer Plugin, version 1.0-beta-1
The Enforcer plugin is used to fail a build if certain constraints are
not met. There are too many standard rules to describe here, but check
out the site for more details:
http://maven.apache.org
The Maven team is pleased to announce the release of the Maven
Enforcer Plugin, version 1.0-alpha-4
The Enforcer plugin provides goals to control certain environmental
constraints such as Maven version, JDK version and OS family along
with many more standard rules and user created rules.
http
-enforcer-plugin release?
Hi,
is there a reason why there hasn't been a maven-enforcer-plugin release
for such a long time? I would really appreciate a new tagged version.
A bug that prevented me from using the beanshell rule seems to be fixed
on the head. If there is no new release I will have make
Hi,
is there a reason why there hasn't been a maven-enforcer-plugin release
for such a long time? I would really appreciate a new tagged version.
A bug that prevented me from using the beanshell rule seems to be fixed
on the head. If there is no new release I will have make an 'internal
I'm working on getting some bugs fixed in the requirePluginVersions
rule, a release will be out asap.
-Original Message-
From: Michael Meyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2008 6:36 AM
To: Maven Users List
Subject: maven-enforcer-plugin release?
Hi,
is there a reason
The following POM is copied from the example at
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaVersion.html
. The only thing I've changed is to add the required project properties
(groupId, artifactId, version, and name) in place of the [...] in the
example. Running mvn
.
-Original Message-
From: Aaron Kaplan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 6:25 AM
To: users@maven.apache.org
Subject: Problem using enforcer plugin
The following POM is copied from the example at
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaV
Hi all!
I stumbled over a problem with the maven-enforcer-plugin (tested with
1.0-alpha-3 and 1.0-SNAPSHOT): when a new multi-module project is created
and the m-enforcer-p is used, maven fails with a Failed to resolve
artifact error.
This only happens when the new artifacts are not already
.
-Original Message-
From: Martin Höller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 7:09 AM
To: Maven Users List
Subject: enforcer-plugin causes multimodule project to fail
Hi all!
I stumbled over a problem with the maven-enforcer-plugin (tested with
1.0-alpha-3 and 1.0-SNAPSHOT): when
At the moment I am looking at the Maven Enforcer Plugin, as I am working on
some custom rules to support our dev process, and noticed the docs are for
1.0-SNAPSHOT which doesn't seem to be in the repository. I've not looked
through the other plugins to see if they are the same.
Ben
:
At the moment I am looking at the Maven Enforcer Plugin, as I am working on
some custom rules to support our dev process, and noticed the docs are for
1.0-SNAPSHOT which doesn't seem to be in the repository. I've not looked
through the other plugins to see if they are the same.
Ben
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 5:40 AM
To: Maven Users List
Subject: Re: Enforcer Plugin 1.0 release and requirePluginVersions rule
On Feb 12, 2008 3:22 AM, Simon Kitching [EMAIL PROTECTED]
wrote:
Yep, that does seem to break the convention that Wendy described
/plugins/maven-enforcer-plugin,
with (optional) snapshot docs at
http://maven.apache.org/plugins/maven-enforcer-plugin-1.0-SNAPSHOT .
Brian may have done this for a reason, but I'll check the 1.0-alpha-3
docs and see if they can be published.
--
Wendy
On Feb 11, 2008 8:00 AM, nicolas de loof [EMAIL PROTECTED] wrote:
Even better if we had a site per public version, ie :
http://maven.apache.org/plugins/maven-eclipse-plugin/2.3
http://maven.apache.org/plugins/maven-eclipse-plugin/2.4
the docs themselves. Or, as you suggest, Apache could setup a parallel
SNAPSHOT website.
Ben Lidgey wrote:
When is the next version of the Maven Enforcer Plugin due to be
released (I guess the next version is 1.0-SNAPSHOT)? I would like to use
the requirePluginVersions rule, but that doesn't seem
wrote:
When is the next version of the Maven Enforcer Plugin due to be released (I
guess the next version is 1.0-SNAPSHOT)? I would like to use the
requirePluginVersions rule, but that doesn't seem to be in the 1.0-alpha-3
version.
On a related wider-note: Is there a way to have the Maven plugin
When is the next version of the Maven Enforcer Plugin due to be released (I
guess the next version is 1.0-SNAPSHOT)? I would like to use the
requirePluginVersions rule, but that doesn't seem to be in the 1.0-alpha-3
version.
On a related wider-note: Is there a way to have the Maven plugin
On Feb 11, 2008 7:45 AM, Ian Springer [EMAIL PROTECTED] wrote:
+1 for not posting SNAPSHOT plugin docs on the website. The docs should
correspond to the latest released version.
That's the model we now follow, though there may still be some
leftover snapshot sites if the plugin hasn't been
Never mind. I found it under /maven/enforcer.
-Original Message-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Friday, January 25, 2008 11:44 AM
To: Maven Developers List
Cc: Maven Users List
Subject: where is the source for maven-enforcer-plugin in SVN?
It doesn't seem to live
It doesn't seem to live in maven/plugins/trunk and the latest build
1.0-alpha-3 doesn't have the all of the functionality documented on the
site. In particular, it does not support requiresPluginVersions which
I would like to use.
We are pleased to announce the third release of the maven-enforcer-plugin.
The Enforcer plugin provides goals to detect and enforce certain
environmental constraints such as Maven Version, JDK version, and OS
family/version/architecture. Additionally, the Enforcer can execute
custom rules
Brian,
Below is my working configuration
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-enforcer-plugin/artifactId
version1.0-alpha-3-SNAPSHOT/version
executions
execution
idenforce-java/id
goals
?
Thanks.
-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 8:55 AM
To: Maven Users List
Subject: What is syntax for beanshell condition in the enforcer plugin?
I would like to use the enforcer plugin to verify that a required
properties is set
I would like to use the enforcer plugin to verify that a required
properties is set, specifically it is exists and is not null or a zero
length string. I suspect my syntax is incorrect.
What should is the correct syntax?
The following is the error message from the plugin
Message-
From: ehsavoie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 11:34 AM
To: users@maven.apache.org
Subject: RE: [POLL] maven-enforcer-plugin rules
Brian,
I have sent you by mail the beanshell-rule with a simple test.
If you have any question or problem feel free to ask
On 6/12/07, Brian E. Fox [EMAIL PROTECTED] wrote:
I don't see why it could be rolled into a new rule. Call it the
beanshell rule or something.
you meant I don't see why it couldn't be rolled into a new rule, right ?
:)
J
-
: Re: [POLL] maven-enforcer-plugin rules
Hi,
While the rule system provded is good for complex rules, I have found
easier to build an enforcer like plugin using java expressions as rules
that are evaluated at runtime using beanshell.
I have not enough time to port it to your rule system
Yes of course, can't you read my mind? ;-)
-Original Message-
From: Jerome Lacoste [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 3:44 AM
To: Maven Users List
Subject: Re: [POLL] maven-enforcer-plugin rules
On 6/12/07, Brian E. Fox [EMAIL PROTECTED] wrote:
I don't see why
: [POLL] maven-enforcer-plugin rules
How do you pass a parameter to a rule ?
This way I should be able to provide it to you ;o)
Brian E. Fox wrote:
Sure, send it along.
--Brian
-Original Message-
From: ehsavoie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 10:01 AM
PROTECTED]
Sent: Wednesday, June 13, 2007 3:44 AM
To: Maven Users List
Subject: Re: [POLL] maven-enforcer-plugin rules
On 6/12/07, Brian E. Fox [EMAIL PROTECTED] wrote:
I don't see why it could be rolled into a new rule. Call it the
beanshell rule or something.
you meant I don't see why
Subject: RE: [POLL] maven-enforcer-plugin rules
Brian,
I have sent you by mail the beanshell-rule with a simple test.
If you have any question or problem feel free to ask bu i am in European
Time ;o).
Emmanuel
Brian E. Fox wrote:
Yes of course, can't you read my mind? ;-)
-Original
Subject: RE: [POLL] maven-enforcer-plugin rules
Brian,
I have sent you by mail the beanshell-rule with a simple test.
If you have any question or problem feel free to ask bu i am in European
Time ;o).
Emmanuel
Brian E. Fox wrote:
Yes of course, can't you read my mind
.
It gives an easy way to produce simple rules.
Emmanuel
Brian E. Fox wrote:
The maven-enforcer-plugin jira project has been suspiciously quiet...not
that I'm complaining. I'm curious how many people are using it, which
rules are being used, and if any custom rules have been created
Sure, send it along.
--Brian
-Original Message-
From: ehsavoie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 10:01 AM
To: users@maven.apache.org
Subject: Re: [POLL] maven-enforcer-plugin rules
Hi,
While the rule system provded is good for complex rules, I have found
easier
but i can send it to
you if you feel interested.
It gives an easy way to produce simple rules.
could that be retrofitted as an implementation to the official enforcer plugin ?
That way we can use the best of both worlds.
Jerome
I don't see why it could be rolled into a new rule. Call it the
beanshell rule or something.
-Original Message-
From: Jerome Lacoste [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 12:05 PM
To: Maven Users List
Subject: Re: [POLL] maven-enforcer-plugin rules
On 6/12/07, ehsavoie
The maven-enforcer-plugin jira project has been suspiciously quiet...not
that I'm complaining. I'm curious how many people are using it, which
rules are being used, and if any custom rules have been created (and
what they do).
If you have a custom rule that you want to share, please create
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
Thanks.
Ian
-
To unsubscribe, e-mail: [EMAIL PROTECTED
On 4/16/07, Ian Springer [EMAIL PROTECTED] wrote:
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
alpha-2 is a release not a snapshot.
You will find it under:
http://ibiblio.org
My bad. Thanks!
Jerome Lacoste wrote:
On 4/16/07, Ian Springer [EMAIL PROTECTED] wrote:
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
alpha-2 is a release not a snapshot.
You
This is a minor release with just one fix:
Release Notes - Maven 2.x Enforcer Plugin - Version 1.0-alpha-2
** Bug
* [MENFORCER-1] - plugin fails on jdk 1.5
--The Maven Team.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
We are pleased to announce the first release of the maven-enforcer-plugin.
The Enforcer plugin provides goals to detect and enforce certain
environmental constraints such as Maven Version, JDK version, and OS
family/version/architecture. Additionally, the Enforcer can execute
custom rules
Yay! :-)
--jason
On Apr 7, 2007, at 5:20 PM, Brian Fox wrote:
We are pleased to announce the first release of the maven-enforcer-
plugin.
The Enforcer plugin provides goals to detect and enforce certain
environmental constraints such as Maven Version, JDK version, and OS
family/version
101 - 179 of 179 matches
Mail list logo