Hi,
sounds like a bug in the commons-net library (or in your ftp server
implementation). The source code line causing the exception is this:
reply = reply.substring(reply.indexOf('(') + 1,
reply.indexOf(')')).trim();
which parses a server reply and probably doesn't
Hi,
as far as I can tell you can't do this with the current archetype
plugin. However, there is currently a successor in development over at
the mojo project that should support this kind of things.
Currently no website is set up for it and I can't tell if there are any
binary releases of it
Matthias,
On Sunday 24 June 2007 07:01, Matthias Wessendorf wrote:
> I used the maven-remote-resources-plugin in the past to add NOTICE and
> LICENSE to regular JAR and:
> a) source JAR
> b) javadoc JAR
>
> Now, running this command
>
> mvn clean source:jar javadoc:jar install deploy
> -DaltDepl
Hello
I am new to maven.
I just installed the maven plugin for eclipse as described at
http://maven.apache.org/eclipse-plugin.html.
I have then created a small project with the following dependency.
org.hibernate
hibernate-entitymanager
3.3.1.ga
When maven download the dependenc
Here's the problem
I have a parent pom defining the scm url
http://svn/repository
scm:svn:${svn-repository}/${artifactId}/trunk
${svn-repository}/${artifactId}
This works fine for the parent pom project
Output on debug >>
Configuring mojo 'org.apache.maven.
I'm not certain this is a supported feature of the Findbugs plugin. I
use findbugs but have never felt the need (personally) to fail a build
based on the results of the analysis.
So if you are unable to find documentation explaining how to do this,
I'd assume/suggest that it is simply not a suppo
As others have mentioned, profiles are the proper way to proceed with
this requirement. This same thing was just discussed in the last day
or two, so check the archives or Nabble.com and you're bound to find
more examples and discussion on this topic.
About the "URGENT" in your subject -- I'd lea
You should do this using profiles.
Typically you would define a profile for each environment
dev
target-env
dev
src/main/filters/dev.filter.properties
How about maven-antrun-plugin, using the Ant task?
About the variable naming, it depends on where the information comes
from - can it be set on the cmdline? Is it available as an environment
variable?
Profiles are a standard Maven mechanism to get the build to respond
differently to different c
Hi:
Here is what needs to be achieved:
I have 3 different configuration files: application-dev.properties,
application-int.properties, application-prod.properties. Depending on
the value taken by a certain variable (where and how do shoudl I define
this variable??), I need to have one of the ab
Hi,
I want to incorporate the FindBugs tool into my builds and get it to fail
my builds if it finds issues.
I am using the plugin from http://mojo.codehaus.org/findbugs-maven-plugin/
Does anyone know how to configure it to fail builds, I do not see any
settings for it. Right now it is generati
The only way to solve the issue was to add all required ydoc library and
resource files under the CLASSPATH environment variable ... Strange as it
should not be that way.
Anyways how can I overwrite classpath info within a profile? examples?
TIA,
Regards,
Giovanni
Hello, I've a question.
I want add two diferentes schedules to a project in continuum, actually
is using 1.1-alpha-2.
I want that one schedule that throw each five minutes and the second
schedule will be throw one time at midnight.
The problem es that, when the last build is generated before the
subscribe
I am wondering how I can get to the bottom of this exception/build error. I am
already running the -e option:
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp cmsl-war in
C:\Work3\cmsl-app\cmsl-war\target\cmsl-war-1.0-SNAPSHOT
[INFO] Copy webapp webResources to
C:\Work3\c
Hello,
There seem to be a number of JIRA issues that may be manifestations of the
same problem- properties not being interpolated in the POM during
install:install to the local repository. I am a new maven user, so perhaps
I am misunderstanding something fundamental, but I think that pom files
ins
Greetings:
I am trying to ftp a JAR over to a remote repository. I am able to
upload the JAR (ie, I can FTP) but keeping getting this error:
[ERROR] FATAL ERROR
[INFO] ---
[INFO] String index out of range: -27
[INFO] --
Yeah, looks like 2.0 doesn't work and when I switched it to 2.0.2 it
worked right away.
On May 7, 2007, at 12:31 PM, stig.lau wrote:
I was looking for the same solution, and the war-plugin seemed right.
But my config files were always put in the war root instead of the
folder i
specified.
Any plans to release Wagon FTP 1.0? I see that WAGONFTP-7 [1] was fixed
months ago, and targetted for 1.0, but there has not yet been a release.
[1] http://jira.codehaus.org/browse/WAGONFTP-7
--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY 10018
(212) 840-2618 ext. 139
--
I expect I would've run into that bug very soon. I guess I should be
thankful for the forewarning. ;-)
I have voted for the issue.
-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 1:49 PM
To: Maven Users List
Subject: Re: Reminder to vote for
On 6/28/07, Steven E. Harris <[EMAIL PROTECTED]> wrote:
Craig Ching <[EMAIL PROTECTED]> writes:
> Would the best way to approach this be to jar up the bundle and
> shove into the maven repo with a groupId and artifactId?
Yes, I'd do that first.
> Then have some way to pull and unpack the jar
I'm using the default install with no modifications. This started happening
more frequently over the last few days and caused the builds to hang while
maxing out the CPU on the machine. This morning I deleted the contents of the
..\apps\continuum\webapp\WEB-INF\build-output-directory and 20 proj
Craig Ching <[EMAIL PROTECTED]> writes:
> Would the best way to approach this be to jar up the bundle and
> shove into the maven repo with a groupId and artifactId?
Yes, I'd do that first.
> Then have some way to pull and unpack the jar in the right place
> during the maven install goal?
Actual
Jason,
Jira will not let you vote for an issue you created :(
If it would, I would vote for MNG-2075 [1]
Paul Spencer
[1] http://jira.codehaus.org/browse/MNG-3075
Jason van Zyl wrote:
Just a reminder for anyone lurking who wants issues addressed in 2.0.8
to vote for issues in JIRA.
Thanks,
On 6/28/07, Steven E. Harris <[EMAIL PROTECTED]> wrote:
Craig Ching <[EMAIL PROTECTED]> writes:
> AFAICT, the OSGi bundles aren't packaged as a single jar, they
> appear to be much more complex (or maybe I am lacking some
> understanding of how these bundles are packaged). For instance, in
> W
Hi All,
I have couple of profiles, one of which is activeByDefault. I want to
activate another one by using properties, but that should deactivate the
other one? IS this possible in maven now?
Here is the section from settings.xml
debug
true
BV
debug
d
Hi All,
I have couple of profiles, one of which is activeByDefault. I want to
activate another one by using properties, but that should deactivate the other
one? IS this possible in maven now?
Here is the section from settings.xml
debug
true
BV
debug
Craig Ching <[EMAIL PROTECTED]> writes:
> AFAICT, the OSGi bundles aren't packaged as a single jar, they
> appear to be much more complex (or maybe I am lacking some
> understanding of how these bundles are packaged). For instance, in
> WEB-INF/platform/plugins there are a number of directories w
On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote:
> When I run dependency:analyze on my module I get:
>
> [INFO] Found Resolved Dependency / DependencyManagement mismatches:
> [INFO] Ignoring Direct Dependencies.
> [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but
> version
I think the following solution should work for you.
Here are two example profiles
env-qa
env
qa
qa
env-prod
I want to use the Maven Embedder but I am having trouble with the online
example.
The dependencies I have on my project are:
org.apache.maven
maven-core
2.0.7
org.apache.maven
maven-project
2.0.7
Hi,
By default maven creates a jar with debug information.
I would like that for each project that I build, it will create two jars
- one with debug information and one without.
I don't want to configure all my pom.xml files.
I assume one option is to have a parent pom.xml (correct me if I'm
wrong)
I have a multi module project. In one of my submodules, I have a plugin
defined (mapped to the compile phase) with dependencies on the plugin. If I
do a compile from the module, it works fine. If I do a compile from the top
level of the project, it fails.
Specifically, it's the antrun plugin.
Hi R.C.,
If your project has no real sources, then you don't need the reporting
provided by coberatura-maven-plugin, right? Just remove mention of it
from the section of your POM.
Steve
CodingPlayer wrote:
> Hi,
>
> i'm trying to run 'mvn site' for my archetype-project, but always get the
> f
Brian,
Below is my working configuration
org.apache.maven.plugins
maven-enforcer-plugin
1.0-alpha-3-SNAPSHOT
enforce-java
enforce-once
AFAIK this can only be done with the antrun plugin.
Ahmet Aytekin wrote:
Hi,
Did you find an answer for your problem below? I am trying to do the
same thing here. I 'd appreciate it if anyone can answer this.
Regards,
geirgp wrote:
Thanks for replying, but I can't see how configuring th
Hi,
Did you find an answer for your problem below? I am trying to do the
same thing here. I 'd appreciate it if anyone can answer this.
Regards,
geirgp wrote:
Thanks for replying, but I can't see how configuring this plugin can help me
copy a file during the process-sources phase. What I
What does this error mean:
[INFO] [site:deploy]
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Unsupported protocol: 'ftp'
Embedded error: Cannot find wagon
Hi Martin and Rahul,
Thanks for the tip! I'll definitely keep my eye on felix.
Cheers,
Craig
On 6/28/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html
This is outdated but hints that something was/is being worked on.
- Original mess
I apologize in advance for the quoting, I'm thinking I should have used my
normal mail account instead of gmail now.
On 6/27/07, Steven E. Harris <[EMAIL PROTECTED]> wrote:
Craig Ching <[EMAIL PROTECTED]> writes:
> I am looking for a more practical, though obviously less than ideal,
> solution
On Thu, June 28, 2007 3:36 pm, martin_CY wrote:
> I just wonder how I should proceed. Because we really don't like dealing
> with all the jars in the lib/ !! and also having the main application's
> jars
> versioned and in an internal repository would make life a lot easier for
> the
> web/Tapestr
When the compiler is forked, the jdk in the PATH is used, not the one
defined by JAVA_HOME.
org.apache.maven.plugins
maven-compiler-plugin
true
true
Is this a bug?
Paul Spencer
Hi,
i'm trying to run 'mvn site' for my archetype-project, but always get the
following error.
The archetype itself has no REAL sources, but defines some source
templates.
I believe the cobertura-maven-plugin detects those sources and beliefs that
they are part of the project.
[INFO]
--
Sorry, I'm a newbie at Maven 2, I admit it.
I have a project template that I use for all new development projects.
The package directory (under the java directory) will look like this:
org.jason.sample.dao
org.jason.sample.service
org.jason.sample.model
org.jason.sample.web
(etc)
My test di
http://maven.apache.org/reference/plugins/faq/faq.xsd
-Original Message-
From: Dave Syer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 8:36 AM
To: users@maven.apache.org
Subject: FML DTD or schema?
Is there a DTD or a schema for FML format? I can't find any documentation
on
The maven 1 faq plugin has a schema:
http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd
I think it's compatible with the format used in m2, but I'm not sure.
HTH,
-Lukas
Dave Syer wrote:
Is there a DTD or a schema for FML format? I can't find any documentation on
it at all.
Hi Martin,
Perhaps it's a dumb idea, but why not create the jumbo jar and then as a
separate step split it apart into separate jars by filtering on package
names? It seems to me that the multiple jar files is more of a
deployment issue then anything else. It might be possible to use tools
like rsy
Is there a DTD or a schema for FML format? I can't find any documentation on
it at all.
--
View this message in context:
http://www.nabble.com/FML-DTD-or-schema--tf3994410s177.html#a11343182
Sent from the Maven - Users mailing list archive at Nabble.com.
--
Hi,
I've been put in charge of investigating the possibilities to migrate to
Maven 2 for my company. we have been using ant up until now and it has
worked pretty well, except that about a year ago we started to make part of
our java application functionality available on the net using Tapestry.
(
http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html
This is outdated but hints that something was/is being worked on.
- Original message -
From: "Craig Ching" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Wed, 27 Jun 2007 17:52:49 -0500
Subject: Re: OSGi bundles as dependencies
Hi
I've recently switched to using OS X. Our project that builds fine on
Windows displays some rather odd behaviour. When maven closes down (after a
BUILD FAILURE) message, the machine slows down. Observing the process in
activity monitor shows that the number of java threads leaps from about 10,
Hi,
is there any such plugin which is capable for generating dependency graph
image based on the maven multi module project?
V
I've been building with maven 2.0.4 my projects since a long time with
out problems.
Yesterday, I did get the following message :
[ERROR] BUILD ERROR
[INFO]
[INFO] Error executing ant tasks
Embedded error: The following e
thx for this hint. i already tried ${settings.localRepository} but since i
use the default (and no ${settings.localRepository} is specified in my
settings.xml) maven can't resolve the property.
I'm using default local repository location, and it's working !
${settings.localRepository} can be use
Hi Damien,
thx for this hint. i already tried ${settings.localRepository} but since i
use the default (and no ${settings.localRepository} is specified in my
settings.xml) maven can't resolve the property.
and the second reason why i didn't investigate more time to get rid of the
${env.WTK_HOME}
Hi,
I'm trying to fork a new Lifecycle when calling my custom plugin. I've followed
the instructions sited in the documentation on
http://maven.apache.org/guides/plugin/guide-ant-development.html --> Forking
new Lifecycles, but when running mvn install the tag execute or lifecycle are
not reco
${env.WTK_HOME}/lib/cldcapi11.jar;${env.WTK_HOME
}/lib/midpapi20.jar
Glad to see that working.
At least, if you have an internal maven repository, you might have a more
portable build system.
You could deploy cldcapi11.jar and midpapi20.jar into your interna
Hi Damien,
i just found some time to try out your hint (configuring the compile plugin
to use a bootclasspath).
here is the config, that worked for me finally:
org.apache.maven.plugins
maven-compiler-plugin
${env.WTK_HOME}/lib/cldcapi11.jar;$
Hi all,
I'm using the maven-eclipse-plugin to create the project meta files like
.project or .classpath for eclipse. Basically, the intention of the
maven-eclipse-plugin was not to use the default dependency resolution, instead
the maven-eclipse-plugin uses its own dependency resolution. Especi
I'm trying to assemble the artifacts from a few projects into one zip file,
using 2.2-beta-1 of the Assembly plugin. The error message I keep getting
is:
WARNING] The following patterns were never triggered in this artifact
inclusion
filter:
o '*:Aperia:*'
o '*:apcs'
o 'aperia:utilities'
I'v
60 matches
Mail list logo