Comments (5)
Hello
You're right, I forgot that there is more than just the default lifecycle:
http://maven.apache.org/ref/3.0.4/maven-core/lifecycles.html#site_Lifecycle
In our case copying the file to /usr should probably go to the "site-deploy"
phase.
bye,
-christian-
On Fri, 22 Feb 2013 01:48:24 -0800
Thomas Hallgren [email protected] wrote:
The pom.xml file of the pljava-so project contains some code that performs a copy of the pljava.so into it's final destination in /usr/lib (or /usr/lib64). It executes during the deploy phase which is unfortunate since that phase normally uploads the artifact to its remote repository.
The declaration has been commented out (by me) since it prevents the actual deploy phase from performing the upload. It also required root privileges to run. We need to find an alternative approach to installing that file under /usr.
@tada/pl-java-contributors
Reply to this email directly or view it on GitHub:
#6
Network Engineering & Design; Content Delivery Platform & IP
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-8711 | Fax: 0221 2222-78711
www.netcologne.de
Geschäftsführer:
Dr. Hans Konle (Sprecher)
Dipl.-Ing. Karl-Heinz Zankel
HRB 25580, AG Köln
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese
Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch
Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu
löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer
Weise verwendet werden.
from pljava.
Hello,
First, thanks for getting this project updated. I'm trying to install on RHEL 6.3/postgresql 9.2.
I'm no maven expert but the site:site-deploy goal is for packaging and/or copying documentation generated by site:site. i.e it is not a place to emulate 'make install'.
I think it' s ok, and likely preferable, to leave this task out of the maven pom entirely. Maven builds and deploys the artifacts to a repository where some other toolchain can download and deploy them to a runtime system.
Maybe a related effort to build installation script(s) and/or packages would be useful? For instance, I tried my hand at a pljava-1.4.3 rpm package for postgresql 9.1 which worked nicely in my proscribed environment on AWS (meaning it would take some effort to make generally useful). It installed files, modified postgresql.conf, etc and included the bits needed to run CREATE EXTENSION.
--marty
from pljava.
We might indeed need site-deploy to update Javadoc and source code .zip files on our web page somewhen so maybe banning "make install" to an Ant build.xml is not the baddest idea.
from pljava.
"Maybe a related effort to build installation script(s) and/or packages would be useful?"
Yes, such an effort would indeed be very useful. Can you please open a separate issue for that where you outline what you think is needed?
from pljava.
yes, I will open an issue for installation-related discussion. I'm gathering initial thoughts now ...
from pljava.
Related Issues (20)
- Java 20 breaks `LexicalsTest.testSeparator` HOT 3
- "cannot parse AS string" for 1-letter identifiers HOT 1
- JSONB type mapping HOT 2
- wiki update: prebuilt docker images HOT 2
- Vulnerability scan: multiple issues HOT 12
- `NEWLINE` pattern can fail to match HOT 1
- wiki update: testcontainers magic HOT 2
- Error building against PostgreSQL 16 HOT 4
- Fails on s390x HOT 1
- Always prompts that the language pljava does not exist HOT 4
- Class Loading issue HOT 31
- Question: How to install Pl/Java into AWS RDS Postgres HOT 2
- Compilen error occuring while running mvn clean install HOT 2
- dependency not adding..issue in plugin HOT 1
- fatal error: postgres.h: No such file or directory HOT 2
- XML parsing errors reported as `XX000` when DOM API is used HOT 1
- Documentation comments for sandboxed and unsandboxed grants in pljava.policy inverted HOT 6
- Publish PlJava to a public Maven Repository HOT 2
- Unhelpful output when build fails because no platform rules matched HOT 10
- undefined symbol: GetMemoryChunkContext HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pljava.