Hi all.
I tried to build magnolia trunk, everything seems ok, but
magnolia-taglib-cms isn't. I got this message, and I don't know how to fix
it. Anybody can help me ?
[INFO] Scanning for projects...
[INFO]
[INFO] Building
.
Wayne
On 4/2/08, Rex Huang [EMAIL PROTECTED] wrote:
It's deploy successful when use mvn deploy with pom file, but mvn
deploy:deploy-file is fail.
Rex
On Wed, Apr 2, 2008 at 11:47 AM, Rex Huang [EMAIL PROTECTED]
wrote:
same problem as Deploying 3rd party jar to our repository
It's deploy successful when use mvn deploy with pom file, but mvn
deploy:deploy-file is fail.
Rex
On Wed, Apr 2, 2008 at 11:47 AM, Rex Huang [EMAIL PROTECTED] wrote:
same problem as Deploying 3rd party jar to our repository
http://mail-archives.apache.org/mod_mbox/maven-users/200711.mbox
my project information as below:
Project path is: /opt/work/project1
Setting in pom file:
distributionManagement
site
idmy-app/id
urlscp://www.mycompany.com/home/testuser/fullsite/url
/site
/distributionManagement
I run maven command to generate report:
mvn clean
how can I use both buildNumber and timestamp?
but I had just set the buildNumber as below:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuildnumber-maven-plugin/artifactId
executions
execution
phasevalidate/phase
Thank you for your suggestion,
but it seems not working correcttly for the bug of this plugin.
the results as below:
[buildnumber:create {execution: generate-buildnumber}]
Storing buildNumber: 16 at timestamp: 1205242293453
[buildnumber:create {execution: generate-timestamp}]
Storing
when I use buildnumber-maven-plugin,
it generate the buildnumber as below:
buildNumber: 137261 at timestamp: 1204813937453
but I want to change the timestamp's format, configuration as below:
plugins
plugin
groupIdorg.codehaus.mojo/groupId
I use maven-assembly-plugin instead of maven-jar-plugin,
because I want to create a binary distribution with all runtime
dependencies.
but I don't know how to set manifestEntries with maven-assembly-plugin.
and also I wonder if the sunfire-test is test the jar file that I repackaged
with
maven-assembly-plugin use MavenArchiveConfiguration,
it seems that it's not easy to customize.
BR//Rex
On Feb 20, 2008 9:38 AM, Rex Huang [EMAIL PROTECTED] wrote:
I use maven-assembly-plugin instead of maven-jar-plugin,
because I want to create a binary distribution with all runtime
I use maven-assembly-plugin instead of maven-jar-plugin,
because I want to create a binary distribution with all runtime
dependencies.
but I don't know how set manifestEntries with maven-assembly-plugin.
and also I wonder if the sunfire-test is test the jar file that I repackaged
with
maybe you should use maven-assembly-plugin
http://maven.apache.org/plugins/maven-assembly-plugin/
Rex
On Feb 19, 2008 11:53 AM, Julien FOROT [EMAIL PROTECTED] wrote:
Hi !
I want to make 2different jars from the same source folder. So I made
this structure :
- jar
-- pom.xml
-- src
does maven has plugin to support subversion?
can it support the feature like subversion copy?
BR//Rex
the application use System.getProperty(java.class.path) to get classpath.
Rex
On Jan 30, 2008 10:46 AM, Rex Huang [EMAIL PROTECTED] wrote:
exec-maven-plugin is good, but in my case, the application also run javac
to generate jar file, and it use its classpath instead of dependency
should interest you:
http://mojo.codehaus.org/exec-maven-plugin/usage.html
Wayne
On 1/29/08, Rex Huang [EMAIL PROTECTED] wrote:
I just give mainclass and parameters information,
then maven runs the mainclass and use dependence artifact information as
classpath.
Can this work?
BR//Rex
the dependencies and some other files.
Maybe that is what you're looking for.
Hth,
Nick Stolwijk
[1] http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/
Rex Huang wrote:
I just give mainclass and parameters information,
then maven runs the mainclass and use dependence artifact
I want to generate a war file, the dependence jar files are needed to
package in it.
and also the class files in WEB-INF\classes, I want to package it in a jar
file.
all the jar files should be put in WEB-INF\lib.
Can I make it work?
BR//Rex
I just give mainclass and parameters information,
then maven runs the mainclass and use dependence artifact information as
classpath.
Can this work?
BR//Rex
the version, using
ClassLoader.getResourceAsStream(). Or you can create your own
properties file somewhere else and filter it, as suggested by
Heinrich.
Wayne
On 1/22/08, Heinrich Nirschl [EMAIL PROTECTED] wrote:
On Jan 22, 2008 5:38 PM, Rex Huang [EMAIL PROTECTED] wrote:
for example, I had
On Jan 28, 2008 2:22 PM, Rex Huang [EMAIL PROTECTED] wrote:
when I doing a migration project, I found that many places using filter
and replace to replace java in ant scripts, so It's necessary to have a
plugin to replace java code.
Does anyone knows how to do it?
BR//Rex
On Jan 22, 2008
I set artifact version using properties in pom file:
properties
product.version1.0-SNAPSHOT/product.version
/properties
modelVersion4.0.0/modelVersion
groupIdcom.mycompany.app/groupId
artifactIdmy-app/artifactId
packagingjar/packaging
version${product.version}/version
Multiple Module Projects as the link below:
http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
module1 dependent on core in guide-ide-eclipse project,
when I release guide-ide-eclipse 1.0, it will release module1 and core
but when building module1, it raise error:
[ERROR] BUILD
Multiple Module Projects as the link below:
http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
module1 dependent on core in guide-ide-eclipse project,
when I release guide-ide-eclipse 1.0, it will release module1 and core
but when building module1, it raise error:
[ERROR] BUILD
It works! thank you very much~ :D
Rex
On Jan 24, 2008 10:59 AM, Rémy Sanlaville [EMAIL PROTECTED] wrote:
Hi,
It's a well-known problem (cf. archives)
In situations like this it usually helps to run the prepare step with:
mvn *release*:prepare -DpreparationGoals=clean install
cf.
there are three modules A, B, C
A depends on B, B depends on C, C depends on A
To solve this problem, we can make one module use the old version build.
In maven, even I make one module dependency in old version build,
it still cause error.
[ERROR] BUILD FAILURE
[INFO] The projects in the reactor
there are three modules A, B, C
A depends on B, B depends on C, C depends on A
To solve this problem, we can make one module use the old version build.
In maven, even I make one module dependency in old version build,
it still cause error.
[ERROR] BUILD FAILURE
[INFO] The projects in the reactor
:
Add this to your filter.properties:
BUILDTIME=${buildNumber}
On Jan 21, 2008 9:10 AM, Rex Huang [EMAIL PROTECTED] wrote:
yah, use buildnumber-maven-plugin may be better.
one strange thing is I can't use ${buildNumber} in filter,
when I want to replace $BUILDTIME
I want to use filter to generate a src/main/resources/filter/hello.java
to replace the old one in src/main/java/com/my-company/hello.java
resource in pom.xml
resource
directorysrc/main/resources/filter//directory
filteringtrue/filtering
includes
I want to use filter to generate a src/main/resources/filter/hello.java
to replace the old one in src/main/java/com/my-company/hello.java
resource in pom.xml
resource
directorysrc/main/resources/filter//directory
filteringtrue/filtering
includes
I want to use filter to generate a src/main/resources/filter/hello.java
to replace the old one in src/main/java/com/my-company/hello.java
resource in pom.xml
resource
directorysrc/main/resources/filter//directory
filteringtrue/filtering
includes
Take out the properties from pom file is sensible, it make it easy to
configuration.
I don't know whether profile can do this.
Rex
On Jan 22, 2008 5:32 PM, Wayne Fay [EMAIL PROTECTED] wrote:
Yes, it is no longer available.
What is your use case? Most things can be handled with filters and/or
.
This is not easy to accomplish. Maybe you could first answer a question:
why are you trying to accomplish this?
Hth,
Nick Stolwijk
-Original Message-
From: Rex Huang [mailto:[EMAIL PROTECTED]
Sent: Tue 1/22/2008 4:21 PM
To: users@maven.apache.org
Subject: how to replace a java file
I
.
*http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html*
Regards,
Mark
Rex Huang wrote:
Does maven has build time property, which I can use in pom files
my-property${build time}my-property
BR//Rex
try to use Dependency Version Ranges
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
Rex
On Jan 21, 2008 8:49 AM, amit kumar [EMAIL PROTECTED] wrote:
I am using buildnumber plugin now to append timestamp to the builds.
But at continuous integration (
yah, use buildnumber-maven-plugin may be better.
one strange thing is I can't use ${buildNumber} in filter,
when I want to replace $BUILDTIME in the resource file.
such as:
in pom.xml
properties
BUILDTIME${buildNumber}/BUILDTIME
/properties
resource
Does maven has build time property, which I can use in pom files
my-property${build time}my-property
BR//Rex
by default in pom.xml there has properity name
such as:
modelVersion4.0.0/modelVersion
groupIdcom.mycompany.app/groupId
artifactIdmy-app/artifactId
packagingjar/packaging
version1.1-SNAPSHOT/version
namemy-app/name
and I use filtering like this:
build
but I need to use filtering in other files with other properties,
so filtering must be set to true, but name is set by default, I don't want
to use it as filter.
BR//Rex
2008/1/17 Jeff MAURY [EMAIL PROTECTED]:
Change filtering from true to false.
On Jan 17, 2008 12:03 PM, Rex Huang [EMAIL
MAURY [EMAIL PROTECTED]:
Either you change the name of the property in your file or use the
properties tag in your pom but I'm afraid it will affect Maven.
Jeff
2008/1/17 Rex Huang [EMAIL PROTECTED]:
but I need to use filtering in other files with other properties,
so filtering must
38 matches
Mail list logo