That's the user-specific one, not the "global" one.
/Anders
On Wed, Jan 5, 2011 at 02:17, Joseph wrote:
> did u have a check on some dir like "{user_home}/.m2/" ?
>
> like "c:\user\Joseph\.m2\..."
>
>
> 2011-01-05
>
>
>
> Joseph
>
>
>
> 发件人: Ben Stover
> 发送时间: 2011-01-04 20:57:34
> 收件人: Maven
I agree with Anders that your structure should probably be modified.
I am also suspicious of the "utils/config" component. I highly doubt
that it should be dependent on clientAPI. I find myself questioning
if it should exist at all.
1) I think utils/config should not be dependent on clientAPI, o
did u have a check on some dir like "{user_home}/.m2/" ?
like "c:\user\Joseph\.m2\..."
2011-01-05
Joseph
发件人: Ben Stover
发送时间: 2011-01-04 20:57:34
收件人: Maven Users
抄送:
主题: Where is the global settings.xml for built-in (embedded) Maven in Eclipse?
Yes, I know the global settings f
Hi,
I have a project with the following structure
- ROOT
- ModuleA
- GeneratedDistribution.jar
- Several Dependencies
- ModuleB
- Several Dependencies
- Depends on GeneratedDistribution.jar
-
Now When i build from ROOT, the exclusions do not really get excluded
On Jan 4, 2011, at 5:26 PM, Leon Rosenberg wrote:
> Hi,
>
> next day, next problem ;-))
>
> I'm right now fighting with the name that comes out of the war packaging.
> My artifact is a webapp, called distributeme-registry and is a module
> of a larger project. However,
> the automatically gen
Hello Renald,
On Tue, Jan 4, 2011 at 11:53 PM, Reynald Borer wrote:
> Hi,
>
>
> You can modify the finalName tag to change the name of artifact. By default
> it is defined like the following:
>
>
> ${artifactId}-${version}
>
>
thats exactly what I did, and as I wrote before it builds it un
Hi,
You can modify the finalName tag to change the name of artifact. By default it
is defined like the following:
${artifactId}-${version}
Or you can modify it only in the war plugin by changing the warName parameter
(see http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html).
Hi,
next day, next problem ;-))
I'm right now fighting with the name that comes out of the war packaging.
My artifact is a webapp, called distributeme-registry and is a module
of a larger project. However,
the automatically generated client expects it to be accessable under
http://host:port/distr
I believe if you regenerated another settings-security.xml file with the same
master password, while the hash would be different it would effectively decrypt
the passwords.
However, you make a good point - automatically generating it would be a nice
additional feature.
- Brett
On 04/01/2011,
2011/1/4 Guo Du :
> On Tue, Jan 4, 2011 at 2:42 PM, Olivier Lamy wrote:
>> If you use maven3
>> See [1] section "Version Resolution"
>> [1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
>
> Site plugin is a maven plugin, any reason to "resolve with current
> repositorie
On Tue, Jan 4, 2011 at 2:42 PM, Olivier Lamy wrote:
> If you use maven3
> See [1] section "Version Resolution"
> [1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
Site plugin is a maven plugin, any reason to "resolve with current
repositories", not pluginsRepositories?
TestNG skips rather than fails remaining tests once the first one
fails. Tynamo's tests use testng, poke around in the svn and you'll
see they are otherwise very similar to JUnit(4).
Kalle
On Tue, Jan 4, 2011 at 11:10 AM, Nathan Wilhelmi wrote:
> Hi - HtmlUnit is a simpler solution for what we
Can't you just define the version as variable and use it in your
webresource target path definition?
like in:
maven-war-plugin
2.1
mycsssource/
**/*.css
${xyz.version}/
Right, and the rest of your build needs to know that version as well,
right? Put that version in a property and use it in the dependency as
well as resource filtering, i.e.
2
Kalle
On Tue, Jan 4, 2011 at 11:30 AM, juranta wrote:
>
> Yes, but my problem is that
On 04/01/2011 2:23 PM, juranta wrote:
Still not clear how the files and versions link up.
If you can describe the desired directory structure after the build and
what the source structure looks like, perhaps someone might be able to
suggest how the assembly plug-in or some other plug-in might be
You don't need to specify the version element in the child. If not
specified, the specified parent.version will be used as version. And then
you will not have this issue.
/Anders
On Tue, Jan 4, 2011 at 19:15, Yaakov Chaikin wrote:
> Hi,
>
> Our project has a parent pom that's located as a sister
Yes, but my problem is that I need to use the version of one particular
dependency while doing the filtering.
Thanks,
Juha
> Assembly plugin can do resource filtering, see
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-
> files.html.
>Kall
Assembly plugin can do resource filtering, see
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html.
Kalle
On Tue, Jan 4, 2011 at 10:10 AM, juranta wrote:
>
> Hi,
>
> I'm quite new to Maven, so I'm happy with all suggestions.
>
> So, I hav
>
> Still not clear how the files and versions link up.
> If you can describe the desired directory structure after the build and
> what the source structure looks like, perhaps someone might be able to
> suggest how the assembly plug-in or some other plug-in might be able to
> build what you
Hi - HtmlUnit is a simpler solution for what we are trying to test right
now. What I am really after is failing fast on the integration tests. If
the app didn't start I would rather not run through each test and all
setup associated with each one.
-Nate
Kalle Korhonen wrote:
Why not
http://
On 04/01/2011 1:35 PM, juranta wrote:
Why do you want to do this?
There may be a better way to filter the files or organize them into
projects.
It's a big corporation project. A set of web files (images, javascript, css)
need to be set in their own directory with each build so that when the
cust
> Why do you want to do this?
> There may be a better way to filter the files or organize them into
> projects.
It's a big corporation project. A set of web files (images, javascript, css)
need to be set in their own directory with each build so that when the
customer opens an old document, it
Hi
1 is the follow up of number 2.
Regards
Mark Donszelmann
On Jan 4, 2011, at 6:09 PM, khaido wrote:
>
> I've been looking for a maven 2 plugin to build native C and C++ projects.
> I've done some research and found the following plugins:
>
> 1. maven-nar-plugin (http://duns.github.
On 04/01/2011 1:10 PM, juranta wrote:
Hi,
I'm quite new to Maven, so I'm happy with all suggestions.
So, I have an assembly project which creates an assembly of dependencies. It
works fine, but I still miss one piece. I need to get the version of one
particular dependency and use it while filte
Hi,
I'm quite new to Maven, so I'm happy with all suggestions.
So, I have an assembly project which creates an assembly of dependencies. It
works fine, but I still miss one piece. I need to get the version of one
particular dependency and use it while filtering some files.
I mean, let's say th
Hi,
Our project has a parent pom that's located as a sister module to all
the other modules and the root pom is the rector pom that defines
different profiles of different sets of modules to build.
So, here is roughly our structure:
pom.xml (rector pom.xml which references parent pom.xml for its
On Tue, Jan 4, 2011 at 12:28 PM, baz themail wrote:
> Hi,
> Is there any way to stop the same version of pom file/build being
> built more than once?
Being _built_? Probably not... anyone can check out a tag and
re-build that version locally, nothing to prevent that from happening.
(Nor should
Get Nexus or another Maven repo server installed so you have control and
transparency over libraries.
You can manually add 3rd party jars easily.
Ron
On 04/01/2011 8:20 AM, Anders Hammar wrote:
I think that you should start by reading up one the maven repo structure.
That will explain the stru
On 04/01/2011 7:59 AM, Leon Rosenberg wrote:
On Tue, Jan 4, 2011 at 12:11 PM, Anders Hammar wrote:
I recommend "1.0.1", as I dislike ranges (might break reproducible builds
and is just to much automagic in my taste).
"RELEASE", "LATEST" is depracted and should not be used.
When ever a new rele
Hi,
Is there any way to stop the same version of pom file/build being
built more than once?
Thanks.
B.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
I've been looking for a maven 2 plugin to build native C and C++ projects.
I've done some research and found the following plugins:
1. maven-nar-plugin (http://duns.github.com/maven-nar-plugin/)
2. freehep-nar-plugin
(http://java.freehep.org/freehep-nar-plugin/intro.html)
3.
Hi,
I'm using a profile to build jsf projects which generate web.xml and
faces-config.xml out of bean classes so you don't need to work them by
hand. But this is not general case and some projects code their own
descriptors.
The problem with dependencies was that inside the aggregated pom holding
If you use maven3
See [1] section "Version Resolution"
HTH,
--
Olivier
[1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
2011/1/4 Nick Stolwijk :
> Unfortunately not.[1]
>
> [1] http://maven.apache.org/pom.html#Reporting
>
> With regards,
>
> Nick Stolwijk
> ~Senior J
Unfortunately not.[1]
[1] http://maven.apache.org/pom.html#Reporting
With regards,
Nick Stolwijk
~Senior Java Developer~
iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl
On Tue, Jan 4, 2011 at 3:29 PM, Leon Rosenberg wrote:
> Damned, site it was. Thank
Damned, site it was. Thanks for the hint!
on a side note, can i setup pluginmanagement for reporting as well?
regards
Leon
On Tue, Jan 4, 2011 at 3:15 PM, Nick Stolwijk wrote:
> What goals are you running? The site lifecycle doesn't take
> build/pluginManagement into account and you have to set
What goals are you running? The site lifecycle doesn't take
build/pluginManagement into account and you have to set the version in
/project/reporting/plugins/
Hth,
Nick Stolwijk
~Senior Java Developer~
iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl
On
Hello,
a build of an aggregated project recently broke (actually after first
release) with following error message:
[ERROR] BUILD ERROR
[INFO]
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apa
Thanks a lot everyone.
2011/1/4 Stevo Slavić
>
> https://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/
>
> Regards,
> Stevo.
>
> On Tue, Jan 4, 2011 at 1:24 PM, Antoine DESSAIGNE
> wrote:
> > Hi everyone,
> >
> > I have a pre
I think that you should start by reading up one the maven repo structure.
That will explain the structure and also that the jars are not exploded. You
also need to understand the Maven coordinates groupId, artifactId and
version, as they are essential to locating the jars.
Then you can use the mav
Don't think there is one, but you could probably get a better answer on the
m2e mailing list.
/Anders
On Tue, Jan 4, 2011 at 13:56, Ben Stover wrote:
> Yes, I know the global settings file for a stand-alone Maven is in
>
> \conf\settings.xml
>
> But where is that corresponding file if I use the
Using depMgmt to specify the version is the way to go when you have several
projects where you want to ensure that the exact same version is used.
No clue about your problem with project.version. But there seems to be a
cyclic issue.
/Anders
On Tue, Jan 4, 2011 at 13:59, Leon Rosenberg wrote:
>
Sorry for this newbie question:
A project depends on some classes from a *.jar archive which are NOT available
through the common, well known Internet Maven Repsoitories.
I want to add these *.jar files to my local Repository manually.
Can I just copy the *.jars into the local repository folder
On Tue, Jan 4, 2011 at 12:11 PM, Anders Hammar wrote:
> I recommend "1.0.1", as I dislike ranges (might break reproducible builds
> and is just to much automagic in my taste).
> "RELEASE", "LATEST" is depracted and should not be used.
>
> When ever a new release is available you need to update the
Yes, I know the global settings file for a stand-alone Maven is in
\conf\settings.xml
But where is that corresponding file if I use the built-in, embedded Maven in
Eclipse (v3.6.1) ?
Ben
-
To unsubscribe, e-mail: users-unsub
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/
Regards,
Stevo.
On Tue, Jan 4, 2011 at 1:24 PM, Antoine DESSAIGNE
wrote:
> Hi everyone,
>
> I have a pretty simple question, is there a persistence-api-2.0 jar that
> defin
I found several when searching for "persistence" at repository.sonatype.org.
Here's one by the Geronimo project:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.1/
/Anders
On Tue, Jan 4, 2011 at 13:24, Antoine DESSAIGNE wrote:
> Hi everyone,
>
> I have a pretty s
Hi everyone,
I have a pretty simple question, is there a persistence-api-2.0 jar that
defines the standard JPA 2 api somewhere ?
I wasn't able to find it :/
Thanks a lot for your insights on this matter.
Antoine.
I recommend "1.0.1", as I dislike ranges (might break reproducible builds
and is just to much automagic in my taste).
"RELEASE", "LATEST" is depracted and should not be used.
When ever a new release is available you need to update the bar pom.
Or, you could keep both projects together with an agg
Hi,
say I have two projects,
foo and bar, and bar depends on foo. My question is how should I
properly declare this dependency.
>From the maintainers point of view (and I'm the maintainer of both) I
always want bar to use the newest release of foo.
So, I have a released version of foo - 1.0.1, whi
Thanks, but it actually asks for the password to encrypt. To simplify for
the users, I'm thinking there is no need for them to specify it if they
actually don't need to know it.
And yes, the idea is to include this functionality in a plugin.
/Anders
On Tue, Jan 4, 2011 at 10:19, Hoehmann, Andreas
Hi Anders,
maybe you can use the mvn shell? https://docs.sonatype.org/display/MVNSH/Home
There is a command "encrypt" (or something) ... but I don't know if mvn shell
can run in "batchmode".
Or you can hack your own plugin :D
Regards
Andreas
-[http://www.ahoehma.de]-
> -Ursprüngliche Nac
Is there any reason why I would need to remember my master password (used
for encrypting my server passwords in settings.xml)? I haven't found any and
I'm thinking that it could be auto-generated (by some tool) when creating
settings-security.xml, instead of specified by the user.
/Anders
52 matches
Mail list logo