Can someone with experience using maven's ant task help out the seam team?
Check out http://in.relation.to/Bloggers/Pete Pete Muir's blog . I'm
trying to help but botching it up.
Thanks,
John
--
View this message in context:
John J. Franey wrote:
Wendy Smoak-3 wrote:
1.0-alpha-2 comes pre-configured to proxy
the central repo.
--
Wendy
I'm using Beta-1.
How do I add a caching proxy? The admin menu does not include 'proxy
repositories'. This item is available in a version I have
You can:
1) First parameterize the properties using
webapp.property=${my.build.webapp.property}
2) define the properties in the parent pom:
properties
property
my.build.webapp.propertyvalue-for-webapp-propertye/my.buiild.webapp.property
/property
/properties
3) turn on resource
I came up with a third path. Mutliple projects, but with a slight
difference.
In the base project, an assembly would create an archive of unfiltered
configuration files. So the base project has the war (or jar) and a zip of
unfiltered configuration files. This project does not put any app
I want to use features of 2.2-SNAPSHOT assembly plugin, but now its time to
release my project. The release plugin refuses to prepare my project until
I use the released version of the assembly plugin. I have two choices:
1) revert back to 2.1 release of assembly plugin,
2) build and
Further information:
It seems to work if I configure the assembly plugin like this, but can
someone explain:
plugin
artifactIdmaven-assembly-plugin/artifactId
!-- 495495 is subversion id of snapshot we use (AFAIK) --
version2.2.495495/version
dependencies
Mark Proctor-4 wrote:
settings
profiles
profile
iddefault/id
activation
activeByDefault/
/activation
...
/profile
/profiles
/settings
I've used settings.xml interpolation with success.
I'm curious about what maven thinks is the value
Hi,
Can I expect archiva to proxy artifacts of different classifiers?
I deployed an artifact with classifier 'zip' into a managed repository. The
artifact was built using assembly:attached.. Also, a regular jar artifact
with the same artifactId and groupId was also deployed in the managed
mark_in_gr wrote:
What would be the most efficient way to format my executable jar
application, though?
Depends on your apps requirements. I think unpacked leads to less of a
burden on host filesystem. jar-with-dependencies is easiest to configure,
for sure.
Using the maven
In your pom, taglibs/standard is not specified as a dependency. Its in
dependencyManagement but dependencyManagement has no effect on the
dependency graph of the project.Put tagslib/standard within the
dependencies element and see what flies.
Regards,
John
--
View this message in
Wayne Fay wrote:
Did you use the [...] notation in your versions?
The question I asked myself was Why is the '[...]' notation important?.
So I went to Better Builds with Maven (pdf) and found this in section 3.6:
When a version is declared as 1.1, as shown above for plexus-utils, this
Jason van Zyl-2 wrote:
On 2 Mar 07, at 10:36 AM 2 Mar 07, John J. Franey wrote:
From Better Builds with Maven:
When a version is declared as 1.1, as shown above for plexus-
utils, this
indicates that the
preferred version of the dependency is 1.1, but that other
versions may
dbaker wrote:
My understanding was that if the timestamp of the version in the central
repository is more recent than that of the local version, then the local
version would be updated. Is this correct, or does Maven only download to
the local repository if the required artifact is
Will this work? I do not know.
Introduce a third pom (the data access pom) as a new module of the original
parent. The original parent pom remains unchanged except for the addition
of the new data access pom module. The new data access pom declares data
access dependencies. The data access
Thierry Lach-2 wrote:
Actually settings properties not being available in filtering might cause
us
some problems in converting to M2.
Properties in settings file are available in resource filtering using a
profile.
Each user should create a profile in their own settings.xml. Their
I think the answer is to:
1) create a new module for the resources. move the
src/main/resources/resource.xml into the new module.
2) declare a dependency in each of A and B on the new resources module.
3) use assembly plugin in A and B to create a jar with dependencies. see
Will this work? I do not know.
Introduce a third pom (the data access pom) as a new module of the original
parent. The original parent pom remains unchanged except for the addition
of the new data access pom module. The new data access pom declares data
access dependencies. The data access
Assuming this is related to maven 2, see:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/index.html
I cannot provide an answer for maven 1; I have not used it.
Regards,
John
Armin Ehrenfels wrote:
Hi,
say, I have projects A, B, C, all subprojects of project
Lally Singh wrote:
how do I get maven to do whatever needs to be done to process my hibernate
annotations?
If you are using java 5 annotations and maven 2: Nothing, aside from
compiling with java 5 or better, homing hibernate and java persistence
configuration files into
A piece of the puzzle may be the assembly plugin,
http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
dependencies of your project into a zip file that you can unzip into your
$JBOSS_HOME/server location.
Another piece of this puzzle may be the cargo plugin,
Lally Singh wrote:
nothing's getting generated into
src/main/resources (that's just got the original cocoon spring
stuff in it). Is there another maven target I should run?
Correct. maven will not write into src/main/resources.
Hibernate library reads certain configuration files.
Since yours is a recent post and sounds related to something I'm just
finishing off, I'll post here what I have done. Maybe its useful to you or
somebody.
What I wanted to do was create an archive containing my custom pieces
overlaid into publicly available distribution. Specifically, I want
Robert,
Thanks for the contribution.
Are you sure your answer matches my question? The getting started page you
refer me to has a description of adding username and password in the use
case of deploying to an archiva repository. My question involves the use
case of downloading artifacts from
Hi,
I followed the getting started page, but perhaps I missed something.
Please give me a pointer at what I can look at. I really haven't any
background in plexus and don't know where to look first.
bin/plexus.sh starts a process and dumps log to standard out. When I
visit localhost:8080, I
As per
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html,
I added the following to my pom:
...
packagingjar/packaging
...
build
..
plugins
groupIdorg.codehaus.mojo/groupId
artifactIdxmlbeans-maven-plugin/artifactId
executions
execution
configuration to bind the execution to
generate-sources or other one.
- Olivier
-Message d'origine-
De : John J. Franey [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 13 avril 2006 15:27
À : Maven Users List
Objet : [m2.0.3] adding xmlbeans code generation to lifecycle
As per
http
I'm converting a project to maven 2. Some dependencies do not exist in
ibiblio, so I've 'installed' these into my local repository.
I'm unhappy because every time I perform a run, there is a significant
delay (sometimes) when maven tries to download these non-existent
artifacts. I get these
to
it directly, which would then prevent the ibiblio lookup. I don't use
maven-proxy, but it seems like this would work.
Wayne
On 3/30/06, John J. Franey [EMAIL PROTECTED] wrote:
I'm converting a project to maven 2. Some dependencies do not exist in
ibiblio, so I've 'installed
28 matches
Mail list logo