i can deploy an artifact into our repository, and have verified that it
deployed correct by checking the copy on disk, however when i attempt to
browse to the artifact i get the following error in the browser:
Error 404 Not Found
The following resource does not exist:
Hi Mick,
Sorry, I got a little confused there. You got the The following resource
does not exist when you tried browsing the artifact in Archiva? Where you
able to see in the file system whether the artifact was actually downloaded
in the Proxy Repository?
Thanks,
Deng
On Jan 10, 2008 6:17 AM,
I did this config.
Thank you for your return.
- Original Message -
From: [EMAIL PROTECTED]
To: continuum-users@maven.apache.org
Sent: Wednesday, January 09, 2008 4:10 AM
Subject: RE: Doubt about mail notifier
Hi
Continuum send a mail ONLY if the build state is modified. If you're
Vishal:
you can use
dependency
groupIdA/groupId
artifactIdA/artifactId
exclusions
exclusion
groupId/groupId
artifactIdartifactId
/exclusion
exclusions
/dependency
in exclusion you can specify the dependencies of A. As per my knowledge
there would be one exclusion tag for each dependency.
This is
Amit
Thats pretty much fine but the problem is we have got plenty of
dependencies and stopping them to get inside lib directory with this
method is a bit cumbersome thats why i was lookin for some other
efficient way if exists.
Regards
Vishal.
-Original Message-
From: amit kumar
Yes Vishal thats very true, in fact even i am looking for a similar
solution.
On Jan 9, 2008 2:01 PM, Vishal Pahwa [EMAIL PROTECTED] wrote:
Amit
Thats pretty much fine but the problem is we have got plenty of
dependencies and stopping them to get inside lib directory with this
method is a
Amit,
Could you send me the output of mvn clean install -X (pipe it to a file)
privately. I can have a look at it and reply here hopefully the solution.
With regards,
Nick Stolwijk
-Original Message-
From: amit kumar [mailto:[EMAIL PROTECTED]
Sent: Wed 1/9/2008 9:23 AM
To: Maven
Matthew Tordoff a écrit :
Hi Francois,
To retrieve any files you first of all need to install them into the Maven
repository in some way, and to install them into the Maven repository so they
are accessible by other modules which can then retrieve them. The basic steps
are: Package/Assemble,
If you want the jar file of module A working at runtime, how is that possible
without the transitive libraries? Could you change the module to include those
dependencies only at compile time? Then they won't be transitive at runtime.
With regards,
Nick Stolwijk
-Original Message-
Hello,
My POM is configured with a snapshot version of the eclipse plugin (as some
fix are required in my env).
I'd like to release my project. This plugin is NOT required to be stable to
make the build reproductible.
Running mvn release:prepare force me to use a non-snapshot version of the
Hi there,
Was there any change in surefire-plugin from version 3.2 to 3.2.1 that
changes the way xml apis are loaded for tests?
With version 3.2, I can add xercesIml in scope:test and use XSD validation.
After getting the upgrade to version 2.3.1 I'm getting this error:
nested exception is
On Jan 9, 2008 10:02 AM, nicolas de loof [EMAIL PROTECTED] wrote:
Can I tell the release plugin to ignore this one during release checks ?
I do not know, whether you can. But the recommended way is to take the
current snapshot, define your own version number (for example
20080109) deploy
Hello Angelo,
To find the proper dependency information for certain libraries you can
use: http://mvnrepository.com/
If you want to use libraries, which are not available in public
libraries, you need to install those jars in to your local repository,
so that you can declare them as normal
A little more info.
I forgot to mention that the problem seems to be that surefire ignores some
of our test suites when counting the total number of processed tests.
We have 11 seperate test suites (not 9 as mentioned before) and 4 of these
test suites are not included in the list of test
Hello,
I need some custom packaging that requires to post-process the
tar.gzgenerated by the assembly plugin.
How can I force the execution of the assembly plugin from another plugin ?
The @execute goal= only applies on goals from the same plugin, and
assembly is not attached to a phase.
Nico.
I know that a plugin can fork a maven execution if it needs to... can't
remember how
On Jan 9, 2008 9:34 AM, nicolas de loof [EMAIL PROTECTED] wrote:
Hello,
I need some custom packaging that requires to post-process the
tar.gzgenerated by the assembly plugin.
How can I force the execution
Hi all,
I have the need to impose a specific ordering of compilation of some
source code I have. I need to achieve the following:
1 - compile some Java
2 - translate SQLJ (dependent on above compilation)
3 - compile some further Java (dependent on translated SQLJ)
To translate the SQLJ I
I have to investigate the migration to Maven in our organisation. We
have a pretty large software base : about 100 projects each generating
3 to 6 artifacts. A part of these modules are a framework used by most
other projects.
On this basis I would start with three parent poms.
- On for the
I am looking at building the initial java code in a separate module,
then importing it and unpacking it as a dependency and then continuing
with the build as previously designed, packing everything up in a single
JAR at the end.
I would go for this way. Even not unpacking the dependency, but
Hi,
I updated some plugin and crash, an error. Error says to specify:
'-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom
configuration file, but I didn't find how to configure it with pom file ...
Some one could help ?
[INFO]
I'm trying to go down the path of option #1 below :
* a super pom which define all dependencies, we can leave it in
SNAPSHOT state for the dev cycle
* all libraries reference this parent pom. The libraries can go
through a couple of version increments during the dev cycle.
Now I have a problem
On 09/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have to investigate the migration to Maven in our organisation. We
have a pretty large software base : about 100 projects each generating
3 to 6 artifacts. A part of these modules are a framework used by most
other projects.
On
Dennis Lundberg wrote:
There is a JIRA project for reporting repository errors:
http://jira.codehaus.org/browse/MEV
Wherein this is already reported:
http://jira.codehaus.org/browse/MEV-530
Any chance it could be fixed?
(And if someone's doing that one, maven-2.0.7.pom, MEV-536 too)
Hi,
when I use webappDirectory for my webroot directory the exclusion of
files doesn't work( I want to exclude CVS files. But it works fine
with webResources tag. What is the work around for webappDirectory
or some other tag available?
regards,
Amit
On 1/5/08, Stephane Nicoll [EMAIL PROTECTED]
Hi Nick,
Thanks for your response. I actually decided to follow your second
option of configuring a second execution of the compiler plugin. The
only problem is that when the build gets to the main compilation it
doesn't appear to have the target folder on the classpath and thus can't
find the
Hi,
I´m using the maven-depgraph-plugin to generate dependency-visualization
graphics, which I want to include in the generated website.
This plugin has 2 goals and I need a different configuration for each goal
1) for depgraph goal no groupFilter is necessary, I want to see all the
The target/classes directory is in the classpath (check with mvn -X clean
compile). Did you generate classes or java files? If you generated classes they
should be in target/classes, if you generated java files, you'll need the
maven-build-helper-plugin [1].
Hth,
Nick Stolwijk
[1]
As an afterthought, I would still recommend two modules:
module 1: compile and process-classes (which is a phase, to bind your sqlj
plugin to)
module 2: dependency on module 1 and compile
This is much easier to understand for other developers and inline with the
maven thought.
Hth,
Nick
Hi,
First of all I agree with Nick and the path you have chosen already.
So using your framework isn't a problem anymore.
Ïn my opition the cycle you mention where the snake bites it's tail can only
be a real problem is you actually do have circular dependencies, which often
isn't the case.
I
Hi,
I've installed the Archiba both in office and at home. When I run at home,
everything is OK. When I do the same in office, I still have problem by
downloading the
Hi,
I've installed the Archiba both in office and at home. When I run at home,
everything is OK. When I do the same in office, I still have problem by
downloading the
Thanks a lot for all the feedback !
I am still not completely convinced ... see below.
On 09/01/2008, Beelen, M. - SPLXL [EMAIL PROTECTED] wrote:
Ïn my opition the cycle you mention where the snake bites it's tail can only
be a real problem is you actually do have circular dependencies, which
Platform: maven-2.0.8, maven-dependency-plugin 2.0-alpha-4,
maven-antrun-plugin 1.1, maven-jar-plugin 2.1
Why does maven lifecycles fork? Ie. what makes them fork?
I have a setup where I use dependency:copy to pull in some files from
the maven repository, and put them under
Hi Nick,
I have switched to your approach and do as follows:
Module 1: build first java package
Module 2: translate SQLJ and build second java package (with module 1
listed as a dependency within the pom)
However, whatever I seem to do, my SQLJ plugin doesn't seem to be able
to find the
you don't need to exclude CVS files unless you're running the very old
v2.0. Use v2.0.2
Stéphane
On Jan 9, 2008 12:23 PM, amit kumar [EMAIL PROTECTED] wrote:
Hi,
when I use webappDirectory for my webroot directory the exclusion of
files doesn't work( I want to exclude CVS files. But it works
I have used 2.0.2 and even 2.1-alpha-1. CVS files don't get excluded
unless until i use webResources additionally to again point to the
webroot directory and then excluding it.
what works fine for me is
webappDirectory${basedir)/webRoot/webappDirectory
webResources
resource
In your plugin you have to start working with the maven api. To get the compile
time dependencies as class path elements (like the compiler plugin) you would
use project.getCompileClasspathElements(). To get the test compile as class
path elements it would be project.getTestClasspathElements().
I'm trying the release plugin 2.0-beta-8-SNAPSHOT with
-DignoreSnapshots=true, but still can't release when my project has
dependencies on snapshots.
Is this really supported ?
The code of the release plugin is:
/**
* Whether to allow timestamped SNAPSHOT dependencies. Default is to fail
when finding any SNAPSHOT.
*
* @parameter expression=${ignoreSnapshots} default-value=false
*/
private boolean allowTimestampedSnapshots;
So I don't think
François Xavier Gendrin a écrit :
Matthew Tordoff a écrit :
Hi Francois,
To retrieve any files you first of all need to install them into the
Maven repository in some way, and to install them into the Maven
repository so they are accessible by other modules which can then
retrieve them.
Sorry, I made a stupid typo on command line.
2008/1/9, nicolas de loof [EMAIL PROTECTED]:
I'm trying the release plugin 2.0-beta-8-SNAPSHOT with
-DignoreSnapshots=true, but still can't release when my project has
dependencies on snapshots.
Is this really supported ?
Any plugin that declares @execute [phase] will cause the build to fork.
The dependency plugin does not, but one of your other plugins must. I
know that javadoc did, assembly does (depending on which goal),
enforcer:enforce-once does. Take a look at the various plugins you have
bound and see which
Hi,
On a continuum site, what does the default setting mean for a project?
Thanks, Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
You mean when adding a project in the Build Definition list box ?
If yes it's the default build definition for the project type (maven1,
maven2, ant).
If you are adding a m2 project : Default == default maven2 template.
Sure it's a little verbose here because we repeat the same things.
--
Hi Rahul,
Did you ever figure this out?
- Doug
Rahul Thakur wrote:
Hi,
I am attempting to release a multi-module project which is set up
something like this in an SVN repo:
Parent (pom-only)
|
| _ _Core (linked via svn:externals to a different SVN location)
|
|_ _ Webapp
I have set up Archiva as my project mirror. I want my team to ONLY use my
mirror. Do I have to declare EVERYTHING in my pom now?
*Here are my settings:*
mirrors
mirror
iddap.internal/id
url
http://rc-sun66e.ut.dentegra.lab:8080/archiva/repository/internal//url
Brian E. Fox [EMAIL PROTECTED]:
Any plugin that declares @execute [phase] will cause the build to
fork. The dependency plugin does not, but one of your other plugins
must. I know that javadoc did, assembly does (depending on which
goal), enforcer:enforce-once does. Take a look at the
According to the site:
http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html
source:jar
This plugin bundles all the sources into a jar archive.
Mojo Attributes:
* Requires a Maven 2.0 project to execute.
* Since version: 2.0
* Automatically executes within the lifecycle
Hello,
i'm using maven with the maven-changes plugin to create a changes
report...so far so good
Here is my configuration for the plugin:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-changes-plugin/artifactId
configuration
setting archiva as a mirror for any repository you don't need to declare
anything as repository/pluginReposiotry (until you use snapshots).
Can you manually request archiva for maven-compiler-plugin and its metadatas
?
2008/1/9, Mick Knutson [EMAIL PROTECTED]:
I have set up Archiva as my
If you post your pom configuration for maven-clean-plugin, we might be
able to help you. Better yet, include the whole reporting element from
your pom.
François Xavier Gendrin wrote:
Hi,
I updated some plugin and crash, an error. Error says to specify:
Try to use the reportSets configuration found in this example:
http://maven.apache.org/plugins/maven-changes-plugin/examples/alternate-changes-xml-location.html
That should make the plugin create *only* the changes-report.
Karl Heinz Marbaise wrote:
Hello,
i'm using maven with the
On Wed, 2008-01-09 at 11:35 +0100, François Xavier Gendrin wrote:
Hi,
I updated some plugin and crash, an error. Error says to specify:
'-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom
configuration file, but I didn't find how to configure it with pom file ...
Some
Hi,
I've troubles in assembling an artifact that uses two jars with a
META-INF/services/foo. There is a way to merge these files into a single
file?
Thanks in advance.
--
Best Regards,
-- Davide Angelocola
-
To unsubscribe,
First an update: removing this plugin from both the SuperPOM and the
Project parent POM, caused my forked lifecycle message to go away.
I tried doing like this page does
http://maven.apache.org/plugins/maven-source-plugin/usage.html
ie. changing the original
plugin
On Wed, 2008-01-09 at 14:23 +0100, Guillaume Lederrey wrote:
Thanks a lot for all the feedback !
I am still not completely convinced ... see below.
On 09/01/2008, Beelen, M. - SPLXL [EMAIL PROTECTED] wrote:
Ïn my opition the cycle you mention where the snake bites it's tail can
only
New user to maven. Loving it so far. But I've encountered a real hair
puller.
I have a controller project that uses maven to manage its dependencies.
One of its dependencies is on a library (dba.library) that is also built
using maven. The library has two release branches (current versions are
I do not want to have to delete, and re-create the REPO just to change the
name from 'internal' to something more descriptive like 'myproject.internal'.
How can I do this as when I edit the repo I did not see this option.
--
Thanks,
Mick Knutson
http://www.baselogic.com
Steinar Bang [EMAIL PROTECTED]:
So... if I move it to eg. generate-sources, I may get rid of the
problem? I'll try, and post back the results.
Moving the dependency:copy config from generate-sources to
generate-resources, and doing the antrun:run patch in process-resources
did the trick for
Hello,
I am a new user of maven.
could you please let me know what will be groupid and artifactid if I want
to write pom.xml to create war file.
My java project directory structure is as following
test2
service
src
com
Hello,
My java project directory structure is as follows
Test2
Service
Src
Com
Ek3
Test
Addition.java
Could anyone please tell
Hi all,
I try to create a project according to the Maven in 5 Minutes under
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html.
The mirror in my setting.xml is the remote repository in the server machine.
I got error as follow. But when I run using the central mirror,
Sorry email test
This should help you out
http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat
rgds,
ste
Zemian Deng-2 wrote:
Hi, when I deploy archiva.war file, I get these two error telling that I
must have /logs created. Where can I specify to different location?
Hello,
I'm trying to use the release plugin to release a project with several
modules. I managed to get it working that the versions of the parent project
and the modules is being updated. I'm dealing with the issue that only the
parent project is being uploaded to my SCM. Is it possible to
Show us the command line you typed. It seems you might have mistyped something.
Wayne
On 1/9/08, Thomas Chang [EMAIL PROTECTED] wrote:
Hi all,
I try to create a project according to the Maven in 5 Minutes under
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html.
The
You can choose whatever groupId and artifactId you wish for your own
project pom.xml file.
Having said that, your file structure does not match Maven's required
structure, so you will either need to customize the pom.xml or adjust
your project layout (my suggestion).
Maven likes projects to look
On Jan 9, 2008 12:30 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I do not want to have to delete, and re-create the REPO just to change the
name from 'internal' to something more descriptive like 'myproject.internal'.
How can I do this as when I edit the repo I did not see this option.
Please
You are right. :-)
Wayne Fay [EMAIL PROTECTED] schrieb: Show us the command line you typed. It
seems you might have mistyped something.
Wayne
On 1/9/08, Thomas Chang wrote:
Hi all,
I try to create a project according to the Maven in 5 Minutes under
I'm trying to use the release plug-in on a very simple multi-module
project but the plug-in seems to be having problems adding/removing the
release-pom.xml file for parent to CVS.
My project structure looks like this (minus the source files)...
sample/
pom.xml
sample-shared/
I'm facing a similar issue in a couple Maven projects where I'm creating a a
distribution package (e.g. tar.gz) or an installer (e.g rpm, Windows
installer) for a binary (jar, exe). I have a separate module for the
packager that has a dependency to the binary, and a parent pom for these.
Say, for
Just an FYI: I couldn't seem to find any path from
http://maven.apache.org/archiva to that page, so that me be the source of
the confusion.
On Jan 9, 2008 2:28 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On Jan 9, 2008 12:30 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I do not want to have to
Hello,
I would like to automate more my releasing process. How can I feed
release:prepare goal with the needed values ?
I know --batch-mode but it uses the default inputs for the versions
and tag information.
Is it using the -Darguments=version_tag new_version ?
Thanks,
Julien
--
Julien
Can you please refrain from replying to an old message when you have a
completely new question. This is most annoying for people using a
mail-client that can show mail threads. If you have a new question just
send a completely new message to users@maven.apache.org
Thank you.
Thomas Chang
I am trying to crate a project mirror where my team only accesses our
repository. But I am now having issues getting
http://snapshots.repository.codehaus.org/; resources like dashboard-plugin.
Here is my proxy connector setting:
Proxy Connector
Codehaus-Maven-Snapshot
Codehaus-Maven-Snapshot
The problem email header is this one:
In-Reply-To: 19a9f6be0801080130k142ce7f6l1f235113191d03bf
When you reply to an email, your email client (or yahoo.de website)
inserts that header into the new email. Even when you change the
subject and delete the old email content, that header is still
I do not see anything to do with repositories in the /home/dapadmin/apache-
tomcat-5.5.25/conf/Catalina/localhost/archiva.xml
Only DB and war information.
On Jan 9, 2008 12:28 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On Jan 9, 2008 12:30 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I do not
Hello. Could someone please tell me if there are any multimodule site
reporting plugs which produce multimodule reports? I have tried many
plugins like javaNCSS but all the resulting sites return all 0's.
This message (including any attachments) contains confidential information
intended for
For some reason the over constrained exception is hidden try mvn
dependency:resolve -X
and look for the OverConstrainedException which means you have two non
overlapping ranges for the same artifact in the resolution tree
On Thu, 10 Jan 2008 08:14:05 Chris Andersen wrote:
New user to maven.
We have set up Artifactory at our company and the only references in
repositories refer to Artifactory. Yet Maven seems to go around
Artificatory for some artifacts. When building up a clean, empty local
repository, some artifacts are found that are not cached in Artifactory.
How can this be
Have you checked mvn help:effective-pom and help:effective-settings?
http://maven.apache.org/plugins/maven-help-plugin/usage.html
Wayne
On 1/9/08, Brewster, Richard [EMAIL PROTECTED] wrote:
We have set up Artifactory at our company and the only references in
repositories refer to Artifactory.
On Jan 9, 2008 3:58 PM, Brewster, Richard [EMAIL PROTECTED] wrote:
We have set up Artifactory at our company and the only references in
repositories refer to Artifactory. Yet Maven seems to go around
Artificatory for some artifacts. When building up a clean, empty local
repository, some
Because the default repository central is always a repository. This
one can only be overridden by a mirror section in your settings.xml.
Hth,
Nick Stolwijk
Brewster, Richard wrote:
We have set up Artifactory at our company and the only references in
repositories refer to Artifactory. Yet
On Wed, 2008-01-09 at 11:26 +0530, amit kumar wrote:
Hi,
I am building a WAR package, and every time I see
commons-logging-1.0.4being put in the WEB-INF\lib folder. Although
this is not described in my
pom.xml(I have commons-logging-1.1 as my dependency in the pom.xml) Still I
am getting
hello guys,
a little problem with maven and JUnit test.
i use JUnit 4.1 and a jdk 1.6.0_03 under linux (ubuntu)
my JAVA_HOME is correctly set and MAVEN_HOME too !
i wrote test classes with static import, annotations and generics.
when i run maven in a terminal
mvn test-compile
i've got the
Hi,
Any idea when this issue will be fixed or anyone have any workaround for
this ?
http://jira.codehaus.org/browse/MANTRUN-75
the below
tasks unless=maven.test.skip
echo message=To skip me, just call mvn
Have you run mvn clean lately? It might be leftover from a previous
build, as suggested by Olivier.
Wayne
On 1/9/08, Olivier Dehon [EMAIL PROTECTED] wrote:
On Wed, 2008-01-09 at 11:26 +0530, amit kumar wrote:
Hi,
I am building a WAR package, and every time I see
Just add a plugin configuration for the maven-compiler-plugin to your project
pom. The example below shows such a configuration. Sorry its not nicely
color coded.
project
modelVersion4.0.0/modelVersion
groupIdbla.examples/groupId
artifactIdbla/artifactId
The Mojo team are pleased to announce the the first beta release of
the JasperReports Maven plugin
The site is at:
http://mojo.codehaus.org/jasperreports-maven-plugin
Enjoy!
-Dan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I followed this
http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html
but it seems that it is being ignored/eaten.
What I want is to include the src/main/webapp/WEB-INF/lib to the compiler
classpath as there are libraries not managed in maven.
I believe
Thanks Olivier/wayne, you are right. 1.0.4 was the left over.
Regards,
Amit
On Jan 10, 2008 8:02 AM, Wayne Fay [EMAIL PROTECTED] wrote:
Have you run mvn clean lately? It might be leftover from a previous
build, as suggested by Olivier.
Wayne
On 1/9/08, Olivier Dehon [EMAIL PROTECTED]
I am packaging an EAR with a SAR in it. How do exploded EAR with an exploded
SAR.
The ear plugin by default is creating an exploded EAR but SAR within that is
still packaged.
Any ideas?
Regards,
Amit
On Jan 7, 2008 5:48 PM, amit kumar [EMAIL PROTECTED] wrote:
Thanks a ton stuart. Its
On Jan 10, 2008 7:57 AM, amit kumar [EMAIL PROTECTED] wrote:
I am packaging an EAR with a SAR in it. How do exploded EAR with an exploded
SAR.
The ear plugin by default is creating an exploded EAR but SAR within that is
still packaged.
Any ideas?
yes. take a look at the profile below. you
On 09/01/2008, simon [EMAIL PROTECTED] wrote:
On Wed, 2008-01-09 at 14:23 +0100, Guillaume Lederrey wrote:
Thanks a lot for all the feedback !
I am still not completely convinced ... see below.
On 09/01/2008, Beelen, M. - SPLXL [EMAIL PROTECTED] wrote:
Ïn my opition the cycle you
Hi folks!,
I m doing a project that uses SWT for gui. How do i add
the dependent jars to maven? Any help will be appeciated.
Thanks in advance
--
View this message in context:
http://www.nabble.com/How-to-add-a-dependency---newbie-to-maven-tp14729321s177p14729321.html
Sent
95 matches
Mail list logo