I have read the FAQ on how to upload thirdparty jars to a repository, but
cannot seem to get it working?
I have tried to upload the jacorb jar to our own local repository (nexus)
with the command:
mvn deploy:deploy-file -DgroupId=org.jacorb -DartifactId=jacorb
-Dversion=2.3 -Dpackaging=jar -Dfile=
Please note I've added a new goal release:stage to cover such a use case :
prepare the release, stage it to a test / demo repository. When something is
wrong, simply rollback and delete/rename the tag in SVN.
2008/6/10 Kalle Korhonen <[EMAIL PROTECTED]>:
> I think you should re-read the release
Niranjan,
If I were debugging this I would try to run any by itself on your build.xml
file and see if it runs outside of Maven. Run it from the folder where the
pom and build.xml both reside. (I'm assuming you have them in the same
folder, which is the root of your maven project.
If it doesn't, y
Maybe I'm missing something but I thought the purpose of a "skinny war" was
to consolidate shared dependencies between several wars and some ejb jars.
If the new feature will build a jar in the same project as the war and that
jar contains dependencies there has to be some other feature that takes
Patrick--
As the false is defaulting to false so you would
have to override the filtering value to change the output of pom.xml
The doc http://maven.apache.org/guides/getting-started/index.html states
In addition, we had to explicitly state that the resources are located in
the src/main/resou
For Eclipse, both Q4E and m2eclipse do resource filtering; personally Q4E
has felt more "automatic" for me - i.e. the default settings have typically
worked well.
Kalle
On Mon, Jun 9, 2008 at 5:23 PM, Patrick Flynn <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I think that I must be hitting a g
Hi,
For any Maven users who are interested in Eclipse IDE integration and
Maven repository managers I will be speaking at the Silicon Valley Web
Developer Java User Group on June 17th at Google in Mountain View. I
will be speaking extensively on Nexus and m2eclipse and doing demos of
both
Hi All.
Can an archetype create more than one project?
Ta.
-Chris
**
CAUTION - This message is intended for the addressee named above. It may
contain privileged or confidential information.
If you are not the intended recip
Mark Struberg <[EMAIL PROTECTED]> wrote on 05/06/2008 18:32:23:
> > So long as maven supports your scm...
> But then it is still much better to get this SCM supported then having
> hundred of developers tweaking around manually.
>
> Which SCM you need isn't supported yet?
>
> Since I already wr
No, I meant exactly what I said.
Maven itself needs to be able to check in/out etc from your SCM.
We use ClearCase in with UCM Dynamic Views, which is not supported
(particularly well (if at all?)) by maven.
So, in that instance, we will need to basically to a release manually.
If maven fully
Right.
Now that's a seriously strange repo. Are they in the middle of a
reorganisation?
I'm out of clues now...
manish wrote:
Hi Dennis,
The dependency is declared as
org.eclipse.core
org.eclipse.core.resources
3.2.0
So, unless I'm missing something, maven should look for it
I think you should re-read the release plugin documentation (
http://maven.apache.org/plugins/maven-release-plugin/, the examples give you
the steps the plugin does) and then try it out on a small project.
release:prepare changes the version numbers, creates the tag and then
prepares the trunk for
I seem to have a follow-on to this issue when I move to my Linux build
machine trying to run site or site-deploy.
When I run site-deploy locally, I have no issue creating site documentation,
but when I check everything back into svn, then kick off Hudson to create
the same site-deploy, I get thi
Here's another view that many have here, what exactly does running the release
plugin buy us?
So far, it doesn't seem to fit the bill (and I can't just plant the anchor and
spin the queen mary around it - ie: change process), why NOT just skip it and
use deploy:deploy or deploy:deploy-file (whi
When I run site-deploy locally, I have no issue creating site documentation,
but when I check everything back into svn, then kick off Hudson to create
the same site-deploy, I get this velocity error:
[INFO]
[INFO] Building Q
Hi,
After XML then source files, it's time now for the next step on encoding
support: reporting output files.
There is a new proposal to unify reporting encoding configuration and change
default value to UTF-8:
http://docs.codehaus.org/display/MAVEN/Reporting+Encoding+Configuration
The change t
Hi,
and called it like that:mvn package -P myflag
>
Not sure but you have an extra space between -P and myflag
try mvn package -Pmyflag
If it is not working, first try without profile in order to be sure that the
exclusion configuration is working.
HTH,
Rémy
I agree very much with your final assessment.
Sometimes when we work ourselves here into a m2 pigeon hole, we step back and
review what we're doing and where possible, try to alter the processes around
. Sometimes that's just not duable.
I agree that snapshots shouldn't necessarily be tested b
I think you have a different understanding of what a SNAPSHOT is, than maven
has.
For maven, a SNAPSHOT version has no really defined state in the SCM but only
any current checkout which is NOT reproducable.
So, it imho does _not_ make sense to perform user testing with this version.
Typicall
Yes, absolutely it forces to move to the next version. I think a build
number (for example automatically increasing or last digit matching the
revision number in the version control system) is a relic from the time
where properly versioning something was too difficult. Maven makes
versioning easy.
The one curiosity about this is it forces the user to move to the next
version (unless I'm missing something).
As I said earlier, when we close in on a release, we build more
frequently then we did during development.
When we run the release plugin, it moves the version of the pom from
1.0-SNAPSH
Most people who want to create their own distribution format simply
use the Assembly plugin to do it.
Is this something you have looked at? Is there a reason it is not
going to work for you?
Wayne
On 6/7/08, Andrew Madu <[EMAIL PROTECTED]> wrote:
> Hi,
> can anyone kindly inform me how to go abo
Wayne Fay wrote:
>
> Tim, I totally get where you're coming from, and I understand why you
> might be a little bit confused about the import scope. I agree that
> your use case makes a lot of sense and would help management of
> artifact bundles across projects -- perhaps it can be incorporated
Here are the directions I followed to set scp up:
Now you need to create a private key from the remote server
that you would like to deploy your files to.
Run puttygen
1. Ensure you have selected SSH-2 RSA under parameters
section.
2. Click
I can login with plink just fine
*Using username "admin".
[EMAIL PROTECTED]'s password:
Last login: Mon Jun 9 07:34:55 2008 from 65.213.63.17
←]0;[EMAIL PROTECTED]:[EMAIL PROTECTED] ~]$ ^C*
But I still get the same prompt afterwards doing a site-deploy.
On Fri, Jun 6, 2008 at 5:01 AM, Dennis
Assuming your code matches what's in SVN, it appears that the problem
is related to a bad jar file.
See line 279 here:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java?annotate=616922
There's already a catc
On 6/8/08, Andrew Madu <[EMAIL PROTECTED]> wrote:
> Error assembling WAR: Deployment descriptor: C:Documents and
> Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml
> does not exist
It appears that you do not have web.xml file in your
src/main/webapp/WEB-INF f
On Mon, Jun 9, 2008 at 5:53 AM, Niranjan Deshpande
<[EMAIL PROTECTED]> wrote:
> Maven has a plugin for the same, and i know how to configure itin the pom.
> The question is, how do i tell maven which source file, and doclet file to
> be used for the generation?I have my own custom doclet.
The plu
Hello,
there is a phase "process-classes" in the maven build lifecycle which
comes just after "compile" and is intended for post-compile work on your
classes. Maybe that's what you're looking for?
Though, as Niranjan said, binding it to compile should work too (if it
doesn't execute, you might ne
Hello,
is it possible to use the plugin logging facility? You can call getLog()
in your mojo to get the plugin logger. It's not log4j (it's a plexus
logger) but it does pretty much the same.
I tried myself to get log4j and maven to work together, I'd be
interested if anyone else succeeds.
Yours
In Ant we have a javadoc task , it uses the element, to
generate a output file for the give source java file, based on a given
doclet file. ,
http://ant.apache.org/manual/CoreTasks/javadoc.html <- see the doclet
section.
Maven has a plugin for the same, and i know how to configure itin the pom.
T
Hi,
I would like to define a profile to exclude certain packages and classes
from the jar builded -
we have an internal common package containing shared functionality, but for
a specific project for a specifc client I have to exclude certain classes
and packages
(because of security and licencing
Hi,
I met the following error when doing mvn package for a web application
which has jars from other projects. Any clue?
Regards,
Rice
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in the plugin manager executing goal
'
i am calling a shell script inside the maven antrun plugin. the script is
executed, but it runs into a endless loop,
it never stops for me to repond to the echo messages in the script.
can any1 help?
--
Regards,
Niranjan Deshpande
"Shut yourself from the world and create the reality you want"
On Mon, Jun 9, 2008 at 11:18 AM, Charlier, Etienne
<[EMAIL PROTECTED]> wrote:
>
>
>>Yup, The more I think about it, I guess that I should create a full
>>native jar for each architecture, a java jar and hand-pick them in the
>>packaging process.
> As of Qt-jambi 4.4 the natives jar are already ther
Hi Dennis,
The dependency is declared as
org.eclipse.core
org.eclipse.core.resources
3.2.0
So, unless I'm missing something, maven should look for it at
http://repo1.maven.org/eclipse/org/eclipse/core/org.eclipse.core.resources/3.2.0/
where it does exist.
Cheers,
Manish
Denni
>Yup, The more I think about it, I guess that I should create a full
>native jar for each architecture, a java jar and hand-pick them in the
>packaging process.
As of Qt-jambi 4.4 the natives jar are already there..
For Qt-jambi 4.3 I wrote a small shell script to create those jars.
It's not on
I am trying to enable log4j output in order to capture diagnostics
from the execution of a Maven plugin.
The execution environment is Maven 2.0.7, running under cygwin.
I do the following:
export MAVEN_OPTS="-Dlog4j.configuration='c:\temp\log4j.properties'"
mvn clean install
However, I do
Dear all,
I used eclipse PDE + m2eclipse to develop spring osgi bundle. My steps
are:
1. Create a project throght m2eclpse wizard, I selected the archettype
is spring-osgi-bundle-archetype;
2. Add the dependencies in POM.xml file, m2eclipse downloaded the jar
files and added them into
Niranjan Deshpande schrieb:
> I want to bind the maven-antrun-plugin with maven's compile phase. I did it
> by saying this in the plugin:
>
> compile
>
> Does this this mean that my plugin will run, after maven has executed the
> compile phase of the life cycle? My plugin's task is dependent on the
40 matches
Mail list logo